From 1204c91d2fc172b4094860b993c3107272d79e4d Mon Sep 17 00:00:00 2001 From: anurag kanwar Date: Mon, 31 Mar 2025 00:11:22 +0530 Subject: [PATCH] added harpoon integration --- .ideavimrc | 17 +++++++++++++++++ README.md | 27 ++++++++++++++++++++++++++- 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/.ideavimrc b/.ideavimrc index 5f66aae..e427ce4 100644 --- a/.ideavimrc +++ b/.ideavimrc @@ -476,3 +476,20 @@ inoremap u nnoremap Q @@ " There are several more Neovim mappings that need to be ported. + +" Harpooner (Harpoon for Jetbrains IDE) Keymaps + +" " Harpoon to File 1" +" nmap 1 (HarpoonerOpenFile0) +" " Harpoon to File 2" +" nmap 2 (HarpoonerOpenFile1) +" " Harpoon to File 3" +" nmap 3 (HarpoonerOpenFile2) +" " Harpoon to File 4" +" nmap 4 (HarpoonerOpenFile3) +" " Harpoon to File 5" +" nmap 5 (HarpoonerOpenFile4) +" " Harpoon Quick Menu" +" nmap h (HarpoonerToggleQuickMenu) +" " Harpoon The File" +" nmap H (HarpoonerAddFile) diff --git a/README.md b/README.md index 8cc8c72..a156b1c 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,32 @@ Required plugins from the [JetBrains Marketplace](https://plugins.jetbrains.com) 2. Restart your JetBrains IDE +## Extra Plugins integrations + +### Harpooner (Harpoon for JetBrains IDEs) + +Installation link for : [Harpooner](https://plugins.jetbrains.com/plugin/21796-harpooner) + +**What to Do**: + +Uncomment following piece of code in your `.ideavimrc` +``` +" " Harpoon to File 1" +" nmap 1 (HarpoonerOpenFile0) +" " Harpoon to File 2" +" nmap 2 (HarpoonerOpenFile1) +" " Harpoon to File 3" +" nmap 3 (HarpoonerOpenFile2) +" " Harpoon to File 4" +" nmap 4 (HarpoonerOpenFile3) +" " Harpoon to File 5" +" nmap 5 (HarpoonerOpenFile4) +" " Harpoon Quick Menu" +" nmap h (HarpoonerToggleQuickMenu) +" " Harpoon The File" +" nmap H (HarpoonerAddFile) +``` + ## Configuration Notes ### TODO Navigation @@ -55,7 +81,6 @@ Potential integrations with LazyVim features: - Noice - Trouble - Mini.diff -- Harpoon - Outline - Markdown Preview