β†’ Conventional Commits ∞

Few days ago, I heard about this on some podcast (maybe changelog ? πŸ€·β€β™‚)

I have been using similar notation for my commits - even for this blog1 - but I did not know it is a specification.

The idea is that very first word of the commit message should indicate what sort of commit is it.

Most common ones are : fix, feat (To indicate bugfix and a feature)

Other useful ones are: docs, style, refactor, test

Then there is chore (catch all ? πŸ˜„)

I’ve used some of these at work as well.

As the website mentions, benefit of such style is that some tools can parse the git log to automatically generate the changelog.

Website also mentions, that

it’s not the end of the world if a commit lands that does not meet the Conventional Commits specification. It simply means that commit will be missed by tools that are based on the spec.


  1. Since the commits are just addition or updates to markdown files, most of the tags are not used here. I only use Add and occasional Update. I do believe it is in the spirit of conventional commits πŸ˜„ ↩︎

Logseq : Take 2

I wrote about logseq almost two years ago and then I think when I switched job, I stopped using logseq. When I updated macOS, I forgot to install it, and forgot about it overall (I started using denote - in Emacs for some time) Recently when I started using obsidian while trying l learn more about it, I came across logseq again. I tried it again (after 2 years) I spent time learning basics (again)

Continue Reading Β»

Obsidian.nvim plugin

After using vim keybindings inside Obsidian, I came across obsidian.nvim plugin that makes working with Obsidian from inside Neovim pleasurable. This is definitely better than vim keybindings in Obsidian 1 But I had not not used neovim in a long time. After I upgraded to Monterey, I had not installed neovim again. So getting it (as in neovim) was a bit of work. But I had my old config saved, so at least I didn’t have to start from the ground floor.

Continue Reading Β»

Obsidian has vim keybindings

Today I discovered that Obsidian supports vim style keybindings out of the box. But it knows that vim is not for everyone. So it checks whether you know what you are doing (when you enable the setting, which is OFF by default) by having you enter a command in a pop up πŸ˜„ TBH, one can easily find out that command and “cheat”. On the other hand, if you don’t know vim, and still want to turn on the setting (by cheating) - you deserve what you get πŸ˜„

Continue Reading Β»

Obsidian

Obsidian is not new to me. I come across it from time to time, but never paid much attention. That changed when I migrated my PKM site to use Obsidian-zola. Technically, it use Zola, and has nothing to do with Obsidian (for Publishing) The “source” is maintained in Obsidian, but it is just collection of markdown files, which can easily be maintained outside. But then I got Obsidian desktop installed. I used it for making minor edits to markdown files.

Continue Reading Β»

β†’ Bruno: Local-first Postman Alternative ∞

I think I came across this tool via Hacker News πŸ€”. But may be not. Anyway, it does not matter.

Why it appealed to me ?

At work, we have a shared Postman workspace, which often breaks.

Because anyone and everyone can modify it (which is some times needed) But then people click the Save button, because it is easy to πŸ˜„

and now, it is broken for others.

OK, there is a concept of fork in Postman, but then everyone has their own fork.

It is same as git fork. One has to keep the fork up to date.

Here comes bruno.

First thing I liked about it is that we can import from Postman. So that one does not need to create entire collection from scratch.

Once imported, it becomes a script/text, which can be version controlled

Next thing is secrets.

I have not yet figured out where and how they are stored. But secrets is one of the reasons, I was attracted to bruno

With local first, developers are free to use their own passwords on their machines.

I was able to get APIs working from Postman to bruno without much friction.

I did have to create environments from scratch. Not sure why they were not exported by Postman Maybe because they contain secrets ? πŸ€”

But once I added all the variables to Local environment, I can just copy-and-modify to create other environments.

At work we have a LOT of environments (At least 10. Yeah, I know)

I’ll be exploring bruno’s capacities in coming days. Like Bruno CLI, tests etc.

Spellcheck in Vi/m

I’ve been using vi for 20+ years and somehow I didn’t know that it has spell check built in πŸ€·β€β™‚ Enable it by simply :set spell Now misspelled words are shown in red background 1 (depending on the terminal’s capability this might vary - I assume) Off course, this is nowhere near full fledged LSP like ltex which I use with emacs and helix. ltext does more than spell check.

Continue Reading Β»

Switched to Arc

I wrote about Arc browser earlier here. At that time, I was still on macOS catalina, version of macOS not supported by many, including brew and Arch browser. Now that I have successfully upgraded - I was able to get Arc working on my personal machine as well. I did not wish to make this default on my work machine - wasn’t sure if it was supported (based on Chromium, so it should work, still if something does not work, getting support from IT won’t be easy.

Continue Reading Β»

β†’ Zed Editor ∞

My colleague told me about this new editor written in rust yesterday. The feaure page mentioned vim-mode, so I was OK to try it.

It seems collaboration is their USP - I don’t see using that feature personally anytime soon.

So what about rest of the features ?

My first impression is that it can be light alternative to VSCode. It has similar UI structure, default keymap as VScode. It supports few languages Out of the box, Ruby being one of them, so I may try it at work as well.

Coming back to vim-mode - the reason for which I even was ready to try it. It was not easy to enable it. I had expected to find it under keymap.

But vim-mode is restricted to modal editing, so one needs to enable it via settings.json (similar to VScode) and set "vim-mode": true there. Other things - not related to modal editing, but I have come to rely upon - like : commands to save (:w), or :1 to jump to the beginning of the file, do not work.1

Opening new file wasn’t intuitive. It closed the existing file. There is no New tab either.

But after adding the folder to the project and opening anotehr file from the same project, opened it in separate tab. 😌

In conclusion :

  1. Good attempt to provide VScode alternative. Because it is a native app, it will be faster than Electron app
  2. This is not meant to be terminal app anyway. So for modal editing in terminal, I will stick to helix

  1. Cmd+S to save the file, and ^G to goto line/column ↩︎

VSpaceCode

I have written earlier that I’ve started using VSCode occasionally for work. Finding files and find-in-files is much better and faster. But I do miss modal editing. That is where VSpaceCode comes in. VSpaceCode is Spacemacs like keybindings for Visual Studio Code I had come across VSpaceCode almost two years ago I was using VSCodium at that time (hoping it is faster than VSCode - it isn’t - on my old machine) and could not install VSpaceCode.

Continue Reading Β»