reddit / emacs

Plugin Updated: Harpoon

otavioschwanck · 2022-03-01 06:25
Plugin: [https://github.com/otavioschwanck/harpoon.el](https://github.com/otavioschwanck/harpoon.el) Added: \- Using hydra to select the harpoon \- Menu to quick delete harpoons
SlowValue · 2022-03-01 08:40
Is there some reason to classify this as "plugin"? Emacs and Elisp normally use the terminology "package". In my understanding a "plugin" is something separate from the core, which connects through a well defined and limited API.
1419538 · 2022-03-01 08:54
Harpoon was originally written as a plugin for vim so maybe this is why someone who wrote this package keeps calling it a plugin even if it should be called a package in the emacsverse
jplindstrom · 2022-03-01 11:12
Pro-tip: tell us what this is. Just one sentence. Just a liiitle bit of context.
[deleted] · 2022-03-01 13:25
Could you explain what the difference is to the recent GNU ELPA package [satchel](http://elpa.gnu.org/packages/satchel.html)?
otavioschwanck · 2022-03-01 14:36
Harpoon uses hydra with a fancy menu to switch and you can jump by the order (harpoon-go-to-1 to harpoon-go-to-9). Also, you can re-order your list and delete items using hydra just pressing the number of the item you need to delete. You can edit the harpoon file directly to batch delete / reorder / change, etc.
eoshiru · 2022-03-01 18:29
awesome! i was just searching for something like this a couple days ago, after binging some Primaegen - perfect timing haha, thank you!
otavioschwanck · 2022-03-02 02:55
my bad, i'm used to call plugin =C, 4 years on vim
freeo · 2022-04-04 08:09
Having had a look at both satchel and harpoon: The main difference to me is the keyboard shortcuts that come with harpoon, while satchel only provides functions. The harpoon shortcuts are it's main selling point, you can directly jump to a file on keypress (e.g. \`leader-1\`). In satchel you have to visually select the desired file from a list in e.g. Helm.