recentpopularlog in

handcoding : karabiner   52

Mapping a key to a sequence of keys · Issue #347 · tekezo/Karabiner-Elements
When it comes to using Karabiner Elements to map a keyboard shortcut to multiple keys, the general syntax looks to be:

"to": [
{
"key_code": "a"
},
{
"key_code": "return_or_enter"
}
],
karabiner  karabinerelements  github  2018  mac  macos  osx  software 
6 weeks ago by handcoding
Holding letter vs tapping it · Issue #1667 · tekezo/Karabiner-Elements
This issue deals with some problems relating to getting press-and-hold bits to work in Karabiner Elements.
karabiner  karabinerelements  2019  github  mac  macos  osx  software  to_if_held_down_threshold_milliseconds 
may 2019 by handcoding
KE-complex_modifications/example_halt.json at master · pqrs-org/KE-complex_modifications
In short: If you have a press_and_hold remapping that doesn’t involve a modifier, you may need to add “halt: true” to the to_if_held_down portion to get it to work right.

(via: https://pqrs.org/osx/karabiner/json.html#from-event-definition-modifiers)
karabiner  keyboard  remapping  karabinerelements  2019  halt  to_if_held_down  mac  software 
may 2019 by handcoding
New rule request · Issue #336 · pqrs-org/KE-complex_modifications
This is that Karabiner Elements issue about that fellow who was looking to exchange the slash and the question mark.
karabiner  karabinerelements  github  slash  questionmark  2018 
september 2018 by handcoding
pqrs-org/KE-complex_modifications
Here’s the GitHub page for Karabiner Elements’ complex modification rules webpage.
karabiner  karabinerelements  github  2018 
august 2018 by handcoding
Programmer Norman ? · Issue #16 · deekayen/norman
Here’s that GitHub issue where you helped that person through the steps for setting up Karabiner Elements to swap the numbers and symbols.
norman  github  numbers  symbols  2018  karabiner  karabinerelements 
june 2018 by handcoding
set_variable ordering matters for creating chords · Issue #960 · tekezo/Karabiner-Elements
“I have been using Karabiner to turn a standard MBP keyboard into a chorded one (t and h, or ‘th’ produce ‘the’, ‘ut’ produces ‘update’, ‘tu’ produces ‘through’, etc., with about 1500 words defined with the help of some Perl scripting) and have realized that the set_variable of Karabiner-Elements allows a much more elegant solution than Karabiner had. In essence, each key can trigger a variable, which can invoke a sub-map (layer).”
karabiner  chords  karabinerelements  2017 
may 2018 by handcoding
Return complex modifier not working with Alfred · Issue #870 · tekezo/Karabiner-Elements
Apparently the secret to double mapping a key to both that key and a modifier (when pressed alone) is add “lazy: true” to the portion of the remapping with the modifier:

"description": "Change return to control when used as modifier, return when used alone",
"from": {
"key_code": "return_or_enter",
"modifiers": {
"optional": [
"any"
]
}
},
"parameters": {
"basic": {
"to_if_alone_timeout_milliseconds": 400
}
},
"to": [
{
"key_code": "right_control",
"lazy": true
}
],
"to_if_alone": [
{
"key_code": "return_or_enter",
"modifiers": {
"optional": [
"any"
]
}
}
],
"type": "basic"
}
karabiner  karabinerelements  2018  keyboard  mac  macos  osx  remapping 
may 2018 by handcoding
Modifier keys (Cmd, Option / Alt, Shift) aren't registered when used in combination with function keys · Issue #1160 · tekezo/Karabiner-Elements
Apparently Karabiner Elements might break built-in modifier+FunctionKey bindings when it’s running? (Potential solution: Enable “Unknown Device in Karabiner Element’s settings.)
“When using IntelliJ IDEA and the built in keyboard, modifier keys aren’t registered when used in combination with function keys. I have set the MacOS System Preference to always show function keys when using IntelliJ (System Preferences > Keyboard > Shortcuts > Function Keys).”
karabiner  karabinerelements  functionkeys  keyboard  shortcuts  2017 
may 2018 by handcoding
Use any key as modifier · Issue #831 · tekezo/Karabiner-Elements
This thread goes over how you can use Karabiner Elements to set up arbitrary keys as modifier keys (like Tab).
karabiner  karabinerelements  modifiers  mac  osx  macos  software  2017 
may 2018 by handcoding
Move Cursor Word by Word in Terminal for Mac OS X
“Move Cursor Forward by Word in Terminal: Escape + F
“Move Cursor Backward by Word in Terminal: Escape + B”
terminal  escape  2016  navigation  karabiner  karabinerelements 
may 2018 by handcoding
How to disable a key? · Issue #145 · tekezo/Karabiner-Elements
In Karabiner Elements, to remap a key to nothing, set it to “out”.
karabiner  karabinerelements  2018  remapping  keyboard 
may 2018 by handcoding
Where to find karabiner.json? · Issue #950 · tekezo/Karabiner-Elements · GitHub
(On finding Karabiner Elements’ JSON file:)
“So, Terminal.app is the right choice. In there, you type: open ~/.config, this will open the hidden .config directory in a new Finder window. There you can navigate to karabiner/karabiner.json and open/edit that file with your favorite editor.”
karabiner  karabinerelements  json  2018 
may 2018 by handcoding
Karabiner-Elements complex_modifications rules
This is the page for Karabiner Elements for importing complex rules from the web.
karabiner  karabinerelements  keyboard  mac  osx  macos  2018 
april 2018 by handcoding
60% + MacBook Pro : MechanicalKeyboards
(Ooh—pro tip here.)
“karabiner-elements allows you to set the built-in keyboard to turn off when a specific USB device (keyboard) is plugged in.”
karabiner  karabinerelements  keyboards  mac  macbookpro  2018 
march 2018 by handcoding
SpaceFn implemented in the Xorg input driver
It looks like this Xorg input driver implements the SpaceFn bits with some pretty serious heuristics. Not that this is much use to you, necessarily, but the list of heuristics are here in case you might ever need to access those.

(via: https://github.com/tekezo/Karabiner-Elements/issues/877#issuecomment-355387398)
spacefn  heuristics  2017  space  karabiner  karabinerelements 
march 2018 by handcoding
howto short/long (sticky) keypress? (Ctrl/Esc et al.) · Issue #8 · tekezo/Karabiner-Elements
This comment goes over how you can disable Shift+9 and Shift+0 (in case you might like to force yourself to use Space Cadet shift instead).
shift  parenthesis  2017  karabiner  karabinerelements  rsi  spacecadet 
march 2018 by handcoding
wincent/karabiner.json at 26566e7d3f390162000fc9d6ae1fc8100aed3a15 · wincent/wincent
This post goes over a sample Karabiner Elements config file to:
-- remap CapsLock to Backspace when pressed alone but Ctrl when pressed with another key.
-- remap Return to Return when pressed alone but Ctrl when pressed with another key
-- remap Left Shift + Right Shift to toggle CapsLock
karabiner  karabinerelements  keyboard  shortcuts  2018  backspace  capslock  return  canonical 
march 2018 by handcoding
howto short/long (sticky) keypress? (Ctrl/Esc et al.) · Issue #8 · tekezo/Karabiner-Elements
This post goes over a sample Karabiner Elements config file to remap CapsLock to Esc when pressed alone but Ctrl when pressed with another key.

And more about what the to_if_alone_timeout_milliseconds parameter does:

“Just say you have caps lock set to fire backspace if pressed alone, or act as control if pressed with another key:

“• Hold caps lock for 995 ms, release: it fires backspace.
• Hold caps lock for 1005 ms, release: it does nothing (shows up in event viewer as control-down, control-up).

“1000ms is the default. I set it to 500ms in my set-up and I believe (subjectively) that I was able to notice the effect I described above.”
(https://github.com/tekezo/Karabiner-Elements/issues/8#issuecomment-318509471)
karabiner  karabinerelements  canonical  capslock  2018  escape 
march 2018 by handcoding
A Modern Space Cadet / Steve Losh
“The important thing I thought of one day is that it’s possible to divide keys on the keyboard into three groups:

“Keys you hold down to change how other keys behave, but that (usually) don’t do anything if you use them on their own (like Shift and Control).

“•Keys that you press and release but don’t want to ‘repeat’ as you hold them (like Escape or Insert).

“• Keys that you sometimes press and release, but sometimes want to repeat (like holding Space to insert a bunch of spaces, or Backspace to kill a bunch of characters).

“• Can you see where this is heading? The last group is pretty normal, but the first two groups are special. Specifically: there are two different ways to use them and they’re each only useful in one of those ways.

“This means that we can combine them onto a single key without losing any useful functionality!”

(Also:)
I forgot to mention that if you use this (and the Shift improvements below) you’ll probably want to change the “[Key Overlaid Modifier] Timeout” setting in the KR4MB preferences:

Key Overlaid Timeout

“This setting controls the maximum length of a keypress that will register as ‘single press.’ It’s easier to understand with an example. The default is 1000ms, which means that if you press and hold the Capslock key for 900ms and release it, it will count as Escape. If you hold it for 1001ms before releasing, it counts as pressing and releasing Control instead.

“If you’re finding that you’re sometimes holding Control out of habit and then releasing it, but it’s still firing as an Escape, you may want to turn this setting down to a lower value. I have mine set to 300ms.”
keyboard  shortcuts  ctrl  command  escape  2018  karabiner 
march 2018 by handcoding
CapsLock to Escape Wq4gxrw.png 1,018×702 pixels
This post goes over how you can use Keyboard Maestro to bind “tap once” to a certain key, such as tapping CapsLock once to Escape.
(via https://github.com/tekezo/Karabiner-Elements/issues/8#issuecomment-248806737)
capslock  escape  keyboardmaestro  2016  karabiner  karabinerelements 
march 2018 by handcoding
Command/Apple Key getting stuck · Issue #466 · tekezo/Karabiner-Elements
It looks like Karabiner Elements (and maybe also Karabiner) have an issue where Command or Shift ends up getting stuck. Hmm.
karabiner  karabinerelements  2018  software  keyboard  mac  osx  macos 
march 2018 by handcoding
Switching command and control keys - Questions & Suggestions - Keyboard Maestro Discourse
“Try this. I built it from the thread you linked and by looking over the examples at the KE-complex_modifications GitHub repo11. I don’t have KE installed so I couldn’t actually test it.

“Best to keep each configuration in separate files and out of your main global config file. So save this into ~/.config/karabiner/assets/complex_modifications/teamviewer-swap-cmd-ctrl.json

“Go into Karabiner Preferences > Complex Modifications > Add rule then enable ‘Swap Left Control/Command only in Teamviewer’”
karabiner  karabinerelements  teamviewer  remapping  keyboard  mac  osx  2017 
march 2018 by handcoding
App specific settings possible? · Issue #808 · tekezo/Karabiner-Elements
Well it looks like Karabiner Elements might support per-application remapping now (albeit perhaps only through manipulating the JSON file directly).
karabiner  karabinerelements  2018  keyboard  mac  osx  macos 
march 2018 by handcoding
Swap square and curly brackets · Issue #818 · tekezo/Karabiner-Elements
This page goes over code that you can use for Karabiner Elements to swap square brackets and curly brackets.
karabiner  karabinerelements  2017  brackets  curly  square 
march 2018 by handcoding
Karabiner elements configuration file for using a MagicForce68 keyboard on macOS · GitHub
“Karabiner elements configuration file for using a MagicForce68 keyboard on macOS”
mac  keyboards  karabiner  software  2018  magicforce 
february 2018 by handcoding
Key Manager - Free download and software reviews - CNET Download.com
(Well, this is high praise, eh?)
"When using a Mac, I rely on Karabiner keyboard remapping software to create multiple profiles for different keyboards and layouts. I had searched in vain for a Windows keyboard remapping program that was as effective and intuitive as Karabiner until I discovered ATNsoft Key Manager. Highly recommended."
software  windows  keyboard  karabiner  2017 
september 2017 by handcoding
USB Device Key not working with mouse buttons - Questions & Suggestions - Keyboard Maestro Discourse
"When Apple deprecated IOHID with Sierra, they broke a lot of input drivers. Karabiner, SmoothMouse and SteelSeries Engine 3 (which drives all modern SteelSeries peripherals) were among the victims, and SmoothMouse is gone forever. Having full support for mapping mouse buttons to Keyboard Maestro macros would be an awesome feature at any point, but now would be especially helpful, though of course, it's not so simple from a developer's perspective."
sierra  mac  osx  macos  2017  karabiner  smoothmouse 
july 2017 by handcoding
Hyper Key in macOS Sierra with Karabiner Elements
"I’m very glad to say that it is now possible to do a proper Hyper remap with Karabiner Elements"
karabiner  karabinerelements  2017  remapping  keyboard 
june 2017 by handcoding
[KeyMove] Control_L+hjkl to Left/Down/Up/Right · Issue #103 · tekezo/Karabiner-Elements
"I'm also missing this functionality, but for know, I reimplemented the functionality temporally (I hope) in Hammerspoon

local function keyCode(key)
return function() hs.eventtap.keyStroke({}, key) end
end

hs.hotkey.bind({"cmd", "alt"}, 'h', keyCode('left') , nil, keyCode('left'))
hs.hotkey.bind({"cmd", "alt"}, 'j', keyCode('down') , nil, keyCode('down') )
hs.hotkey.bind({"cmd", "alt"}, 'k', keyCode('up') , nil, keyCode('up') )
hs.hotkey.bind({"cmd", "alt"}, 'l', keyCode('right'), nil, keyCode('right') )
"
hammerspoon  keyboardmaestro  karabiner  2017  keyboard  remapping 
may 2017 by handcoding
koekeishiya/khd: Hotkey daemon for OSX
(This looks like it could be a Karabiner alternative if it came down to it.)
"Khd is a simple modal hotkey-daemon for OSX, using Quartz Event Services.”
(via: https://github.com/tekezo/Karabiner/issues/660#issuecomment-269709755)
karabiner  keyboard  mac  osx  2016  software 
december 2016 by handcoding
Sierra broke my keyboard modifier keys and I refused to wait for a fix – Medium
On having Karabiner automagically switch between keyboard profiles with Hammerspoon:
"Later in the day I moved to my front-porch to work and was immediately discombobulated as my Macbook keyboard was now messed up (reversed Option and Command). I could edit that config each time I switch keyboards, but that seems fairly tedious. With a little bit of research, I found a Github issue complaining about the same thing (thanks again, Internet) which referenced a tool called Hammerspoon. Hammerspoon allows you to plug-in to certain OS events like USB device changes. This’ll work great. After installing Hammerspoon, I needed another keyboard configuration as well as a simple way to swap them"
hammerspoon  karabiner  keyboard  mac  osx  2016  sierra  10.12 
december 2016 by handcoding
Remap Your Mac's Function Keys To Do Anything You Want
"So, what could you use your unused keys for? Here’s a few ideas.

“• An Emoji Key. OS X comes with an emoji tool, but the keyboard shortcut (control+command+space) is kind of hard to remember. You can use BetterTouchTool to trigger the more complex keyboard shortcut every time you hit one of your F-number keys, for faster emoji enjoyment.

"• Launch the notification center. The old-school Dashboard had its own key on older Macs, but notifications widgets have replaced the Dashboard. There’s no key to open the Notification Center, though, so why not create one yourself?"
keyboard  remapping  karabiner  bettertouchtool  2015  functionkeys 
december 2016 by handcoding
macOS (10.12) compatibility · Issue #660 · tekezo/Karabiner
"I started using BetterTouchTool https://www.boastr.net/downloads/ which allows me to remap most key combinations that I used to be able to do with Karabiner. BTT includes remapping of keyboard, mouse, track pad and gestures. BTT does not let you remap the Power key or Eject key, but I posted a link a few posts up about that.

"I always preferred Karabiner over BTT but with the Sierra incompatibilty obviously had to find a work around. I look forward to Karabiner Elements being fully functional."
karabiner  mac  software  keyboard  remapping  bettertouchtool  2016 
december 2016 by handcoding
Standalone modifiers by wwwjfy · Pull Request #247 · tekezo/Karabiner-Elements
"This is to implement Karabiner's Control_L to Control_L (+when you type Control_L only, send Escape) functionality. It's a temp solution, which can be used until the official one comes out."
karabiner  keyboard  mac  osx  sierra  2016 
october 2016 by handcoding
tekezo/Karabiner-Elements: The next generation Karabiner prototyping for macOS Sierra
"Karabiner-Elements is the subset of the next generation Karabiner for macOS Sierra."
karabiner  mac  osx  keyboard  macos  2016 
october 2016 by handcoding
Karabiner-Elements/README.md at master · tekezo/Karabiner-Elements
"Karabiner-Elements is the subset of the next generation Karabiner for macOS Sierra."
karabiner  keyboard  mac  osx  software  10.12  sierra  remapping 
october 2016 by handcoding
Karabiner key mappings on macOS Sierra
"Common case for a developer is to have backtick, caret and possibly something else easily accessible, but while Karabiner devs are still working on a fix for macOS Sierra a workaround is needed.

"Good alternative that gets the job done well, is Keyboard Maestro. It’s comprehensive and GUI is similar to Apple’s Automator, so one can get away without coding.

"My own Keyboard Maestro macros consist of just 2 things (` and ^) for Estonian keyboard layout. Feel free to fork and adjust."
mac  keyboard  karabiner  keyboardmaestro  software  2016 
october 2016 by handcoding
macOS (10.12) compatibility · Issue #660 · tekezo/Karabiner
"macOS 10.12 changes of the generic keyboard and mouse drivers made a great impact on Karabiner and Seil.
We should make a large changes in Karabiner and Seil architecture.
There is not a workaround for this issue.

"Please wait an update of Karabiner and Seil for macOS 10.12. (It may take a long time.)"
karabiner  2016  mac  keyboard  osx  sierra  10.12 
october 2016 by handcoding
Sensible global shortcut key definitions for iTerm2 | dvolvr
This post is ostensibly about fixing the keyboard shortcuts for iTerm2, but perhaps some of these might be a good starting point for making Word and the like act more Mac like?
"⇧⌘↑ became Scroll One Page Up
⇧⌘↓ became Scroll One Page Down
⌃⌘↓ became Scroll To End
⌥← became Send ^[ b i.e. Move Cursor Left One Word
⌘← became Send Hex Codes: 0x01 i.e. Move Cursor To Start Of Line
⌥→ became Send ^[ f i.e. Move Cursor Right One Word
⌘→ became Send Hex Codes: 0x05 i.e. Move Cursor To End Of Line"
shortcuts  keyboard  iterm2  word  karabiner  2016 
august 2016 by handcoding
keyboard - How do I simulate the Insert key in Windows on a MacBook Pro? - Ask Different
Ooh—it looks like “PC_INSERT” is the Karabiner code for sending the Insert key.
karabiner  insert  mac  software  keyboard  remapping  osx  2015 
august 2016 by handcoding
active karabiner - Stack Overflow
(By the way, here’re Stack Overflow’s questions that are tagged “karabiner”.)
karabiner  keyboard  mac  software  osx  stackoverflow  2016 
august 2016 by handcoding
(99+) Karabiner - Google Groups
Looks like this is the Google Groups forum for Karabiner.
mac  osx  karabiner  keyboard  forums  2016 
june 2016 by handcoding
karabiner MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_COMMAND - Google Search
This seemingly simple search for "karabiner MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_COMMAND” seems to bring up quite a number of promising posts about Karabiner. Neat.
karabiner  keyboard  mac  osx  2016 
june 2016 by handcoding
Remap the "O" key in Launcher Mode v2 to other keys(for example, the "Q" key) - Google Groups
This Karabiner thread goes over how you can remap the Launcher key from "O" to something else, such as "Q" or “J".
karabiner  launcher  2015  keyboard  mac  osx 
january 2016 by handcoding
osx - Mouse Wheel Emulation on Mac - Ask Different
This page goes over how you can use Karabiner to have it scroll when you hold down a certain mouse button.
karabiner  mac  osx  keyboard  mouse  scroll  excel  2013 
january 2016 by handcoding
Work more efficiently on your Mac (for developers)
"[…] We can make use of Steve Losh’s idea of emulating the extra “Hyper” key introduced by the Space Cadet keyboard by defining Hyper as control+option+command+shift. Since no sane application will expect a user to hold all those keys at once, we can effectively create a new modifier key." (So.. if you had wanted to try mapping one of your keys to this "extra" modifier key, this might be worth a shot.)
karabiner  mac  osx  keyboard  shortcuts  2015  hyper  remapping 
january 2016 by handcoding
Karabiner/KeyCode.data at version_10.1.0 · tekezo/Karabiner
This page has a big ol' list of all of Karabiner’s key codes.
karabiner  keyboard  remapping  mac  osx  software  2015 
december 2015 by handcoding
Part of useful existing settings - Karabiner - Software for OS X
This part of Karabiner’s documentation goes over how you can customize its “Launcher mode."
launchermode  karabiner  2015  keyboard  shortcuts 
november 2015 by handcoding
Karabiner/launcher_mode.xml at master · tekezo/Karabiner
This miiight be the “source code” behind Karabiner’s “Launcher mode,” in case you might need to customize some of that.
karabiner  2015  launchermode  keyboard  shortcuts 
november 2015 by handcoding

Copy this bookmark:





to read