Re:Motivation – Keli Language
by nerdponx on Monday August 31, 2020 @12:54PM
(#24333352)
The biggest advantage of an IDE for me, in any language, is the ability to rename/move/refactor things across multiple files in a project correctly. I feel notably less capable in this regard when using Vim versus a "full" IDE, no matter what the context or project.
[ Parent
| on HN ]
Re:Motivation – Keli Language
by grantjpowell on Monday August 31, 2020 @01:24PM
(#24333711)
Yeah, this exact flow was a pain for me in switching from vscode to vim full time.
My flow now is to search for a bunch of instances using the fzf plugin (https://github.com/junegunn/fzf.vim) and open them into the quickfix list, then do something like
:%s/old/new/gce | :w | :bnextIs fzf buying you anything over just using :grep? (If speed is the issue, the magic words are `set grepprg='rg --vimgrep'`, after which it's actually usable.)
Re:Motivation – Keli Language
by grantjpowell on Monday August 31, 2020 @08:22PM
(#24337255)
I've never really explored the native grep functionality, so its possible I'm missing something.
The two features I really like about fzf are
1.) the preview window (visible here https://github.com/junegunn/fzf)
2.) Fuzzy finding/multi-selection/gradual refinement of search terms
Nope, you're not missing anything, then. Maybe I am -- I use the fzf plugin, but only for finding files. Is this (build_quickfix_list) what you're using? https://github.com/junegunn/fzf/blob/master/README-VIM.md#ex...