Skip to content

Commit

Permalink
Update ideavimrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Rypac committed Aug 6, 2024
1 parent 68908cc commit b240e62
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions ideavim/ideavimrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,17 @@ set textobj-entire
" Keybindings
let mapleader=" "

noremap <C-[> <esc>
nnoremap <silent> <C-l> :nohlsearch<cr><C-l>
map <C-[> <Esc>

nnoremap <silent> <Esc> :nohlsearch<CR><Esc>
nnoremap <silent> <C-l> :nohlsearch<CR><C-l>

nmap <C-j> <Action>(MoveStatementDown)
vmap <C-j> <Action>(MoveStatementDown)
xmap <C-j> <Action>(MoveStatementDown)
nmap <C-k> <Action>(MoveStatementUp)
vmap <C-k> <Action>(MoveStatementUp)
xmap <C-k> <Action>(MoveStatementUp)

nma <C-n> <Plug>NextWholeOccurrence
nmap <C-n> <Plug>NextWholeOccurrence
xmap <C-n> <Plug>NextWholeOccurrence
nmap g<C-n> <Plug>NextOccurrence
xmap g<C-n> <Plug>NextOccurrence
Expand Down

0 comments on commit b240e62

Please sign in to comment.