29 lines
736 B
Plaintext
29 lines
736 B
Plaintext
source ~/.vim/vimrc
|
|
source ~/.vim/plugins.vim
|
|
|
|
" IdeaVIM plugins
|
|
set surround
|
|
set commentary
|
|
|
|
" IdeaVIM settings
|
|
set ideajoin
|
|
set idearefactormode=keep
|
|
|
|
" IdeaVIM mappings
|
|
nnoremap <C-P> :action SearchEverywhere<CR>
|
|
nnoremap gd :action GotoDeclaration<CR>
|
|
nnoremap gi :action GotoImplementation<CR>
|
|
nnoremap gr :action FindUsages<CR>
|
|
nnoremap <leader>rn :action RenameElement<CR>
|
|
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>
|
|
|
|
nnoremap <leader>ac :action ShowIntentionActions<CR>
|
|
|
|
command! Start action Run
|
|
command! A action GotoTest
|
|
command! Scratch action NewScratchBuffer
|