feat(vim): Better IdeaVIM and VIM configs

- IdeaVIM: List all JB and IdeaVIM shortcut mappings explicitly
- IdeaVIM: More plugins
- IdeaVIM: Plugins reconfigured to be as similiar to NeoVIM as possible
- IdeaVIM: Keymapping updated to be as similar to NeoVIM as possible
- JetBrains: Added JB keymap copies to repo
- VIM: Plugin specific keymaps moved to plugin_config.vim
- VIM: New plugins: vim-exchange, quickscope, vim-visual-multi
This commit is contained in:
Pratik Tripathy
2024-07-12 22:26:33 +05:30
parent 1094014803
commit 6690831bc5
11 changed files with 282 additions and 116 deletions

View File

@@ -0,0 +1,17 @@
<keymap version="1" name="Sublime Text (macOS) copy" parent="Sublime Text (Mac OS X)">
<action id="ActivateTerminalToolWindow">
<keyboard-shortcut first-keystroke="alt f12" />
<keyboard-shortcut first-keystroke="shift f1" />
</action>
<action id="RenameElement">
<keyboard-shortcut first-keystroke="shift f6" />
<keyboard-shortcut first-keystroke="f2" />
</action>
<action id="RenameFile">
<keyboard-shortcut first-keystroke="f2" />
</action>
<action id="RenameProject">
<keyboard-shortcut first-keystroke="f2" />
</action>
<action id="ShowContent" />
</keymap>

View File

@@ -0,0 +1,74 @@
<keymap version="1" name="Sublime Text copy" parent="Sublime Text">
<action id="ActivateTerminalToolWindow">
<keyboard-shortcut first-keystroke="alt f12" />
<keyboard-shortcut first-keystroke="shift f1" />
</action>
<action id="ChooseRunConfiguration">
<keyboard-shortcut first-keystroke="shift alt f10" />
<keyboard-shortcut first-keystroke="f5" />
</action>
<action id="CloseContent">
<keyboard-shortcut first-keystroke="ctrl w" />
</action>
<action id="Documentation.ViewExternal" />
<action id="EditorBackwardParagraph">
<keyboard-shortcut first-keystroke="shift alt p" second-keystroke="p" />
</action>
<action id="EditorCloneCaretAbove">
<keyboard-shortcut first-keystroke="ctrl alt up" />
<keyboard-shortcut first-keystroke="shift alt up" />
</action>
<action id="EditorCloneCaretBelow">
<keyboard-shortcut first-keystroke="ctrl alt down" />
<keyboard-shortcut first-keystroke="shift alt down" />
</action>
<action id="EditorCodeBlockEnd">
<keyboard-shortcut first-keystroke="shift alt b" second-keystroke="e" />
</action>
<action id="EditorCodeBlockStart">
<keyboard-shortcut first-keystroke="shift alt b" second-keystroke="s" />
</action>
<action id="EditorForwardParagraph">
<keyboard-shortcut first-keystroke="shift alt p" second-keystroke="n" />
</action>
<action id="ExternalJavaDoc" />
<action id="ExternalSystem.ProjectRefreshAction" />
<action id="GotoNextError">
<keyboard-shortcut first-keystroke="alt n" />
</action>
<action id="GotoPreviousError">
<keyboard-shortcut first-keystroke="shift alt n" />
</action>
<action id="OpenFile">
<keyboard-shortcut first-keystroke="ctrl o" />
<keyboard-shortcut first-keystroke="shift ctrl o" />
</action>
<action id="Refactorings.QuickListPopupAction">
<keyboard-shortcut first-keystroke="shift ctrl alt t" />
<keyboard-shortcut first-keystroke="shift ctrl alt r" />
</action>
<action id="RenameElement">
<keyboard-shortcut first-keystroke="shift f6" />
<keyboard-shortcut first-keystroke="f2" />
</action>
<action id="ResizeToolWindowDown">
<keyboard-shortcut first-keystroke="ctrl alt down" />
</action>
<action id="ResizeToolWindowLeft">
<keyboard-shortcut first-keystroke="ctrl alt left" />
</action>
<action id="ResizeToolWindowRight">
<keyboard-shortcut first-keystroke="ctrl alt right" />
</action>
<action id="ResizeToolWindowUp">
<keyboard-shortcut first-keystroke="ctrl alt up" />
</action>
<action id="Run">
<keyboard-shortcut first-keystroke="shift f10" />
<keyboard-shortcut first-keystroke="f6" />
</action>
<action id="Terminal.CloseTab" />
<action id="VimPluginToggle">
<keyboard-shortcut first-keystroke="shift meta v" />
</action>
</keymap>

View File

@@ -0,0 +1,19 @@
<keymap version="1" name="VSCode copy" parent="VSCode">
<action id="ActivateTerminalToolWindow">
<keyboard-shortcut first-keystroke="ctrl back_quote" />
<keyboard-shortcut first-keystroke="shift f1" />
</action>
<action id="EditorDown">
<keyboard-shortcut first-keystroke="down" />
<keyboard-shortcut first-keystroke="alt n" />
</action>
<action id="EditorUp">
<keyboard-shortcut first-keystroke="up" />
<keyboard-shortcut first-keystroke="alt p" />
</action>
<action id="ExternalJavaDoc" />
<action id="ShowIntentionActions">
<keyboard-shortcut first-keystroke="ctrl period" />
<keyboard-shortcut first-keystroke="shift ctrl period" />
</action>
</keymap>

View File

@@ -0,0 +1,6 @@
<keymap version="1" name="macOS copy" parent="Mac OS X 10.5+">
<action id="ActivateTerminalToolWindow">
<keyboard-shortcut first-keystroke="alt f12" />
<keyboard-shortcut first-keystroke="shift f1" />
</action>
</keymap>