keymaps: Kill c-v for paste
[vimconf.git] / keymaps.vim
index 256bfc27d15e59b9039b009fd53f04abfe2e0053..69799d1b8b9a9b5c7573191fec57337f9e9c9fa8 100644 (file)
@@ -6,8 +6,9 @@ if has('clipboard')
     " override plugin keymaps.
     autocmd VimEnter * vnoremap <C-c> "+y
     autocmd VimEnter * vnoremap <C-x> "+x
+    " Is performed by S+Ins
     "autocmd VimEnter * nnoremap <C-v> "+p
-    autocmd VimEnter * inoremap <C-v> <c-r>+
+    "autocmd VimEnter * inoremap <C-v> <c-r>+
 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 <buffer> <F11> :call FSvsplit()<CR>
-" Terminal-based vi report S-F11 as F23
-au Filetype c,cpp,objc map <buffer> <S-F11> :FSHere<CR>
-au Filetype c,cpp,objc map <buffer> <F23> :FSHere<CR>
+au Filetype c,cpp,objc map <buffer> <F12> :call FSvsplit()<CR>
+" Terminal-based vi report S-F12 as F24
+au Filetype c,cpp,objc map <buffer> <S-F12> :FSHere<CR>
+au Filetype c,cpp,objc map <buffer> <F24> :FSHere<CR>
 
 au Filetype markdown map <buffer> <F5> :call RunMarkdown()<CR>
 au Filetype asciidoc map <buffer> <F5> :call RunAsciidoc()<CR>