Why I'm Moving from Telescope to Snacks Picker | Why I'm not Using fzf-lua | Frecency feature

Why I'm Moving from Telescope to Snacks Picker | Why I'm not Using fzf-lua | Frecency feature

12.681 Lượt nghe
Why I'm Moving from Telescope to Snacks Picker | Why I'm not Using fzf-lua | Frecency feature
- I've been using Telescope as my main picker ever since I started Neovim - I use the LazyVim distro, so even when Folke moved us over to `fzf-lua` I switched bach to Telescope - Why? Because there's a few things I couldn't do in `fzf-lua` that I'm really used to in telescope: - The main one is frecency (`nvim-telescope/telescope-frecency.nvim`), this is similar to zoxide in the terminal, so basically every time you open a file, it increases it's score in an internal database, and keeps track of those scores, so that the next time you search for something, and there are 2 files with the same name, the one with the highest score will show at the top (probably skill issue on my side) - I navigate my buffers with telescope, and I when use the telescope buffers picker, I want it to start in normal mode, I couldn't do that in `fzf-lua` (probably skill issue on my side) * When hovering over images in `fzf-lua` (in macOS) it would get stuck - But a few days ago, I noticed a post by Folke in twitter about a new picker he had created, so I decided to give it a try - And long story short, this `Snacks picker` has replaced my beloved telescope for me - I've created some custom pickers really easily (to search for my completed and uncompleted tasks) - I can increase or decrease the score of a file(path) the same way I do in the `telescope-frecency.nvim` plugin - I can pick between many different layouts Folke created by default (including ivy), or modify the layouts to my liking - I can start a picker in normal mode instead of insert mode - It works with `blink.cmp` so if you want to have completions while looking for a file or using any other picker, you can do so, I don't like to, so I disabled it in the blink config - There's an issue with the `bullets-vim/bullets.vim` plugin, it did not allow me to select an item in the picker when in `insert` mode and I pressed `CR` (enter), but it can be worked around Members only discord https://www.youtube.com/channel/UCrSIvbFncPSlK6AdwE2QboA/join 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 My dotfiles (remember to star them) https://github.com/linkarzu/dotfiles-latest Blogpost related to this video: https://linkarzu.com/posts/neovim/snacks-picker/ If you want me to add you to discord, reach out on any the links shown in my about page on my blogpost https://linkarzu.com/about/ Videos mentioned in this video: https://youtu.be/JrgfpWap_Pg https://youtu.be/1YEbKDlxfss https://youtu.be/Qr-vX51gB8g https://youtu.be/59hvZl077hM #neovim #lazyvim #macos #neovim #neobean #linkarzu