diff options
| author | Mel <mel@rnrd.eu> | 2025-07-18 00:57:35 +0200 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2025-07-18 00:57:35 +0200 |
| commit | 516539fa3daead55ca97c33d97c1f2a20fa7538f (patch) | |
| tree | d010b3fb0ec27e5e011d8723f8f26ed746bdaee6 | |
| parent | 429098f6561afc979d6cbe7a5aaca380605181a5 (diff) | |
| download | minerals-516539fa3daead55ca97c33d97c1f2a20fa7538f.tar.zst minerals-516539fa3daead55ca97c33d97c1f2a20fa7538f.zip | |
Add .ideavimrc for IdeaVim plugin in JetBrains IDEs
Signed-off-by: Mel <mel@rnrd.eu>
| -rw-r--r-- | configs/.ideavimrc | 13 | ||||
| -rw-r--r-- | modules/home/common.nix | 4 |
2 files changed, 17 insertions, 0 deletions
diff --git a/configs/.ideavimrc b/configs/.ideavimrc new file mode 100644 index 0000000..d30a7a5 --- /dev/null +++ b/configs/.ideavimrc @@ -0,0 +1,13 @@ +" IDEAVIM SETTINGS + +" include the original plain (no-plugin) config +source ~/.vimrc + +" enable ideavim-specific plugins +Plug 'easymotion/vim-easymotion' +Plug 'justinmk/vim-sneak' +Plug 'machakann/vim-highlightedyank' + +" plugins that need extra ide plugins installed +set quickscope " 'IdeaVim-Quickscope' +set whichkey " 'Which-Key' diff --git a/modules/home/common.nix b/modules/home/common.nix index e2b57f7..9c62f22 100644 --- a/modules/home/common.nix +++ b/modules/home/common.nix @@ -37,6 +37,10 @@ # base .vimrc for tools outside of vim, like the # VSCode Vim plugin. ".vimrc".source = ../../configs/.vimrc; + + # special .vimrc for the IdeaVim plugin in JetBrains IDEs. + # `source`s the normal ~/.vimrc and enables IdeaVim-specfic plugins. + ".ideavimrc".source = ../../configs/.ideavimrc; }; home.sessionPath = [ |
