X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=keymaps.vim;h=69799d1b8b9a9b5c7573191fec57337f9e9c9fa8;hb=7b6db222395eeac91fae9e07ba9327dd0cc45020;hp=256bfc27d15e59b9039b009fd53f04abfe2e0053;hpb=4e5b027e3e4ecb56cae5dce460fe4082a491abba;p=vimconf.git diff --git a/keymaps.vim b/keymaps.vim index 256bfc2..69799d1 100644 --- a/keymaps.vim +++ b/keymaps.vim @@ -6,8 +6,9 @@ if has('clipboard') " override plugin keymaps. autocmd VimEnter * vnoremap "+y autocmd VimEnter * vnoremap "+x + " Is performed by S+Ins "autocmd VimEnter * nnoremap "+p - autocmd VimEnter * inoremap + + "autocmd VimEnter * inoremap + endif " ctrl+d as EOF exits shells and the like. Add a keymap for the same here. @@ -55,10 +56,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()