Compare commits

...
2 Commits
Author SHA1 Message Date
chylex 0c2918c61e Update .ideavimrc (add bindings to close current tab) 2026-09-14 09:29:20 +02:00
chylex 3993a48bd6 Update .ideavimrc (fix formatting) 2026-09-14 09:28:53 +02:00
+4 -2
View File
@@ -242,6 +242,8 @@ map <C-w>u <Action>(Unsplit)
map <C-w>U <Action>(UnsplitAll)
map <C-w>v <Action>(MoveTabRight)
map <C-w>p <Action>(PinActiveEditorTab)
map <C-w>c <Action>(CloseContent)
map <C-w>& <Action>(CloseContent)
noremap <C-w>S <C-w>s
noremap <C-w>V <C-w>v
@@ -264,8 +266,8 @@ nnoremap Z z
" Repurpose 'Enter' for statement completion ('isactionenabled' requires a custom version of IdeaVIM)
nmap <Enter> <Action>(EditorCompleteStatement)
imap <expr> <C-Enter> isactionenabled('Console.Jdbc.Execute')? '<Action>(Console.Jdbc.Execute)' : '<Action>(EditorCompleteStatement)'
imap <expr> <D-Enter> isactionenabled('Console.Jdbc.Execute')? '<Action>(Console.Jdbc.Execute)' : '<Action>(EditorCompleteStatement)'
imap <expr> <C-Enter> isactionenabled('Console.Jdbc.Execute') ? '<Action>(Console.Jdbc.Execute)' : '<Action>(EditorCompleteStatement)'
imap <expr> <D-Enter> isactionenabled('Console.Jdbc.Execute') ? '<Action>(Console.Jdbc.Execute)' : '<Action>(EditorCompleteStatement)'
nmap <C-Enter> <Action>(Console.Jdbc.Execute)
nmap <D-Enter> <Action>(Console.Jdbc.Execute)