Vim Ctags Cheat Sheet

There are dozens of good vim cheat sheets online. Why do another one? This one is a cheat sheet tailored to my workflow for generating ctags. Let’s have a look. Generate ctags like this (replace js with whatever language files you want to ignore, if any. I don’t code javascript, but my projects contain tons of js files, so I exclude them): ctags -R -f ~/.ctags --exclude='*.js' <path-to-project> If your project contains a language that is not supported by ctags, but is related to another familiar language, you can use langmap....

September 7, 2024

Hugo Cheat Sheet

Here’s a list of useful hugo commands I regularly use. # Build your hugo project hugo # Create a new content file hugo new <path> # For example: hugo new posts/hugo-cheat-sheet.md # Run the hugo development server hugo server Remember to set draft = false for content to be displayed.

September 7, 2024

Launching a Hugo Website

I’ve been publishing wordpress websites for well over 10 years now. Wordpress was working well for me once I was familiar and knew a set of plugins to use. I knew exactly which caching, security, image compression, host, etc. to install to get things running smoothly. Somehow, this still doesn’t feel simple enough. No way every website is built like this. Back in school, I learned that a website is just HTML (for content) and CSS (for styling)....

September 1, 2024