X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=keymaps.vim;h=234ee91746f3b735ce918958f0c793f5feec912d;hb=3aa781b69d23148ffd47b6b468f0aeec92dc800e;hp=d9356db44d5cea76b85299f44ff34956c15adff2;hpb=a3115572c519b5aea23cfa29690cead4c62b903a;p=vimconf.git diff --git a/keymaps.vim b/keymaps.vim index d9356db..234ee91 100644 --- a/keymaps.vim +++ b/keymaps.vim @@ -10,6 +10,9 @@ if has('clipboard') autocmd VimEnter * inoremap + endif +" ctrl+d as EOF exits shells and the like. Add a keymap for the same here. +nnoremap :q + nnoremap :Denite file/rec nnoremap / :Denite grep:. nnoremap s :Denite buffer @@ -52,10 +55,10 @@ function FSvsplit() execute ':FSHere' endfunction -au Filetype c,cpp,objc map :call FSvsplit() -" Terminal-based vi report S-F11 as F23 -au Filetype c,cpp,objc map :FSHere -au Filetype c,cpp,objc map :FSHere +au Filetype c,cpp,objc map :call FSvsplit() +" Terminal-based vi report S-F12 as F24 +au Filetype c,cpp,objc map :FSHere +au Filetype c,cpp,objc map :FSHere au Filetype markdown map :call RunMarkdown() au Filetype asciidoc map :call RunAsciidoc()