commit ed5fc1b45235085fb68174148c3a0371d5172ce5 (patch) parent a99c5b28db4493a8366dc1aa0b885a0d68050b7f Author: Alexander Karle <akarle@umass.edu> Date: Sat, 21 Jul 2018 22:30:12 -0400 Add more vim normal mode mappings Diffstat:
M | vim/vimrc | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/vim/vimrc b/vim/vimrc @@ -254,4 +254,13 @@ nnoremap <LEFT> :cprev<CR> nnoremap <RIGHT> :cnext<CR> nnoremap <UP> :prev<CR> nnoremap <DOWN> :next<CR> + +" Clear that highlight! +nnoremap <BS> :nohlsearch<CR> + +" Get greppin quick! +nnoremap <leader>g :grep<space> + +" Toggle whitespace +nnoremap <leader>w :set list!<CR> " }}}