politicallobi.blogg.se

Hammerspoon caps lock
Hammerspoon caps lock













hammerspoon caps lock
  1. Hammerspoon caps lock how to#
  2. Hammerspoon caps lock Bluetooth#

This allows :tt for Toggle Tagbar and so on – a nice memorable taxonomy rather than a flat multitude of somewhat arbitrary leader combos. For example, instead of binding Leader+ T to open NerdTree, :tn is used ( Toggle NerdTree). I’m experimenting with Spacemacs-style command mnemonics in my Aetherwolf Vim config.

  • it opens a lot of easy to remember possibilitiesĪdding gobs of plugins instead of learning Vim’s native functionality is another common trap, so I maintain a secondary lightweight Vim config called Ninjarc with minimal plugins to keep me sharp.įinally, Tim Pope’s philosophy of favouring commands over leader key combos yields a more cohesive configuration.
  • hammerspoon caps lock

    it’s less prone to conflicts with your OS or terminal emulator.Especially in a terminal where Alt is often problematic and Cmd unusable. The delay is so that you can use the caps as ctrl more easily in the case that you went to hit ctrl-c for example, and decided against pressing it but caps is already pressed, you can hold it a little longer and it turns back into ctrl.It shouldnt interfere with anything in normal use, if its an esc press it will almost always be depressed for less than 0.2. All your Cmd+ Shift+ Ctrl+ Alt combos won’t lead you anywhere.

    Hammerspoon caps lock how to#

    Instead of wasting your time trying to make Vim and your terminal into something that it’s not and can’t be you should learn how to use and customize Vim wisely. There is no way to transfer all your old habits seamlessly, point blank. Vim is not TextMate or whatever other editor you have used before. When I first discovered Vim I wasted a lot of time trying to bend it backwards into a traditional editor.

    Hammerspoon caps lock Bluetooth#

    If you use multiple keyboards with your mac, for example an Apple Magic bluetooth keyboard, the modifier keys are configured individually for each one – so make sure the correct keyboard is chosen in the “Select keyboard” dropdown: Below are the System Preference settings required to make this setup work. This was a serious annoyance, since the VIM shortcuts are burned into my fingertips.Įnter HammerSpoon! Using the ControlEscape plugin, I am now back in remapping bliss. In macOS, I’d been using Karabiner Elements to enable this remapping, however with macOS Big Sur I could no longer get the configuration to work. Pressing and releasing sends the Escape key, while pressing and holding emulates the Control Key. Remapping the Caps Lock key to Control and Escape is a big part of this workflow. This philosophy allows fluid text editing and staying in the “programming flow state”. I’m a big fan of VIM modal editing and keeping keyboard shortcuts as close to the home row as possible. when it is held down (great for system-wide shortcuts in Hammerspoon0. For more better text editing and great success. You can make the Caps Lock key even more useful by turning it into a Hyper.















    Hammerspoon caps lock