-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Harpoon like bookmarks #5167
Comments
additionally it supports a bookmark set per git branch which I get a lot of use out of |
without plugin system is impossible, but would be a simple task to bundle it to the code, when i have time i will try and post the git patch here just i case someone else wants to try |
Here is a simple harpoon implementation for tmux users. harpoon.mp4Usage
Installation Add your harpoon bindings [keys.normal]
"C-h" = ":pipe-to helix_harpoon_add"
"C-n" = ":pipe-to helix_harpoon_edit"
"C-j" = [":pipe-to helix_harpoon_update",":pipe-to helix_harpoon_switch 1"]
"C-k" = [":pipe-to helix_harpoon_update",":pipe-to helix_harpoon_switch 2"]
"C-l" = [":pipe-to helix_harpoon_update",":pipe-to helix_harpoon_switch 3"]
... # Expand as you need (4,5,6...). Note: If you want to return where you were, using harpoon shortcuts; anything that changes your current buffer has to call [keys.normal.g]
"n" = [":pipe-to helix_harpoon_update","goto_next_buffer"]
"p" = [":pipe-to helix_harpoon_update","goto_previous_buffer"]
"d" = [":pipe-to helix_harpoon_update","goto_definition"]
"y" = [":pipe-to helix_harpoon_update","goto_type_definition"]
"r" = [":pipe-to helix_harpoon_update","goto_reference"]
# There are more. Expand as you need. Also, harpoon config is saved to |
Harpoon: https://github.com/ThePrimeagen/harpoon
Harpoon is like bookmarks, but better.
Something to save files with option to be per cwd (project).
I miss this so much from vim, would be awesome to have natively
The text was updated successfully, but these errors were encountered: