Switch to my reference, enter move mode, move it to the right.Switch to my work, enter move mode, move it to the left.Flip back and forth (efficiently using a!) a few times before realizing that I need them both at the same time.Go find that material, open it up full screen.Realize I need some reference material.Sometimes it's Dash.app, some other reference material, or a ticket. There is one use case where I'll commonly have two windows open… one to work on, the other for reference. I work on a laptop monitor a lot, and even at my nice setup at my desk I try to keep my main monitor on a single app. While much of a is very simple, there are two automations that I'm proud of. In my configuration, a isn't very complex or interesting, and a lot of it was written originally by Tom Miller. I used to think multitasking was a super power of mine, now I think it's my kryptonite. While ten years ago I would have leapt for the tiling options 1 (I still would like to give i3wm a go one of these days!) I have been making an effort to only have one application in view at any given time. There is a lot of awesome Hammerspoon code to help you with that, from clones of popular Mac applications like Spectacle to complex tiling systems. One of the main things people do with Hammerspoon is wrangle their window layouts. My mac has a very noisy fan, this just puts the CPU temperature and fan 0 ) end end dragging_window = nil end ) click_event : start () unclick_event : start () - hs. window : focusedWindow (): screen () local max = screen : frame () if m. window : focusedWindow (): frame () local screen = hs. , function ( e ) if dragging_window = nil then - check mouse is in titlebar local m = hs. Option keys when pressed in conjunction with other keys. Send the escape key when pressed alone, while sending the command, control and The following code JSON should be saved in a file in The first element (pun intended) in this setup is the configuration for Possibilities, for having global or application specific function keys,Įspecially when combined with Hammerspoon. Preferences, Keyboard, Modifier Keys, the option to use Escape key as theĪction to perform when the caps lock key is pressed.Ī whole new level however, by allowing the caps lock key to function as anĮscape key when pressed alone, and also acting as a “hyper” key when Mapping the caps lock key to escape is fairly easy in OS X. Movement, as well as a experiencing the tactile feedback of an actual key, Possible to map the escape key to the caps lock key, allowing for less hand Rather than trying to hit the missing escape key, it is There is something reassuring about pressing a physical escape button.Īn ideal solution to this is to replace the functionality of the caps lock key While the escape “key” would still be present on the touch bar, The most important keys for a vim user, replacing it with On the other hand, the new Macbook Pros have eliminated the escape key, one of Keyboards rarely used, it is one of the largest buttons on a keyboard with Shortcuts can be used to trigger scripts or alter the environment as oneįor many, the caps lock key is one of the most useless keys on modern Specify configuration where events such as mouse clicks and drags, and keyboard Level of customisation to control the working environment. Hammerspoon is a OS X utility that provides a high
0 Comments
Leave a Reply. |