sean zhang

My Config

Freeing alt keys in your terminal

In my terminal, I have Option-C bound to fzf’s fuzzy cd. However, when I press this, I get รง typed instead of triggering the keybind. I thought this was a system-wide issue with my US keyboard, but a more elegant solution lies inside of your terminal’s settings!

Solution

Here is the fix for few terminal emulators that I know of.

Terminal.app

Go to Settings > Profiles, and check the box, “Use Option as Meta key”.

My Obsidian Setup

Obsidian is great. Besides its’ wonderful Knowledge Management features, it is insanely great for just this one thing: Feature-rich WYSIWYG markdown file editing.

For writing things slightly less trivial than a few words in a file (like images, math, or links), it would be really nice to see what it looks like without having another pane open to preview it. You know, real estate is pretty expensive these days!

Here is a guide to my configuration of my obsidian workspace.

Notes on Git

Since git is a massive tool, I want to showcase some things I like using!

I assume the reader has some familiarity with Git in this article. For those new to Git or want a good refresher, I recommend the git book.

Git’s Tools

Aside: Writing Commit Messages

Writing good commit messages is important, even if you work on feature branches! It’s good to get into the habit of writing helpful commit messages, especially if someone later wants to go back and traverse the commit history.