Latest posts

Today I learned: How to log a Javascript object with indentation to the console

Find out how to console Javascript objects in a more readable form using JSON.stringify and its versatile space argument.

Today I learned: How to delete until the beginning of the line including the cursor in Vim

Learn about vim exclusive character motions and how to turn them into inclusive motions

Today I learned: How to show current buffer's path in Vim's normal mode

Learn the Vim shortcut to reveal the current buffer's path in the command line from normal mode.

Today I learned: How to style a <fieldset>'s <legend> element as display inline

Learn how to work around the dodginess of HTML <legend> tag to make it behave as it would be `display: inline` or `display: inline-block`.

Vim CursorHold autocommand error when opening command line window

Find out how to get rid of `Error detected while processing CursorHold Autocommands for ... E11: Invalid in command-line window...` issue.

Browse full archives