1
0
mirror of https://github.com/amix/vimrc synced 2025-07-12 14:15:00 +08:00

changed easymotion mappings

This commit is contained in:
Caleb Taylor
2019-08-08 05:29:33 -07:00
parent 1fde665ede
commit d9a59e83c7
3 changed files with 4 additions and 32 deletions

View File

@ -211,9 +211,6 @@ vnoremap <silent> # :<C-u>call VisualSelection('', '')<CR>?<C-R>=@/<CR><CR>
map j gj
map k gk
" Map <Space> to / (search) and Ctrl-<Space> to ? (backwards search)
map <space> /
map <c-space> ?
" Disable highlight when <leader><cr> is pressed
map <silent> <leader><cr> :noh<cr>
@ -294,7 +291,7 @@ map H ^
map L $
" Clears highlighting
map <C-n> :noh<return>
map <C-n> :noh<cr>
" Replace word by occurence, press '.' to move to the next occurence which auto replaces with new word. I use it to rename variables. So far I haven't found a mapping that does it by scope reliably like vscode.
nnoremap gr *``cgn