Chúng tôi không thể tìm thấy kết nối internet
Đang cố gắng kết nối lại
Có lỗi xảy ra!
Hãy kiên nhẫn trong khi chúng tôi khắc phục sự cố
Snipe vs Harpoon trong Neovim
There are different ways in which I navigate files in neovim, one of these ways is by using the snipe.nvim plugin and I've recently started to use @ThePrimeagen harpoon plugin, there are also other ways in which navigate between open buffers in neovim, for example using the telescope buffers option which I slightly modified to work better for my particular use case
The text below is taken out of the harpoon's readme
"The Problems:
You're working on a codebase. medium, large, tiny, whatever. You find yourself frequenting a small set of files and you are tired of using a fuzzy finder, :bnext & :bprev are getting too repetitive, alternate file doesn't quite cut it, etc etc.
You want to execute some project specific commands or have any number of persistent terminals that can be easily navigated to.
The Solutions:
The ability to specify, or on the fly, mark and create persisting key strokes to go to the files you want.
Unlimited terminals and navigation."
The text below is from the snipe plugin readme
"Snipe.nvim is selection menu that can accept any list of items and present a user interface with quick minimal character navigation hints to select exactly what you want. It is not flashy it is just fast !
If you ever find yourself in a tangle of buffers scrabbling to find your way back to where you came from, this plugin can help ! Maybe you use harpoon, this is great for project files, but what if you want a fast fallback for when you're in someone else's project. Maybe you use telescope, but that can feel inconsistent and visually distracting. This is why I made this, because I wanted a Vimium-like way of hopping around a large amount of buffers"
If you find this video helpful and want to support me
Follow me on twitter
My dotfiles
https://github.com/linkarzu/dotfiles-latest
Harpoon repo
https://github.com/ThePrimeagen/harpoon
Snipe repo
https://github.com/leath-dub/snipe.nvim
0:00 - snipe demo
0:42 - harpoon demo
2:07 - fold markdown headings
2:35 - wezterm demo
3:04 - configure snipe
5:00 - close buffers in snipe
6:22 - telescope buffers
7:07 - delete files in harpoon
8:04 - add file to harpoon
8:26 - colorscheme switcher
9:45 - which one do I prefer
Dịch Vào Lúc: 2025-05-25T09:30:14Z