2021-01-07 08:09:41 +00:00
|
|
|
source ~/.vim/vimrc
|
|
|
|
source ~/.vim/plugins.vim
|
|
|
|
|
|
|
|
" IdeaVIM plugins
|
|
|
|
set surround
|
|
|
|
set commentary
|
|
|
|
|
|
|
|
" IdeaVIM settings
|
|
|
|
set ideajoin
|
|
|
|
set idearefactormode=keep
|
|
|
|
|
|
|
|
" IdeaVIM mappings
|
2021-03-09 17:39:56 +00:00
|
|
|
nnoremap [c :action VcsShowPrevChangeMarker<cr>
|
|
|
|
nnoremap ]c :action VcsShowNextChangeMarker<cr>
|
|
|
|
|
2021-03-04 15:18:01 +00:00
|
|
|
nnoremap <C-P> :action SearchEverywhere<CR>
|
2021-01-07 08:09:41 +00:00
|
|
|
nnoremap gd :action GotoDeclaration<CR>
|
|
|
|
nnoremap gi :action GotoImplementation<CR>
|
|
|
|
nnoremap gr :action FindUsages<CR>
|
|
|
|
nnoremap <leader>rn :action RenameElement<CR>
|
2021-03-04 15:18:01 +00:00
|
|
|
nnoremap <C-A-F> :action FindInPath<CR>
|
|
|
|
nnoremap <leader>tn :action RunAnything<CR>
|
|
|
|
nnoremap <leader>tf :action RunClass<CR>
|
|
|
|
inoremap <C-K> :action ParameterInfo<CR>
|
|
|
|
nnoremap <C-K> :action ParameterInfo<CR>
|
2021-01-07 08:09:41 +00:00
|
|
|
|
2021-03-09 17:39:56 +00:00
|
|
|
nnoremap <leader>db :action ToggleLineBreakpoint<CR>
|
|
|
|
nnoremap <leader>dc :action ChooseDebugConfiguration<CR>
|
|
|
|
|
2021-01-07 08:09:41 +00:00
|
|
|
nnoremap <leader>ac :action ShowIntentionActions<CR>
|
2021-01-22 16:07:10 +00:00
|
|
|
|
|
|
|
command! Start action Run
|
|
|
|
command! A action GotoTest
|
2021-03-04 15:18:01 +00:00
|
|
|
command! Scratch action NewScratchBuffer
|