Skip to content

On which, type, and readlink commands

The `which` command identifies the location of a command. It does this by searching the `PATH` for executable files. The `-a` option prints all matching locations. To inspect the `PATH`, use `tr` to split it into separate lines for improved readability.

Framework is my next laptop

Framework is going to be my next laptop. I don't want to buy another laptop with Windows pre-installed. I don't use Windows. I don't see why I should have to pay for it.

bash or sh

I prefer `!/bin/sh` over `!/bin/bash`. I begin almost every script with the same four lines. Use a POSIX-compliant shell. Exit immediately if any command returns a non-zero status (indicating an error).

NeoVintageous 1.35.0

Introducing NeoVintageous 1.35.0! The highlight is a new documentation website. Check out the new documentation at

NeoVintageous 1.34.0

Introducing NeoVintageous 1.34.0! This is a small release, it adds more support for the Targets plugin and some minor enhancements and fixes.

NeoVintageous 1.33.0

Introducing NeoVintageous 1.33.0! While this release may seem somewhat understated, it brings many subtle enhancements, fixes, and an overall refinement of existing features.

NeoVintageous 1.32.0

Introducing NeoVintageous 1.32.0! This release comes packed with exciting features. Highlights include Effortless Input Method Switching, Colemak and Dvorak Mappings, Gutter Marks: Introducing Markology, Universal Character Mapping, Tailored Sublime Text Exit Behaviour, Comprehensive Documentation and Roadmap

Vim - Add a file to the staging area

This is a mapping that adds the current file to the git staging area. This won't work if the file is not located within your current working directory. How can you determine the current working directory?

NeoVintageous 1.31.0

NeoVintageous 1.31.0 has been released. Highlights include new and improved window commands, marks, goto file commands, and an advanced reveal in side bar command.

My Sublime Text setup

Everyone wants to know the secret sauce. Package Control is a great package manager. See the installation guide on how to install it. I use an enhanced Monokai color scheme called MonokaiFree. I use A File Icon for sidebar icon support.

GitOpen - A Sublime Text plugin

Git Open is a Sublime Text plugin that provides integration for git-open, a script that allows you to open a repo website in your browser. It supports Linux, Mac, and Windows, and supports GitHub, GitLab, and Bitbucket.

git open - A shell script

git-open is a fantastic tool. It allows you to open a repo website in your browser. It supports Linux, Mac, and Windows, and supports GitHub, GitLab, and Bitbucket.

Fix laggy key presses

If key presses are slow or laggy, check the system configuration. On Ubuntu you can configure keyboard repeat interval and delay.

NeoVintageous - Visual Bells

NeoVintageous supports three types of vim visual bell. The setting vintageous_bell allows you to choose the style for the visual bell.

NeoVintageous 1.30.0

NeoVintageous 1.30.0 has been released. This is more of a polishing release than big feature release. Highlights include improvements to the neovintageousrc file format, multiple cursors improvements, and session persistence improvements.

NeoVintageous - Options

NeoVintageous supports a number of vim options. Besides changing options with the :set command in an active view, you can set options at startup via a neovintageousrc file, NeoVintageous's answer to the vimrc file.

NeoVintageous - Jumping to Misspelled Words

NeoVintageous has two vim commands for jumping to misspelled words. [s Jump backward to the previous misspelled word. ]s Jump forward to the next misspelled word.

Remapping CapsLock to Escape

Do you use your CapsLock? Perhaps you like shouting at people. If you're a vim user, I suggest remapping it to Escape or at least something more useful.

NeoVintageous - Jumping to Diffs

NeoVintageous has two vim commands for jumping to diff hunks. [c Jump backward to the previous start of a change. ]c Jump forwards to the next start of a change.

NeoVintageous - Jumping to Conflicts

NeoVintageous has two vim commands for jumping to SCM conflicts. These are part of the Unimpaired plugin bundled with NeoVintageous. [n Jump backward to previous SCM conflict marker or diff/patch. ]n Jump forward to next SCM conflict marker or diff/patch.

MonokaiFree - A Sublime Text color scheme

MonokaiFree is an enhanced version of the Monokai colour scheme.

NeoVintageous - Jumping to Errors

SublimeLinter is a code linting framework for Sublime Text. NeoVintageous has two commands for jumping to lint errors.

NeoVintageous - Goto Symbol

You can go to any symbol in a project via Menu → Goto → Goto Symbol in Project, but why work so hard.

NeoVintageous - Revert Hunk

You can revert a hunk via a right mouse click and selecting Revert Diff Hunk, but if my calculations are correct, when this baby is mapped, and we reload our rc file... you're gonna see some serious shit.

Sesame - A Sublime Text plugin

Sesame is my favourite Sublime Text plugin. It's a quick way to open, add, switch, and remove projects and folders.

NeoVintageous - Reveal in Side Bar

You can reveal a file in the sidebar via a right mouse click and selecting Reveal in Side Bar, but why work so hard.

NeoVintageous - Edit neovintageousrc

You can use the Command Palette NeoVintageous: Open RC File to edit the neovintageousrc file. A mapping is quicker. And why not. I recommend `<leader>en`. A mnemonic is edit neovintageous.

NeoVintageous - Mapping Sublime Text commands

NeoVintageous's mapping features are exceptionally potent. Did you know that you can map to virtually any Sublime Text command, execute commands in ex mode, and even map to commands within your own or third-party packages?

The NeoVintageous toggle sidebar

Did you know that NeoVintageous has a side bar toggle command that you can map to? It's a great way to free up screen real estate when you need it. Let me show you a few examples.

The NeoVintageous help pages

Vim's help pages are distributed unmodified in NeoVintageous and are accessed in the same way as Vim. The help pages are provided unmodified so it's important to remember when using them that NeoVintageous may not yet implement that particular feature. Some differences are documented own help page.

Running PHPUnit tests within Sublime Text

Being able to run your PHPUnit tests from within Sublime Text is a productivity win. This is especially true if you like Test Driven Development. PHPUnit Kit has all the features you will ever need to run PHPUnit tests from within Sublime Text.

The Neovintageous vimrc file

Undoing diff hunks in NeoVintageous

NeoVintageous Ctrl keys

NeoVintageous key handler

NeoVintageous Super keys

NeoVintageous 1.26.0

NeoVintageous 1.25.0

PHP-CS-Fixer Pre-Commit Hook

NeoVintageous 1.23.0

The curious case of Vim search

NeoVintageous 1.22.0

NeoVintageous 1.19.0

NeoVintageous 1.18.0

NeoVintageous Plugins

NeoVintageous - Toggle Zoom

NeoVintageous 1.9.0

NeoVintageous 1.8.0

NeoVintageous 1.7.0

NeoVintageous 1.5.0

Git Interactive Patching

Renaming Git Submodules