Add y/p key more flexible for multiple lines copy/paste.
From http://sheerun.net/2014/03/21/how-to-boost-your-vim-productivity/.
This commit is contained in:
@@ -39,8 +39,11 @@ highlight Search cterm=none ctermbg=blue
|
|||||||
nmap <Esc>[Z <C-w>W
|
nmap <Esc>[Z <C-w>W
|
||||||
nmap <F8> :TagbarToggle<CR>
|
nmap <F8> :TagbarToggle<CR>
|
||||||
nmap <Tab> <C-w>w
|
nmap <Tab> <C-w>w
|
||||||
|
nnoremap <silent> p p`]
|
||||||
vmap <C-v> <Plug>(expand_region_shrink)
|
vmap <C-v> <Plug>(expand_region_shrink)
|
||||||
vmap v <Plug>(expand_region_expand)
|
vmap v <Plug>(expand_region_expand)
|
||||||
|
vnoremap <silent> p p`]
|
||||||
|
vnoremap <silent> y y`]
|
||||||
"
|
"
|
||||||
filetype off
|
filetype off
|
||||||
set rtp+=~/.vim/bundle/vundle/
|
set rtp+=~/.vim/bundle/vundle/
|
||||||
|
|||||||
Reference in New Issue
Block a user