Weeknotes 35
27th February, 2022
“Grokking neovim”
-
I bought a new monitor arm so that I can raise my laptop up off the desk and align it into a better position. I wasn’t really using the laptop screen, which I felt was a shame considering how nice is it compared to my main monitor.
I got the Fully Jarvis Dual Monitor Arm with laptop tray, in white. I’d heard good things about it, but after months of casually researching I suddenly took the plunge because I was fed up of looking.
It’s a bit wobbly, but so is my single arm Amazon Basics model — the desk is too flimsy to stop any wobble I fear. However, it looks nice, and does allow the positioning I was after. There was a small sticker part missing from the package but it wasn’t a problem.
So far, I like it.
-
This reminded me that you should also CamelCase your #HashTags to make them screen reader friendly.
-
I installed Telescope this week after thinking about it for ages (I’ve found it completing overwhelming to keep up with the constantly moving ecosystem). I’ve always been pretty happy with my
fzf.vim
-based fuzzy-finding setup but I kept hearing a lot about Telescope, and a lot of plugins are being built on top of it.I decided to use slightly different keybindings than what I was previously using. Of course, this means constant mis-typings due to muscle-memory 😬
-
I’m keen revitalize my Neovim setup after watching a couple of inspiring streams on YouTube — Neovim Builtin LSP Setup Guide and Introduction to LuaSnip. I’m going to set up Neovim LSP next I think.
-
Speaking of Neovim LSP. This week the popular Language Server,
rust-analyzer
, become part of the official Rust organisation.is now officially a part of the wider Rust organization! 🎉 https://blog.rust-lang.org/2022/02/21/rust-analyzer-joins-rust-org.html
I guess this is going to mean good things for the development of
rust-analyzer
in the future. -
You can save a file in vim without any autocommands by using
:noa w
. I needed this recently because I have certain filetypes auto-formatted upon save, but I was saving some fixture data that I didn’t want formatted and this did the job. -
stripe
cli is really nice for testing webhooks from Stripe. Usually I lean onngrok
to make my local development server accessible to the Internet.stripe
cli makes this unnecessary. You can listen for Stripe webhook events on your local machine messing with any networking. You can also forward those events onto a local development server using the--forward-to
flag. -
I haven’t felt very productive this week, due to factors. Anxiety, man.