Skip to content

Instantly share code, notes, and snippets.

@pyeprog
Last active May 8, 2019 02:37
Show Gist options
  • Save pyeprog/ee969fd745f48d68843c78c6f97b58cc to your computer and use it in GitHub Desktop.
Save pyeprog/ee969fd745f48d68843c78c6f97b58cc to your computer and use it in GitHub Desktop.
ideavim rc file
set surround
set clipboard+=unnamed
set incsearch hlsearch
set ignorecase smartcase
set autoread
set wildmenu
set scrolloff=3
set autoindent
set noerrorbells
set novisualbell
set mousehide
let mapleader=' '
map <leader><leader>s :action AceAction<cr>
map <leader><leader>v :action AceTargetAction<cr>
map <leader><leader>g :action AceLineAction<cr>
nnoremap <leader><leader>d :action Debug<cr>
nnoremap <leader><leader>r :action Run<cr>
nnoremap <leader>ff :action FindInPath<cr>
nnoremap <leader>su :action ShowUsages<cr>
nnoremap <leader>bb :action ToggleLineBreakpoint<cr>
nnoremap <leader>br :action ViewBreakpoints<cr>
nnoremap <leader>ic :action InspectCode<cr>
nnoremap <leader>oi :action OptimizeImports<cr>
nnoremap <leader>rn :action RenameElement<cr>
nnoremap <leader>== :action ReformatCode<cr>
nnoremap <leader>bl :action Annotate<cr>
nnoremap <leader>tt :action ActivateTerminalToolWindow<cr>
nnoremap <C-]> :action GotoImplementation<cr>
nnoremap <C-o> :action Back<cr>
nnoremap <C-i> :action Forward<cr>
nnoremap <right> gt
nnoremap <left> gT
@pyeprog
Copy link
Author

pyeprog commented Apr 18, 2019

set c-n and c-p for down and up, set c-o and c-i for nagivating backward and forward. Change these settings in keymap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment