Explorar el Código

Use less "invasive" pasting in Vim

(Return cursor after pasting; not sure how well it works for lines but
it's ok for chars.)
Alois Mahdal hace 9 años
padre
commit
ebff64d47b
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      dotfiles/vim/vimrc

+ 2
- 0
dotfiles/vim/vimrc Ver fichero

@@ -80,6 +80,8 @@ set tabstop=4
80 80
 
81 81
 inoremap <C-Left> <C-P>
82 82
 inoremap <C-Right> <C-N>
83
+noremap p p`[
84
+noremap P P`[
83 85
 
84 86
 if has("autocmd")
85 87
   filetype plugin indent on