mirror of
https://github.com/amix/vimrc
synced 2025-07-12 14:15:00 +08:00
changed easymotion mappings
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user