Harpooner - the Harpoon by Erotourtes for JetBrains products
Inspired by ThePrimeagen/harpoon
Preview.webm
Harpooner is a navigation plugin. You can "harpoon" a file and quickly open it later in the Tools menu or through the keyboard shortcuts.
Note: you need to configure the keyboard shortcuts yourself. See the example section.
- The Harpooner menu is represented as a file within the IDE, thus seamlessly integrates with the IdeaVim plugin.
- All changes made to the menu are automatically saved in real-time (configurable in settings).
- Automatic renaming of files is supported when they are moved, renamed, or deleted.
- Users have control over the length of visible paths displayed in the menu
This plugin is inspired by Harpoon
You need to use IdeaVim plugin to use the following keybindings.
" Harpoon
nmap <M-j> :action HarpoonerOpenFile0<cr>
nmap <M-k> :action HarpoonerOpenFile1<cr>
nmap <M-l> :action HarpoonerOpenFile2<cr>
nmap <M-;> :action HarpoonerOpenFile3<cr>
nmap <leader>hm :action HarpoonerQuickMenu<cr>
nmap <leader>ha :action HarpoonerAddFile<cr>
" nmap <M-4> :action HarpoonerOpenFile4<cr>
" nmap <M-5> :action HarpoonerOpenFile5<cr>
" nmap <M-6> :action HarpoonerOpenFile6<cr>
" nmap <M-7> :action HarpoonerOpenFile7<cr>
" nmap <M-8> :action HarpoonerOpenFile8<cr>
" nmap <M-9> :action HarpoonerOpenFile9<cr>
You can change the settings: Settings/Preferences > Tools > Harpooner Settings
With save on type
off
Changes are saved after and only after closing the file
-
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for " Harpooner" > Install Plugin
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
Plugin based on the IntelliJ Platform Plugin Template.