28 lines
No EOL
901 B
Text
28 lines
No EOL
901 B
Text
" load system vim config
|
|
source ~/.vimrc
|
|
set ideajoin
|
|
" .ideavimrc is a configuration file for IdeaVim plugin. It uses
|
|
" the same commands as the original .vimrc configuration.
|
|
" You can find a list of commands here: https://jb.gg/h38q75
|
|
" Find more examples here: https://jb.gg/share-ideavimrc
|
|
|
|
|
|
" Don't use Ex mode, use Q for formatting.
|
|
map Q gq
|
|
|
|
"" -- Map IDE actions to IdeaVim -- https://jb.gg/abva4t
|
|
"" Map \r to the Reformat Code action
|
|
"" map \r <Action>(ReformatCode)
|
|
|
|
"" Map <leader>d to start debug
|
|
"map <leader>d <Action>(Debug)
|
|
|
|
"" Map \b to toggle the breakpoint on the current line
|
|
"map \b <Action>(ToggleLineBreakpoint)
|
|
""
|
|
map <leader>nf <Action>(NewFile)
|
|
map <leader>nd <Action>(NewDir)
|
|
map <leader>tt <Action>(ActivateTerminalToolWindow)
|
|
map <leader>rr <Action>(IdeaVim.ReloadVimRc.reload)
|
|
map <leader>go <Action>(GotoDeclaration)
|
|
map <leader>ru <Action>(runShellFileAction) |