![]() ![]() I just needed a way to bind that to a keypress. can be used to trigger the OS X preview of our cheatsheet image for Spectacle: Spectacle cheatsheet image Leveraging Quicklook via commandline: $ qlmanage -p filename.png One low hanging option is capturing an image of the Spectacle shortcut list and then making a keyboard shortcut show that image. ![]() I really like the idea of an easy to remember global keyboard shortcut that can pop up a cheat sheet of those Spectacle system-wide shortcuts I'm trying to learn. While there is a really interesting CheatSheet application for OS X which shows a combination of foreground application and OS level keyboard shortcuts, it doesn't show the 18 system-wide keyboard shortcuts enabled by something like Spectacle. How can I get better at these with as little friction as possible? These are global keyboard shortcuts that are active across all applications on OS X. There are several keyboard shortcuts to learn to effectively use it. ![]() I have been trying to use Spectacle for OS X window management. ![]() Hopefully, the shortcuts become rote as I memorize them.Īfter realizing the power of having this type of thing at one's fingertips, you tend to want similar functionality in more places. I'm hoping this will encourage looking up the shortcuts I would like to get better at, since I won't have to break out of the window or the line I am currently modifying to reference the list. You can be in the in the midst of a carefully assembled commandline instruction, think "Hey what is that key that would help me quickly navigate the cursor over to spot X?" or "what is that key to recursively search a directory under my cursor for a filename to pop it in right here?", access the reference list of keys, find the key you need and use it, all without losing your spot! One of the cool things about this, is that you can also instruct the fish shell to repaint the existing commandline after sending something to stdout, retaining the original cursor position. 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. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |