xx will delete the line without copying it into the default register

This commit is contained in:
nojhan 2011-11-22 11:08:44 +01:00
commit ab008ec575

3
.vimrc
View file

@ -40,6 +40,9 @@ set cursorline
let mapleader = "," " leader key is comma let mapleader = "," " leader key is comma
" xx will delete the line without copying it into the default register
nnoremap xx "_dd
" ,v will reselect the text that was just pasted " ,v will reselect the text that was just pasted
nnoremap <leader>v V`] nnoremap <leader>v V`]