This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 を使用する | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
半年間開催された記事のまとめ | |
記事を書いた回数ラインキング | |
紹介されたプラグイン一覧 | |
作成されたプラグイン一覧 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echom "hello, world" | |
function! s:func(a, b) | |
return a:a + a:b | |
endfunction | |
echom "3 + 2 = " . s:func(3, 2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var hljs=new function(){function l(o){return o.replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">")}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&& |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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))), '{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TOP絵は "@IMAGEDRIVE":https://twitter.com/IMAGEDRIVE さんに書いて頂きました。 | |
h2. Vim Advent Calendar 2012 は11月末で終了します! | |
既に残り30日ほどですがまだまだ書きたい人は募集中です! | |
何か書いてみたい事があれば今がチャンス! | |
また、 "Vim Advent Calendar 2013":http://atnd.org/events/45072 の募集も開始しました。 | |
気になる方はこちらにもご参加下さい。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|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| |