vim

By chimo on (updated on )

Documenting my vim setup and plugins I'm using. It's pretty underwhelming, but I'm jotting this down here so I can keep track of how it evolves over time.

Note: Up-to-date configurations can be found at the following locations:

.vimrc

Keep it simple:

set background=dark " tell vim/plugins our background is dark
set expandtab       " convert tabs into spaces
set cc=80           " hightlight the 80th column (the default textwidth)
set number          " show line numbers
set shiftwidth=4    " four spaces per indentation level
set smartindent     " have vim figure out when to indent
set tabstop=4       " four spaces per 'tab' press
set updatetime=100  " Lessen delay so git-gutter appears more seamless
                    " Note: also controls the delay before vim writes its swap
                    " file

syntax enable       " pretty colours (syntax highlighting)

Theme

None (so far). My terminal uses solarized dark and vim just goes with it:

Plugin Loader

None (so far). I use vim’s native “package” feature. We’ll see if I feel the need for something else later.

Plugins

committia.vim
"committia.vim splits the [git-commit] buffer into 3 windows; edit window, status window and diff window."
Here is an example for this post's commit (meta!):
vim-gitgutter
"A Vim plugin which shows a git diff in the sign column. It shows which lines have been added, modified, or removed. "

Recent articles from blogs I follow

The Scunthorpe Problem

I was talking with a friend recently about an email of theirs running afoul (🐔) of another aggressive filter system, because they dared to to talk with someone called Dickson. I know right, they’re the absolute worst. For those unfamiliar, this is the The…

via Rubenerd November 21, 2024

In which Neil is surprised by the lack of an HDMI cable

Some modern technology decisions baffle me. Today, I was sitting in a meeting room. In the room was my friend, with her laptop. Her laptop has an HDMI port. Also in the room was a screen, onto which my friend wished to display her laptop’s desktop. The screen …

via Neil's blog November 19, 2024

Helm: JSON schema generation

Helm charts support the inclusion of a values.schema.json file to validate values.yaml. Documentation: https://helm.sh/docs/topics/charts/#schema-files A JSON schema is akin to defining the structure of and type-annotating a JSON file. It helps to “shift lef…

via not just serendipity November 14, 2024