top | item 31291370

(no title)

davmar | 3 years ago

i use neovim too and i prefer it over VSCode. the only major drawback is debugging and multi-file find/replace, so i do occasionally reach for VSCode.

as the author mentioned, LunarVim is a great project worth checking out. i'm using it now and recommend it.

discuss

order

scooble|3 years ago

> multi-file find/replace

This is something I’ve found very easy in vim with bufdo , windo, or populating the quickfix list (or args list) and using cfdo/cdo or argdo to be really specific about where the replace should happen (e.g. replace FOO with BAR only on lines containing STRING or in files containing STRING).

infinitezest|3 years ago

I've tried a lot of multiple file, find and replace solutions, and spectre is the one that seems to make the most sense to me. There's not much to it but it's very effective. Regex works the way that I expect and it's easy to toggle options on and off.

https://github.com/nvim-pack/nvim-spectre

virchau13|3 years ago

For debugging, check out nvim-dap. It uses the same protocol as VSCode for debugging.

memco|3 years ago

Can you use nvim-dap remotely? I am working on building up a neovim setup but the remote editing and debugging are the missing piece for me.

KrishnaShripad|3 years ago

> multi-file find/replace

For multi-file find/replace you should check out far.vim: https://github.com/brooth/far.vim

> LunarVim is a great project worth checking out. i'm using it now and recommend it

Haven't tried LunarVim but AstroNvim is great too.

davmar|3 years ago

oh this looks like what i need. thanks!

christophilus|3 years ago

For me, I sometimes pull up codium just for its excellent git diff and editing.