Search-related bindings

89ee9efb1fb17b28d7757d821effa533f8b34bf4
Alexis Sellier committed ago 1 parent 9fbe9bca
.vimrc +5 -0
131 131
noremap <C-h> ^
132 132
noremap <C-l> $
133 133
noremap j gj
134 134
noremap k gk
135 135
136 +
" Like '*' but stays on the original word
137 +
nnoremap <C-n> *N
138 +
nnoremap <C-N> :nohl<CR>
139 +
nnoremap c*    *Ncgn
140 +
136 141
" Remap arrow keys to something useful
137 142
nnoremap <left>  :cprev<CR>
138 143
nnoremap <right> :cnext<CR>
139 144
nnoremap <up>    :bprev<CR>
140 145
nnoremap <down>  :bnext<CR>