diff --git a/vimrc b/vimrc index 8ab6956..72aca40 100644 --- a/vimrc +++ b/vimrc @@ -393,12 +393,16 @@ map map m :vsplit map mm :split +" Delete a word forward and backward +map a daw +map d ciw + " Map paste and nonumber map p :set paste! paste? map o :set number! number? " Spell checking -map d :exec &spell==&spell? "se spell! spelllang=en_us" : "se spell!" +map j :exec &spell==&spell? "se spell! spelllang=en_us" : "se spell!" map = z= " Clear the search buffer (highlighting) when hitting return @@ -408,6 +412,9 @@ endfunction call MapCR() nnoremap +" Replace currently selected text with default register without yanking it +vnoremap p "_dP + """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " ABBREVIATIONS