Skip to content

Instantly share code, notes, and snippets.

@yurfuwa-chan
Created January 30, 2013 13:56
Show Gist options
  • Save yurfuwa-chan/4673454 to your computer and use it in GitHub Desktop.
Save yurfuwa-chan/4673454 to your computer and use it in GitHub Desktop.
map
s <C-H> * a<BS>
n <C-K><C-W> * :call <SNR>70_GoDictWindow()<CR>
n <C-K><C-P> * :call <SNR>70_Search(g:dicwin_dictpath, 1)<CR>
n <C-K><C-N> * :call <SNR>70_Search(g:dicwin_dictpath, 0)<CR>
n <C-K><C-K> * :call <SNR>70_OpenDictionary(g:dicwin_dictpath, expand('<cword>'))<CR>
n <C-K>/ * :call <SNR>70_Query()<CR>
n <C-K>c * :call <SNR>70_Close()<CR>
n <C-K>w * :call <SNR>70_GoDictWindow()<CR>
n <C-K>p * :call <SNR>70_Search(g:dicwin_dictpath, 1)<CR>
n <C-K>n * :call <SNR>70_Search(g:dicwin_dictpath, 0)<CR>
n <C-K>k * :call <SNR>70_OpenDictionary(g:dicwin_dictpath, expand('<cword>'))<CR>
s <C-K> <Plug>(neosnippet_expand_or_jump)
s <CR> * a<BS>
n <C-W>/ * :<C-U>ToggleLocationListMode<CR>
n <C-W>0 * :<C-U>ToggleLocationListMode<CR>
n <C-W>. * :<C-U>MoveToQFixWin<CR>
n <C-W>, * :<C-U>ToggleQFixWin<CR>
x <C-Y>c <Plug>ZenCodingCodePretty
n <C-Y>A <Plug>ZenCodingAnchorizeSummary
n <C-Y>a <Plug>ZenCodingAnchorizeURL
n <C-Y>k <Plug>ZenCodingRemoveTag
n <C-Y>j <Plug>ZenCodingSplitJoinTagNormal
x <C-Y>m <Plug>ZenCodingMergeLines
n <C-Y>/ <Plug>ZenCodingToggleComment
n <C-Y>i <Plug>ZenCodingImageSize
n <C-Y>N <Plug>ZenCodingPrev
n <C-Y>n <Plug>ZenCodingNext
x <C-Y>D <Plug>ZenCodingBalanceTagOutwardVisual
n <C-Y>D <Plug>ZenCodingBalanceTagOutwardNormal
x <C-Y>d <Plug>ZenCodingBalanceTagInwardVisual
n <C-Y>d <Plug>ZenCodingBalanceTagInwardNormal
n <C-Y>, <Plug>ZenCodingExpandNormal
x <C-Y>, <Plug>ZenCodingExpandVisual
n <Esc><Esc> :nohlsearch<CR><Esc>
o % * v:<C-U>call <SNR>26_Match_wrapper('',1,'o') <CR>
x % * :<C-U>call <SNR>26_Match_wrapper('',1,'v') <CR>m'gv``
n % * :<C-U>call <SNR>26_Match_wrapper('',1,'n') <CR>
x ,cs <Plug>NERDCommenterSexy
x ,cu <Plug>NERDCommenterUncommentLine
n ,cu <Plug>NERDCommenterUncommentLine
x ,cc <Plug>NERDCommenterToggle
n ,cc <Plug>NERDCommenterToggle
n ,vsb * :<C-U>VimShellBufferDir -popup<CR>
n ,vsc * :<C-U>VimShellCurrentDir -popup<CR>
n ,vs * :<C-U>VimShellPop<CR>
n ,uvl * :<C-U>UniteVersions log:%<CR>
n ,uvs * :<C-U>UniteVersions status:!<CR>
n ,uv * :<C-U>UniteVersions<CR>
n ,um * :<C-U>Unite file_mru<CR>
n ,ur * :<C-U>Unite -buffer-name=register register<CR>
n ,uf * :<C-U>UniteWithBufferDir -buffer-name=files file<CR>
n ,ub * :<C-U>Unite buffer<CR>
n ,vfc * :<C-U>VimFilerCurrentDir -split -winwidth=45 -no-quit -toggle<CR>
n ,vf * :<C-U>VimFilerBufferDir -split -winwidth=45 -no-quit -toggle<CR>
noxQ gq
x S <Plug>VSurround
o [% * v:<C-U>call <SNR>26_MultiMatch("bW", "o") <CR>
x [% <Esc>[%m'gv``
n [% * :<C-U>call <SNR>26_MultiMatch("bW", "n") <CR>
n \ig <Plug>IndentGuidesToggle
o ]% * v:<C-U>call <SNR>26_MultiMatch("W", "o") <CR>
x ]% <Esc>]%m'gv``
n ]% * :<C-U>call <SNR>26_MultiMatch("W", "n") <CR>
x a% <Esc>[%v]%
n cs <Plug>Csurround
n ds <Plug>Dsurround
x gZZ * <C-\><C-N>:call <SNR>71_HzjaConvertVisual('zen_kana')<CR>
x gHH * <C-\><C-N>:call <SNR>71_HzjaConvertVisual('han_ascii')<CR>
x gZJ * <C-\><C-N>:call <SNR>71_HzjaConvertVisual('zen_kana')<CR>
x gHJ * <C-\><C-N>:call <SNR>71_HzjaConvertVisual('han_kana')<CR>
x gZW * <C-\><C-N>:call <SNR>71_HzjaConvertVisual('zen_eisu')<CR>
x gHW * <C-\><C-N>:call <SNR>71_HzjaConvertVisual('han_eisu')<CR>
x gZM * <C-\><C-N>:call <SNR>71_HzjaConvertVisual('zen_kigou')<CR>
x gHM * <C-\><C-N>:call <SNR>71_HzjaConvertVisual('han_kigou')<CR>
x gZA * <C-\><C-N>:call <SNR>71_HzjaConvertVisual('zen_ascii')<CR>
x gHA * <C-\><C-N>:call <SNR>71_HzjaConvertVisual('han_ascii')<CR>
x gZL * <C-\><C-N>:call <SNR>71_HzjaConvertVisual('zen_all')<CR>
x gHL * <C-\><C-N>:call <SNR>71_HzjaConvertVisual('han_all')<CR>
n gx <Plug>NetrwBrowseX
x gS <Plug>VgSurround
n g,H * :<C-U>call <SNR>51_help()<CR>
n g,k * :MyGrepReadResult<CR>|:call QFixCopen()<CR>
x g,V * :<C-U>call <SNR>51_QFGrep("VimgrepaddV")<CR>
n g,V * :<C-U>call <SNR>51_QFGrep("Vimgrepadd")<CR>
x g,rF * :<C-U>call <SNR>51_QFGrep("RFGrepaddV")<CR>
n g,rF * :<C-U>call <SNR>51_QFGrep("RFGrepadd")<CR>
x g,rE * :<C-U>call <SNR>51_QFGrep("RGrepaddV")<CR>
n g,rE * :<C-U>call <SNR>51_QFGrep("RGrepadd")<CR>
x g,F * :<C-U>call <SNR>51_QFGrep("FGrepaddV")<CR>
n g,F * :<C-U>call <SNR>51_QFGrep("FGrepadd")<CR>
x g,E * :<C-U>call <SNR>51_QFGrep("GrepaddV")<CR>
n g,E * :<C-U>call <SNR>51_QFGrep("Grepadd")<CR>
x g,B * :<C-U>call <SNR>51_BGrep("", -1, 0)<CR>
n g,B * :<C-U>call <SNR>51_BGrep("", 0, 0)<CR>
n g,rM * :<C-U>ToggleGrepRecursiveMode<CR>
n g,rG * :<C-U>call <SNR>51_SetFileEncoding()<CR>
n g,rD * :<C-U>ToggleGrepCurrentDirMode<CR>
x g,v * :<C-U>call <SNR>51_QFGrep("VimgrepV")<CR>
n g,v * :<C-U>call <SNR>51_QFGrep("Vimgrep")<CR>
x g,rf * :<C-U>call <SNR>51_QFGrep("RFGrepV")<CR>
n g,rf * :<C-U>call <SNR>51_QFGrep("RFGrep")<CR>
x g,re * :<C-U>call <SNR>51_QFGrep("RGrepV")<CR>
n g,re * :<C-U>call <SNR>51_QFGrep("RGrep")<CR>
x g,f * :<C-U>call <SNR>51_QFGrep("FGrepV")<CR>
n g,f * :<C-U>call <SNR>51_QFGrep("FGrep")<CR>
x g,e * :<C-U>call <SNR>51_QFGrep("GrepV")<CR>
n g,e * :<C-U>call <SNR>51_QFGrep("Grep")<CR>
x g,b * :<C-U>call <SNR>51_BGrep("", -1, 0)<CR>
n g,b * :<C-U>call <SNR>51_BGrep("", 0, 0)<CR>
o g% * v:<C-U>call <SNR>26_Match_wrapper('',0,'o') <CR>
x g% * :<C-U>call <SNR>26_Match_wrapper('',0,'v') <CR>m'gv``
n g% * :<C-U>call <SNR>26_Match_wrapper('',0,'n') <CR>
n ySS <Plug>YSsurround
n ySs <Plug>YSsurround
n yss <Plug>Yssurround
n yS <Plug>YSurround
n ys <Plug>Ysurround
s <Left> * <Esc>bi
s <Right> * <Esc>a
s <Del> * a<BS>
s <BS> * a<BS>
x <Plug>ZenCodingCodePretty * :call zencoding#codePretty()<CR>
n <Plug>ZenCodingAnchorizeSummary * :call zencoding#anchorizeURL(1)<CR>
n <Plug>ZenCodingAnchorizeURL * :call zencoding#anchorizeURL(0)<CR>
n <Plug>ZenCodingRemoveTag * :call zencoding#removeTag()<CR>
n <Plug>ZenCodingSplitJoinTagNormal * :call zencoding#splitJoinTag()<CR>
x <Plug>ZenCodingMergeLines * :call zencoding#mergeLines()<CR>
n <Plug>ZenCodingToggleComment * :call zencoding#toggleComment()<CR>
n <Plug>ZenCodingImageSize * :call zencoding#imageSize()<CR>
n <Plug>ZenCodingPrev * :call zencoding#moveNextPrev(1)<CR>
n <Plug>ZenCodingNext * :call zencoding#moveNextPrev(0)<CR>
x <Plug>ZenCodingBalanceTagOutwardVisual * :call zencoding#balanceTag(-2)<CR>
n <Plug>ZenCodingBalanceTagOutwardNormal * :call zencoding#balanceTag(-1)<CR>
x <Plug>ZenCodingBalanceTagInwardVisual * :call zencoding#balanceTag(2)<CR>
n <Plug>ZenCodingBalanceTagInwardNormal * :call zencoding#balanceTag(1)<CR>
n <Plug>ZenCodingExpandWord * :call zencoding#expandAbbr(1,"")<CR>
n <Plug>ZenCodingExpandNormal * :call zencoding#expandAbbr(3,"")<CR>
x <Plug>ZenCodingExpandVisual * :call zencoding#expandAbbr(2,"")<CR>
n <Plug>NetrwBrowseX * :call netrw#NetrwBrowseX(expand("<cWORD>"),0)<CR>
x <Plug>VgSurround * :<C-U>call <SNR>55_opfunc(visualmode(),visualmode() ==# 'V' ? 0 : 1)<CR>
x <Plug>VSurround * :<C-U>call <SNR>55_opfunc(visualmode(),visualmode() ==# 'V' ? 1 : 0)<CR>
n <Plug>YSurround * :<C-U>set opfunc=<SNR>55_opfunc2<CR>g@
n <Plug>Ysurround * :<C-U>set opfunc=<SNR>55_opfunc<CR>g@
n <Plug>YSsurround * :<C-U>call <SNR>55_opfunc2(v:count1)<CR>
n <Plug>Yssurround * :<C-U>call <SNR>55_opfunc(v:count1)<CR>
n <Plug>Csurround * :<C-U>call <SNR>55_changesurround()<CR>
n <Plug>Dsurround * :<C-U>call <SNR>55_dosurround(<SNR>55_inputtarget())<CR>
n <Plug>SurroundRepeat * .
n <Plug>NERDCommenterAltDelims * :call <SNR>54_SwitchToAlternativeDelimiters(1)<CR>
x <Plug>NERDCommenterUncomment * :call NERDComment("x", "Uncomment")<CR>
n <Plug>NERDCommenterUncomment * :call NERDComment("n", "Uncomment")<CR>
x <Plug>NERDCommenterAlignBoth * :call NERDComment("x", "AlignBoth")<CR>
n <Plug>NERDCommenterAlignBoth * :call NERDComment("n", "AlignBoth")<CR>
x <Plug>NERDCommenterAlignLeft * :call NERDComment("x", "AlignLeft")<CR>
n <Plug>NERDCommenterAlignLeft * :call NERDComment("n", "AlignLeft")<CR>
n <Plug>NERDCommenterAppend * :call NERDComment("n", "Append")<CR>
x <Plug>NERDCommenterYank * :call NERDComment("x", "Yank")<CR>
n <Plug>NERDCommenterYank * :call NERDComment("n", "Yank")<CR>
x <Plug>NERDCommenterSexy * :call NERDComment("x", "Sexy")<CR>
n <Plug>NERDCommenterSexy * :call NERDComment("n", "Sexy")<CR>
x <Plug>NERDCommenterInvert * :call NERDComment("x", "Invert")<CR>
n <Plug>NERDCommenterInvert * :call NERDComment("n", "Invert")<CR>
n <Plug>NERDCommenterToEOL * :call NERDComment("n", "ToEOL")<CR>
x <Plug>NERDCommenterNested * :call NERDComment("x", "Nested")<CR>
n <Plug>NERDCommenterNested * :call NERDComment("n", "Nested")<CR>
x <Plug>NERDCommenterMinimal * :call NERDComment("x", "Minimal")<CR>
n <Plug>NERDCommenterMinimal * :call NERDComment("n", "Minimal")<CR>
x <Plug>NERDCommenterToggle * :call NERDComment("x", "Toggle")<CR>
n <Plug>NERDCommenterToggle * :call NERDComment("n", "Toggle")<CR>
x <Plug>NERDCommenterComment * :call NERDComment("x", "Comment")<CR>
n <Plug>NERDCommenterComment * :call NERDComment("n", "Comment")<CR>
n <Plug>(vimshell_create) * :<C-U>VimShellCreate<CR>
n <Plug>(vimshell_switch) * :<C-U>VimShell<CR>
n <Plug>(vimshell_split_create) * :<C-U>call <SNR>50_call_vimshell({'split' : 1, 'create' : 1}, '')<CR>
n <Plug>(vimshell_split_switch) * :<C-U>call <SNR>50_call_vimshell({'split' : 1}, '')<CR>
n <Plug>(vimfiler_simple) * :<C-U>VimFilerSimple<CR>
n <Plug>(vimfiler_create) * :<C-U>VimFilerCreate<CR>
n <Plug>(vimfiler_switch) * :<C-U>VimFiler<CR>
n <Plug>(vimfiler_split_create) * :<C-U>VimFilerSplit<CR>
n <Plug>(vimfiler_split_switch) * :<C-U><SNR>39_call_vimfiler({ 'split' : 1 }, '')<CR>
x <Plug>(neosnippet_register_oneshot_snippet) * :<C-U>call neosnippet#register_oneshot_snippet()<CR>
x <Plug>(neosnippet_start_unite_snippet_target) * unite#sources#snippet_target#start()
x <Plug>(neosnippet_expand_target) * :<C-U>call neosnippet#expand_target()<CR>
x <Plug>(neosnippet_get_selected_text) * :call neosnippet#get_selected_text(visualmode(), 1)<CR>
s <Plug>(neosnippet_jump) * neosnippet#jump_impl()
s <Plug>(neosnippet_expand) * neosnippet#expand_impl()
s <Plug>(neosnippet_jump_or_expand) * neosnippet#jump_or_expand_impl()
s <Plug>(neosnippet_expand_or_jump) * neosnippet#expand_or_jump_impl()
s <Plug>(neocomplcache_snippets_force_jump) <Plug>(neosnippet_jump)
s <Plug>(neocomplcache_snippets_force_expand) <Plug>(neosnippet_expand)
s <Plug>(neocomplcache_snippets_jump) <Plug>(neosnippet_expand_or_jump)
s <Plug>(neocomplcache_snippets_expand) <Plug>(neosnippet_expand_or_jump)
n <Plug>IndentGuidesDisable & :IndentGuidesDisable<CR>
n <Plug>IndentGuidesEnable & :IndentGuidesEnable<CR>
n <Plug>IndentGuidesToggle & :IndentGuidesToggle<CR>
x <BS> "-d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment