3 ms·
Well said. I use nvim with all kinds of plugins and a custom init.lua, and then I use vim (or nvi) when something goes wrong with my init.lua, and nvim won't st
by trollbridge 2y ago
Well said. I use nvim with all kinds of plugins and a custom init.lua, and then I use vim (or nvi) when something goes wrong with my init.lua, and nvim won't start, or when I want to quickly open a file really quickly and not wait the second or so it takes for my nvim setup to load.
Likewise, vim lets me do local editing on any system I connect to as there's rarely ever a Unix left that doesn't have vim installed. (Back when vim was the new kid on the block, I said the same thing about stock ex/vi - I made sure I was comfortable editing in vi, and then I never felt uncomfortable when I had to do work on a remote system.)
Another benefit with vim or nvim is how easy it is to copy someone else's full-featured setup: one of the programmers I work with is really into nvim, and he figured out an ideal setup for both working on Go and Python code. Then he just shared his setup with me. Copying someone's VSCode setup with plugins and all and getting it all to work would be a multi-hour ordeal.
- xcrunner529 2y agoWould you mind sharing the python setup? So many options and it’s overwhelming for someone looking to switch from vscode.
- Zizizizz 2y agonvim/.config/nvim/lua/plugins - `blink.lua` (auto complete drop-down) - `dap.lua` (debugger) - `lsp.lua` (language server ruff and pyright setup)
- Zizizizz 2y agohttps://github.com/KingMichaelPark/dotfiles/tree/main/nvim/.config/nvim/lua/plugins https://github.com/KingMichaelPark/dotfiles/tree/main/nvim/.... (Forgot the link)
- trollbridge 2y agoI copied this guy's Python setup: https://github.com/samuellwn/myconfig https://github.com/samuellwn/myconfig The relevant stuff is under "nvim". If you do a lot of Python development, the rest of his "myconfig" might be useful to you too.
- lawn 2y agoI believe you can use `nvim --clean` to ignore your config files.