Goodbye, Neovim
I’ve been using Neovim for a while now and it’s been fun. I didn’t see any real killer feature for it, but I wrote previously about other reasons to switch to Neovim.
However, I kept all my config in Vimscript and didn’t migrate to Lua for a couple of reasons.
First, I need to use Vim on systems where Neovim isn’t easily available, and I didn’t feel like manually updating the AppImage.
Second, I was being careful in case something made Neovim unviable for me.
That day has come with Neovim’s removal of the cscope feature in Neovim 0.9.
LSP is great for small codebases where you can easily do a build or generate the compilation database, however it’s not very enjoyable for large codebases like the Linux kernel or maybe one of the modern BSDs, where a build to generate compile_commands.json
is a large undertaking, and especially if you switch around different historical revisions of the codebase a lot, which is my exact usecase.
For that sort of code browsing, it’s much better to use GNU Global tags and the gtags-cscope.vim plugin.
Nothing else in Neovim really made a huge difference to me. The vim-gtk3
Ubuntu/Debian package supports set clipboard=unnamedplus
for yank persistence, and at least Vim 8 supports :terminal
buffers too.
Maybe I can finally pull my finger out and get the t_SI
/t_SR
/t_EI
escape sequences working under tmux so Vim has the nice guicursor
too.
Edit: Well, that was surprisingly easy, just set the escape sequences (press actual Ctrl+k then Esc, don’t use literal ESC
). Reference.
" guicursor in terminal
set t_SI=ESC[6\ q
set t_SR=ESC[4\ q
set t_EI=ESC[2\ q
Anyway, goodbye Neovim, it was fun while it lasted.