An upgrade day
I did a round of updates to my home box over past several weekends. It feels pretty good, and is almost comparable to my Linux based dev setup. Below are some notes for the curious terminal enthusiast.
After postponing this one for years now1, I am so glad to finally take the
plunge. Native language server protocol integration is wonderful.
Similarly Lua feels tad faster2. Migration from
vim was as easy as
vimrc to start with.
I found nvy to be the perfect minimalist GUI for neovim. Supports
DirectWrite based text rendering with support for ligatures. Other alternatives
like the bundled
neovim-qt are feature rich but the rendering was not up to my
Notes on plugins.
- Startup time for
nvimwas quite slow at ~400ms. tweekmonster/startuptime.vim helped profile and measure as I started trimming the plugins.
vim-plugworks great. I didn’t consider changing it too much.
- For LSP, replaced
Cocwith nvim-lspconfig and nvim-lsp-installer for managing LSP servers.
alewith null-ls and trouble.nvim for linter integrations.
- Tree sitter is amazing for syntax parsing and highlighting. Replace
Nerdtreewas a primary contributor to startup latency. Replaced with https://github.com/kyazdani42/nvim-tree.lua.
neovim looks for
$env:AppData, a trick is to set
$env:XDG_CONFIG_HOME=~\.config\ and let
neovim do all lookups there. This
also has the nice benefit of keeping the directory under source control.
Current startup time is ~250ms.
I couldn’t have asked for anything more.
My configuration is in .wezterm.lua.
A good font
Well someone automated patching with Github Actions. And we have Delugia
Code. Delugia is my defacto in
vim guifont and
wezterm. Works amazingly
More commandline awesomeness
I will end this post with five more amazing tools.
- If you’ve used ranger file manager in Linux, you’re going to love lf.
- bat is an amazing cross platform
catreplacement with syntax highlighting. And
fzfhas a great integration within vim.
lfsupport is a nice add-on.
- glow helps preview markdown on the terminal. Again comes with a nice nvim
- autojump is
cdon steroids with fuzzy match. It’s a life saver. If you’re looking for powershell integration, look no further.
- lazygit is on my todo list to try out. I’m hoping it will replace fugitive.vim for me. Let’s see.
Finally, scoop is the missing package manager for Windows. Highly
recommended for the
See you all in 2022.
- Don’t fix if it ain’t broken. And laziness of course.↩
- Subjective opinion. See https://github.com/vim/vim/issues/8606#issuecomment-884667566 for some numbers.↩