Skip to content

Instantly share code, notes, and snippets.

Copyright Just Use Sublime Text - Andrew Ray's Github Blog
http://delvarworld.github.com/blog/2013/03/16/just-use-sublime-text/
Just Use Sublime Text
ただちに Sublime Text を使用する
@osyo-manga
osyo-manga / gist:5652112
Last active December 17, 2015 18:18
Vim Advent Calendar 中間発表
半年間開催された記事のまとめ
記事を書いた回数ラインキング
紹介されたプラグイン一覧
作成されたプラグイン一覧
@osyo-manga
osyo-manga / gist:5731547
Last active December 18, 2015 05:19 — forked from deris/gist:5730298
function! s:fix_number(pattern, ...)
if a:0 > 2
return
endif
let s:start = get(a:, 1, get(g:, 'fix_number_default_start', 0))
let s:step = get(a:, 2, get(g:, 'fix_number_default_step', 1))
let pattern = empty(a:pattern) ? get(g, 'fix_number_default_pattern', '\(\d\+\)') : a:pattern
echom "hello, world"
function! s:func(a, b)
return a:a + a:b
endfunction
echom "3 + 2 = " . s:func(3, 2)
augroup Network
autocmd!
augroup END
augroup test
autocmd!
autocmd SourceCmd https://* call s:source_web_file(substitute(expand("<afile>"), '\\', '/', 'g'))
autocmd SourceCmd http://* call s:source_web_file(substitute(expand("<afile>"), '\\', '/', 'g'))
augroup END
var hljs=new function(){function l(o){return o.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;")}function b(p){for(var o=p.firstChild;o;o=o.nextSibling){if(o.nodeName=="CODE"){return o}if(!(o.nodeType==3&&o.nodeValue.match(/\s+/))){break}}}function h(p,o){return Array.prototype.map.call(p.childNodes,function(q){if(q.nodeType==3){return o?q.nodeValue.replace(/\n/g,""):q.nodeValue}if(q.nodeName=="BR"){return"\n"}return h(q,o)}).join("")}function a(q){var p=(q.className+" "+q.parentNode.className).split(/\s+/);p=p.map(function(r){return r.replace(/^language-/,"")});for(var o=0;o<p.length;o++){if(e[p[o]]||p[o]=="no-highlight"){return p[o]}}}function c(q){var o=[];(function p(r,s){for(var t=r.firstChild;t;t=t.nextSibling){if(t.nodeType==3){s+=t.nodeValue.length}else{if(t.nodeName=="BR"){s+=1}else{if(t.nodeType==1){o.push({event:"start",offset:s,node:t});s=p(t,s);o.push({event:"stop",offset:s,node:t})}}}}return s})(q,0);return o}function j(x,v,w){var p=0;var y="";var r=[];function t(){if(x.length&&
let s:source = {
\ "name" : "vimmer_karuta",
\}
function! s:source.gather_candidates(args, context)
if !exists("s:karuta_cache")
let s:karuta_cache = webapi#json#decode(webapi#http#get("http://mattn.tonic-water.com/vim-karuta/json").content)
endif
return map(sort(items(deepcopy(s:karuta_cache))), '{
TOP絵は "@IMAGEDRIVE":https://twitter.com/IMAGEDRIVE さんに書いて頂きました。
h2. Vim Advent Calendar 2012 は11月末で終了します!
既に残り30日ほどですがまだまだ書きたい人は募集中です!
何か書いてみたい事があれば今がチャンス!
また、 "Vim Advent Calendar 2013":http://atnd.org/events/45072 の募集も開始しました。
気になる方はこちらにもご参加下さい。
@osyo-manga
osyo-manga / main.vim
Last active January 4, 2016 07:19
ProcessManager Performance
command! -bar TimerStart let start_time = reltime()
command! -bar TimerEnd echo reltimestr(reltime(start_time)) | unlet start_time
command! -nargs=1 Timer
\ TimerStart
\| call eval(chained#script_function_to_function_symbol(<q-args>, chained#SNR()))
\| TimerEnd
let s:P = vital#of("vital").import("ProcessManager")
@osyo-manga
osyo-manga / gist:10577789
Last active August 29, 2015 13:59
VAC2011
|001|12/01(木)|@manga_osyo|"Vim の開発環境":http://d.hatena.ne.jp/osyo-manga/20111201/1322665228|
|002|12/02(金)|@mattn_jp|"モテる男のVim Script短期集中講座":http://mattn.kaoriya.net/software/vim/20111202085236.htm|
|003|12/03(土)|@ShougoMatsu|"Vimと過ごすイチャラブクリスマス ~そして伝説へ~":http://vinarian.blogspot.com/2011/12/vim.html|
|004|12/04(日)|@thinca|"'tabline' を活用しよう":http://d.hatena.ne.jp/thinca/20111204/1322932585|
|005|12/05(月)|@h1mesuke|"word の中の単語を選択する textobj-wiw を書いた":http://d.hatena.ne.jp/h1mesuke/20111205/p1|
|006|12/06(火)|@hell2u|"たった一行で人生が変わった.vimrcでの設定とその意味":http://hail2u.net/blog/software/only-one-line-life-changing-vimrc-setting.html|
|007|12/07(水)|@aizen76|"Modern Vim Life!":http://d.hatena.ne.jp/alwei/20111206/1323187998|
|008|12/08(木)|@__papix__|"初心者がオススメする初心者でも安心なVimプラグイン集":http://papix.hateblo.jp/entry/2011/12/08/130431|
|009|12/09(金)|@kaoriya|"nyancat.vimの裏話":http://www.kaoriya.net/blog/201112/20111209|
|010|12/10(土)|@choplin|"VimとKinesisの話":http://choplin.hatenablog.com/entry/2011/12/10/222645|