Friday, April 18, 2025

Re: What do you use for (fuzzy) file search?

On Thu, Apr 17, 2025 at 7:28 PM Roberto Tonino
<roberto.tonino5@gmail.com> wrote:
>
> Hi everyone,
>
> I currently am in a kind of weird situation where I find myself using
> both vim and neovim, depending on the use case. While I'm fine with the
> idea, I find it cumbersome.
>
> Being a Typescript/React developer, at work I use neovim on codebases
> of such technologies because I find (i) LSP working faster and natively
> and (ii) the Telescope fuzzy finder being the customizable and
> performant type of software that I enjoy using. The same goes for my
> Python development.
>
> In editing dotfiles, text files, latex/optex, git messages,and probably
> more, I use vim.
>
> I would like to move to a setup where I use vim-lsp (even though it may
> lack some feature here and there) and vim $(fd myfile) to open files.
>
> While writing this email I remembered about vim $(fzf --multiple) which
> might be a first solution.
>
> In any case, I'm eager to know how do you manage (fuzzy) file search
> and editing. I'm also open to completely new approaches.

Hi Roberto,

I am not sure sharing this is going to be helpful, but here goes:

I usually open vim from my project directory, without giving it a filepath.
And then I use fzf via this plugin:
https://github.com/junegunn/fzf.vim to find the file I want to open.

I have it mapped this way:

nnoremap <leader>f :FZF<cr>

cheers,
nico



>
> Thank you!
>
> Roberto Tonino
>
> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/vim_use/20250417192449.00004cfd%40gmail.com.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/CAEUbJsTen-7D76tQceMMVki5LgLYLi%3DpeAxT%3DzpJxdf4VA_0Kw%40mail.gmail.com.

No comments: