DEV Community

loading...

Discussion on: 5 Minutes Vim: CtrlP considered harmful

Collapse
zkochan profile image
Zoltan Kochan • Edited

Clickbait titleπŸ˜ƒ I thought it will be about why using fzf is a bad idea.

For me, <leader>+s is not necessarily a lot easier than ctrl+p. IMHO, <leader>+ would be nicer.

I frequently use <leader>+n, which for me focuses the file in nerdtree. I usually work in a monorepo with many small packages and from there I can find the necessary file easily. That's faster than searching the file by name.

Collapse
vintharas profile image
Jaime πŸ”₯πŸ§™β€β™‚οΈπŸ”₯ Author

hahaha I meant it in the literal sense but I understand what you mean. :D

Using fzf or something like it is a GREEEAT idea. I think that jumping from not having it to using it dwarves in comparison to which mapping to use to trigger the find file behavior. But I have had problems with my wrists and I find like less I stress them the better.

Awesome! I have the same mapping for exactly the same thing hehe. But I don't rely on it so much. Only if I'm in an unknown codebase. In that case is a great way to explore around.

Thank you for your comment! :D