On Small Improvements

My recent command-line upgrade – 3 IDE-like keybindings.

  1. Ctrl+n -> Search for a file containing given string – in filename
  2. Ctrl+f -> Search for a file containing given string – in its contents
  3. Ctrl+o -> Open file explorer in current directory

Fun fact, I added a distro-specific branching for Ctrl+o. It detects whether it’s a WSL Ubuntu, if so, it makes use of the fact that you can call any arbitrary Windows executable from WSL and calls explorer.exe instead of Ubuntu’s nautilus.

What’s important is making the command invocation “silent”, that is – not editing the current buffer in any way involved when pressed. Otherwise it’s too distracting.

On its own, not a big thing, but all of the 1% changes do accumulate!

You can find my dotfiles here.