hirokisan / dotfiles

0 stars 0 forks source link

adjust #11

Closed hirokisan closed 4 years ago

hirokisan commented 4 years ago

later add this to .vimrc

" n: forward, N: backward
nnoremap <expr> n 'Nn'[v:searchforward]
nnoremap <expr> N 'nN'[v:searchforward]

" only highlight without moving
nnoremap # :keepjumps normal! mi#`i<CR>