:bnext cycling, or trying to remember which buffer contains that file you were just editing.
Why Harpoon?
You’re working on a codebase and find yourself frequenting a small set of files. Fuzzy finders are powerful but slow you down when you know exactly where you want to go. Buffer navigation with:bnext and :bprev gets repetitive. Alternate file (CTRL-^) only works for two files. You need something better.
Harpoon lets you mark files and navigate to them with persistent keybindings. Think of it as bookmarks on steroids - mark the files that matter, jump between them instantly, and maintain context across sessions.
Installation
Install Harpoon with your favorite plugin manager
Quickstart
Get up and running in under 2 minutes
File navigation
Learn how to mark and navigate between files
Configuration
Customize Harpoon to match your workflow
Key features
Persistent file marks
Marks are saved per project and automatically update their position within files as you edit. Unlike vim’s global marks, Harpoon marks are designed for project-based workflows.Quick menu interface
View all your marked files in a popup menu where you can reorder, delete, or open them in splits and tabs.- Press
Enterto open a file - Press
CTRL-Vto open in a vertical split - Press
CTRL-Xto open in a horizontal split - Press
CTRL-Tto open in a new tab - Press
qorESCto close
Terminal management
Harpoon provides persistent terminals that integrate seamlessly with your workflow. Navigate between terminals, send commands, and maintain context just like with files.Tmux integration
Harpoon works out of the box with tmux, letting you navigate and send commands to tmux windows and panes.Quick example
Here’s the most common Harpoon workflow:Harpoon requires Neovim 0.5.0+ and plenary.nvim as a dependency.
What’s next?
Get started with Harpoon
Follow our quickstart guide to mark your first file and start navigating