Great video. The `path_display` stuff was particularly nice - also didn't know about the options to pass to the buffers picker. I only really use the it when there's too many buffers open as usually I'm just using keybinds for next/previous buffer, alternating the last 2 buffers, harpoon (or grapple in my case) for multiple commonly accessed files and also just the plain file search using telescope. I'll try to use it a bit more after your tweaks though, seems nice and you're right, a lot of buffers does get overwhelming.
I got used to navigating my buffers this way already, and so far I'm enjoying it, I have no complaints. I'll review harpoon and another plugin I use soon
Just a note: "buffers as tabs" is done by a plugin which aims to imitate what we have in most IDEs ; default (neo)vim tabs are viewports to a window where you can have different splits, which can be quite useful.
I didn't change the height, that's the default at least for my config which is lazyvim, but you can change the height with this: { "gs", function() require("telescope.builtin").git_status(require("telescope.themes").get_ivy({ layout_config = { -- Set preview width, 0.7 sets it to 70% of the window width preview_width = 0.7, -- height = 0.2, }, initial_mode = "normal", -- Start in normal mode })) end, desc = "Git Status (ivy theme with custom preview size)", }, Notice that I have "height" commented out, rest of my config is in my dots
@@linkarzu thanks that works! the fremency is an interesting one.. kinda wish that it didnt ignore dot files outside of gitignore as well..anyways great vid!
for navigating among files, I would either use alternate buffer, prev/next buffer(if im too lazy to setup marks), or arrow.nvim. I tried harpoon, grapple, but arrow seems to just be the perfect fit for me that acts like a smart vim mark. I never missed having tabs, and I also dont use tabs much when browsing, they are probably designed for mouse andys
Nah, tabs are cool when you have buffer numbers next to filename and some mapping that allows you to switch between them by using +1/2/3/4/5...etc. I'm doing this already with barbar.nvim, since it has that number displaying built-in and it's super nice with no overhead
i uses tabs (accustomed to it from my Notepad++ and VScode days), while I agree it become unbearable if we got like 25 files opened, in my workflow it can be easily done using nvim-tree to select the file I want to edit. And I also often use the preview feature to see the contents of the file. One drawback from my setup: if I want to focus on files that's on a different directory --> here using telescope-buffer is much faster. But i can use the command buffers anyway... so yeah, that's how amazing neovim is...anyone can personalized it down to the roots.
hey I retract my words...turns out the Telescope buffers is just an additional config utilizing Telescope, I thought I need to install another plugin...I was wrong! Post applying the same Telescope buffers setup, I fell in love with it!! thanks for this
You're welcome and I'm glad you found it useful! That's my main way of navigating open buffers, I got used to it already, and yes, no additional plugin 🙂
I have a karabiner keymap hyper+j and hyper+k to go up or down on any app, but I just find it easier to press a single key and go down. Matter of preference I guess 🤝
Omg this is the most good looking theme ive ever seen
@@Dieterbe glad you like it! It's a custom theme I created, the link to the video to set it up is in the video description
Great video. The `path_display` stuff was particularly nice - also didn't know about the options to pass to the buffers picker. I only really use the it when there's too many buffers open as usually I'm just using keybinds for next/previous buffer, alternating the last 2 buffers, harpoon (or grapple in my case) for multiple commonly accessed files and also just the plain file search using telescope. I'll try to use it a bit more after your tweaks though, seems nice and you're right, a lot of buffers does get overwhelming.
I got used to navigating my buffers this way already, and so far I'm enjoying it, I have no complaints.
I'll review harpoon and another plugin I use soon
Just a note: "buffers as tabs" is done by a plugin which aims to imitate what we have in most IDEs ; default (neo)vim tabs are viewports to a window where you can have different splits, which can be quite useful.
Thanks!
How did you adjust the ivy theme height on telescope? Mine seems to only cover like 25% of the screen
I didn't change the height, that's the default at least for my config which is lazyvim, but you can change the height with this:
{
"gs",
function()
require("telescope.builtin").git_status(require("telescope.themes").get_ivy({
layout_config = {
-- Set preview width, 0.7 sets it to 70% of the window width
preview_width = 0.7,
-- height = 0.2,
},
initial_mode = "normal", -- Start in normal mode
}))
end,
desc = "Git Status (ivy theme with custom preview size)",
},
Notice that I have "height" commented out, rest of my config is in my dots
@@linkarzu thanks that works! the fremency is an interesting one..
kinda wish that it didnt ignore dot files outside of gitignore as well..anyways great vid!
@@gno3939 glad you found the video useful! I haven't played with ignored files and frecency. So ignored files don't show up in the search results?
for navigating among files, I would either use alternate buffer, prev/next buffer(if im too lazy to setup marks), or arrow.nvim. I tried harpoon, grapple, but arrow seems to just be the perfect fit for me that acts like a smart vim mark. I never missed having tabs, and I also dont use tabs much when browsing, they are probably designed for mouse andys
Thanks for sharing. I hadn't heard about arrow.nvim
Nah, tabs are cool when you have buffer numbers next to filename and some mapping that allows you to switch between them by using +1/2/3/4/5...etc.
I'm doing this already with barbar.nvim, since it has that number displaying built-in and it's super nice with no overhead
@@DEVDerr thanks for sharing your way, appreciate it.
i uses tabs (accustomed to it from my Notepad++ and VScode days), while I agree it become unbearable if we got like 25 files opened, in my workflow it can be easily done using nvim-tree to select the file I want to edit. And I also often use the preview feature to see the contents of the file. One drawback from my setup: if I want to focus on files that's on a different directory --> here using telescope-buffer is much faster. But i can use the command buffers anyway...
so yeah, that's how amazing neovim is...anyone can personalized it down to the roots.
hey I retract my words...turns out the Telescope buffers is just an additional config utilizing Telescope, I thought I need to install another plugin...I was wrong! Post applying the same Telescope buffers setup, I fell in love with it!! thanks for this
You're welcome and I'm glad you found it useful! That's my main way of navigating open buffers, I got used to it already, and yes, no additional plugin 🙂
I use telescope buffers but I like starting in insert mode using C-n and C-p to go up/down
I have a karabiner keymap hyper+j and hyper+k to go up or down on any app, but I just find it easier to press a single key and go down. Matter of preference I guess 🤝
Great job! You got a new subscriber 🖖😎
Hey, I’m glad you liked the video and found it useful! 🤝
Not using harpoon? Missing out..
You should check out my video:
"Snipe vs Harpoon in Neovim"
ruclips.net/video/SuKhJlqGb5A/видео.html
@@linkarzu sure, thanks
@@vaisakh_km 🙂👍
Nice config man
Appreciate it! Hope you found some useful tips and tricks
great stuff!
@@conradparker3761 glad it helps!