How I navigate between buffers in neovim
Автор: linkarzu
Загружено: 2024-09-25
Просмотров: 12888
Описание:
Here I go over the way I use to navigate buffers in neovim, I used tabs in the past, but over the past few months, I've discovered that I find tabs in neovim distracting and overwhelming. Sometines I have up to 20 files open, and I just cannot focus that well by having so many tabs shown at the top. That's why I prefer to have the tabs "hidden" we could say, and I navigate between my open buffers using the telescope buffers command.
Previously I used the bufexplorer plugin, which allows me to navigate between neovim buffers using the j and k keys, it also allowed me to close buffers by pressing the letter d, and to quit the plugin by pressing the letter q
I love this way of navigating buffers, because it's pretty similar to the way that I navigate sessions in tmux, I bring up the tmux sessions, navigate them with j and k and quit with q, so it's all about consistency across the tools I use
I now use telescope buffers, I open it in normal mode so that I can navigate buffers without having to switch from insert mode to normal mode, I can close buffers with d and I can quit the plugin with q
I also configured winbar to show me the amount of buffers that I have open, and I'll show you how to configure this as well
If you find this video helpful and want to support me
https://ko-fi.com/linkarzu
Follow me on twitter
https://x.com/link_arzu
Why I'm against using tabs in the terminal
• Why I'm against using tabs in the terminal
telescope-frecency
• telescope-frecency.nvim | Sort files in te...
Dark Eldritch colorscheme variant in Neovim
• Dark Eldritch colorscheme variant in Neovim
Alternate between the last 2 tmux sessions or neovim buffers, blazingly fast, with a keymap
• Alternate between the last 2 tmux sessions...
Here are my dotfiles, star the repo!
https://github.com/linkarzu/dotfiles-...
0:00 - Why I dont use tabs in neovim
0:54 - telescope buffers
1:09 - how I navigate sessions in tmux
1:35 - close buffers with d
2:19 - bufexplorer demo
3:00 - telescope buffers keymap
4:55 - bufexplorer config
5:16 - close buffer with d quit with q
6:18 - winbar show number of buffers
7:07 - conclusion
7:28 - alternate buffer
7:44 - share your tips
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: