Skip to content

Instantly share code, notes, and snippets.

@yukithm
Created December 18, 2019 00:43
Show Gist options
  • Save yukithm/eb7212cf2215cb7d5b0c43a7f4870a46 to your computer and use it in GitHub Desktop.
Save yukithm/eb7212cf2215cb7d5b0c43a7f4870a46 to your computer and use it in GitHub Desktop.
.ideavimrc
set surround
set hlsearch
set incsearch
set nowrapscan
set ignorecase
set smartcase
set keymodel=startsel,stopsel
nnoremap gr gT
nnoremap <C-l> :<C-u>nohlsearch<CR>
" nnoremap <C-r> :<C-u>action RunClass<CR>
nnoremap <Leader>r :<C-u>action RunClass<CR>
" nnoremap / :<C-u>action Find<CR>
" nnoremap n :<C-u>action FindNext<CR>
" nnoremap N :<C-u>action FindPrevious<CR>
inoremap <C-b> <Left>
inoremap <C-f> <Right>
inoremap <C-a> <Home>
inoremap <C-e> <End>
cnoremap <C-f> <Right>
cnoremap <C-b> <Left>
cnoremap <C-a> <C-b>
cnoremap <C-p> <Up>
cnoremap <C-n> <Down>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment