So, I set up Alt-K to print out a list of interesting hotkeys that I would like to get better at and internalize: Alt-K for in-line commandline help, retaining cursor position For my purposes, printing out a list of available bindings in the window seems sufficient. Others are custom behaviors or things I have added. Some of them are defaults that come with fish shell. There are a handful of shortcuts I'd like to get better at on the commandline. They are typically dealing with a very large list of potential actions/bindings, which is a little different than my case. Cmd-shift-p in VS Code and cmd-shift-a in Jetbrains' IDE's are two examples. Various developer IDE's have keyboard shortcuts that do this and they often enable searching lists of available commands. I do like the idea of a key you can press that pops up a reference list of other keyboard shortcuts. I don't like mousing up to a menubar item or having to fall back to the mouse to open a file either: too much break in flow. I ruled out paper/printed cheatsheets because I wanted something that travels with me, only requiring the footprint of my laptop. To start using them, I need a way to quickly reference a list of the ones I'm interested in. I feels like everrrryyyythhhinnnggg slooFor me, the best way to learn new keyboard shortcuts is to start using them. Pressing a whole lot of keys to do something that you know could be done with fewer keypresses.Tapping the breaks to shift your hand to use the mouse.Even though typing speed is the least of a developer's bottlenecks, there are two particular speed bumps that can disrupt your flow when you are blazing a trail of fire, thinking and typing your way through solving a problem:
0 Comments
Leave a Reply. |