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 10 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
 
80
 
81
 inoremap <C-Left> <C-P>
81
 inoremap <C-Left> <C-P>
82
 inoremap <C-Right> <C-N>
82
 inoremap <C-Right> <C-N>
83
+noremap p p`[
84
+noremap P P`[
83
 
85
 
84
 if has("autocmd")
86
 if has("autocmd")
85
   filetype plugin indent on
87
   filetype plugin indent on