Sync ideavimrc with new neovim config

main
Ensar Sarajčić 2022-04-30 13:06:20 +02:00
parent 65879501b3
commit 49b1a1085d
1 changed files with 20 additions and 17 deletions

View File

@ -11,24 +11,24 @@ set ideajoin
set idearefactormode=keep set idearefactormode=keep
" IdeaVIM mappings " IdeaVIM mappings
nnoremap [c :action VcsShowPrevChangeMarker<cr> nmap [c <Action>(VcsShowPrevChangeMarker)
nnoremap ]c :action VcsShowNextChangeMarker<cr> nmap ]c <Action>(VcsShowNextChangeMarker)
nnoremap <C-P> :action SearchEverywhere<CR> nmap <C-P> <Action>(SearchEverywhere)
nnoremap gd :action GotoDeclaration<CR> nmap gd <Action>(GotoDeclaration)
nnoremap gi :action GotoImplementation<CR> nmap gi <Action>(GotoImplementation)
nnoremap gr :action FindUsages<CR> nmap gr <Action>(FindUsages)
nnoremap <leader>rn :action RenameElement<CR> nmap <leader>rn <Action>(RenameElement)
nnoremap <C-A-F> :action FindInPath<CR> nmap <C-A-F> <Action>(FindInPath)
nnoremap <leader>tn :action RunAnything<CR> nmap <leader>tn <Action>(RunAnything)
nnoremap <leader>tf :action RunClass<CR> nmap <leader>tf <Action>(RunClass)
inoremap <C-K> <esc>:action ParameterInfo<CR>a imap <C-K> <Action>(ParameterInfo)
nnoremap <C-K> :action ParameterInfo<CR> nmap <C-K> <Action>(ParameterInfo)
nnoremap <leader>db :action ToggleLineBreakpoint<CR> nmap <leader>db <Action>(ToggleLineBreakpoint)
nnoremap <leader>dc :action ChooseDebugConfiguration<CR> nmap <leader>dc <Action>(ChooseDebugConfiguration)
nnoremap <leader>ac :action ShowIntentionActions<CR> nmap <leader>ac <Action>(ShowIntentionActions)
command! Start action Run command! Start action Run
if &ide =~? 'rider' if &ide =~? 'rider'
@ -40,11 +40,14 @@ command! Scratch action NewScratchBuffer
command! Ex NERDTree command! Ex NERDTree
command! Gw action Git.Add command! Gw action Git.Add
command! Ggpull action Git.Pull command! Ggpull action Git.Pull
command! Ggpush action Vcs.Push
command! Gdiffsplit action Git.CompareWithBranch command! Gdiffsplit action Git.CompareWithBranch
command! G action Git.Menu command! G action Git.Menu
command! Gpro action Github.Create.Pull.Request command! Gpro action Github.Create.Pull.Request
command! Gblame action Annotate command! Gblame action Annotate
command! TODO action ActivateTODOToolWindow command! TODO action ActivateTODOToolWindow
command! te action ActivateTerminalToolWindow command! Term action ActivateTerminalToolWindow
command! Sync action Android.SyncProject command! Sync action Android.SyncProject
command! Reformat action ReformatCode command! Format action ReformatCode
nmap <leader>tb <Action>(Annotate)