Welcome to my little corner on the internet!
Recent Posts
Show modification time on GoHugo posts TIL
I want to be able to show the last time I updated the content of a file, but I don’t want anything fancy in charge of doing so. I want something simple and easy. Something I won’t need much time to maintain or modify as I please with no fuzz. Here I show you how I accomplish this by use the front matter to manually specify the updated time of any post.
GoHugo callouts TIL
I tend to write my fair bit on Confluence (for work) or Obsidian (for personal notes). In both places I use callouts to draw the attention of the readers.
I miss them over here. So I set myself the task of enabling them. This is how I am doing it.
Exploring zsh vi mode Blog
One thing that I always wish I had when using my shell is a way of moving fast wherever I need or deleting words in a breeze. Sure, you can use Ctrl+<Left/Right Arrow>
to jump back and forth words or keep pressing backspace/delete to get rid of undesired characters. But there must be a better way, right? (Plus, a few weeks ago I got a mac and this didn’t work because the binding was already used by the system to switch virtual desktops and I couldn’t be bothered to change it).
Wezterm, a better terminal experience TIL
While procrastinating on Reddit, I came across a post talking about a terminal I had never heard before: wezterm. What is cool about it is that it can be configured using lua. What this means is that you can bake some logic into your config and make it behave. So, even though kitty serves me well, I am already looking to replace it full-time on my personal computer.
Better indentation in vim TIL
The are times when you need to indent a few lines at the same time, or just one. (neo)vim comes with key bindings for indenting the lines highlighted in visual mode to the right and left (>
and <
). However, they are useful just for one motion as shown in the first video below.