karabiner

French keyboard on macOS, altering the behavior of the tilde ~ key

梦想与她 提交于 2020-06-17 16:20:44
问题 Like most french users, when I want to go to my terminal home, I have to type cd ~ However, the keyboard requires me to press options + n and then space to disambiguate between me trying to do ñ or ~ for example. Is there a way to overload this behavior, as I almost never want to use the tilde symbol the way spanish people does ? Karabiner looked promising but it won't let you define custom mapping. It requires you to chose between a set of predefined ones, online. 回答1: Ukelele can create a

French keyboard on macOS, altering the behavior of the tilde ~ key

孤街醉人 提交于 2020-06-17 16:20:39
问题 Like most french users, when I want to go to my terminal home, I have to type cd ~ However, the keyboard requires me to press options + n and then space to disambiguate between me trying to do ñ or ~ for example. Is there a way to overload this behavior, as I almost never want to use the tilde symbol the way spanish people does ? Karabiner looked promising but it won't let you define custom mapping. It requires you to chose between a set of predefined ones, online. 回答1: Ukelele can create a

French keyboard on macOS, altering the behavior of the tilde ~ key

♀尐吖头ヾ 提交于 2020-06-17 16:19:09
问题 Like most french users, when I want to go to my terminal home, I have to type cd ~ However, the keyboard requires me to press options + n and then space to disambiguate between me trying to do ñ or ~ for example. Is there a way to overload this behavior, as I almost never want to use the tilde symbol the way spanish people does ? Karabiner looked promising but it won't let you define custom mapping. It requires you to chose between a set of predefined ones, online. 回答1: Ukelele can create a

How to exchange dash and underscore (karabiner)

社会主义新天地 提交于 2020-03-04 20:04:37
问题 On Karabiner rules (https://pqrs.org/osx/karabiner/complex_modifications/), there is no rule for Exchange dash and underscore . [Q] How to exchange dash and underscore through Karabiner or any alternative? Wanted exchange: - => _ and _ => - 回答1: Actually it exists in karabiner's complex modification list. See here: https://pqrs.org/osx/karabiner/complex_modifications/#exchange_hyphen_and_underscore They just call it hyphen and not dash 来源: https://stackoverflow.com/questions/60329484/how-to

Is it possible to enable rules only for specific keyboard layout (karabiner)?

五迷三道 提交于 2020-03-04 15:37:46
问题 On Karabiner I am enabling multiples rules under its complex modifications setup, such as Emacs key bindings . I was wondering is it possible to use those enables rules only for a specific keyboard layout such as U.S. and automatically disable those rules when I switch to an another keyboard layout. 回答1: It's not possible to turn existing imported rules to be device specific. However if you make or modify those rules you can. https://pqrs.org/osx/karabiner/json.html#condition-definition

Is it possible to enable rules only for specific keyboard layout (karabiner)?

£可爱£侵袭症+ 提交于 2020-03-04 15:34:08
问题 On Karabiner I am enabling multiples rules under its complex modifications setup, such as Emacs key bindings . I was wondering is it possible to use those enables rules only for a specific keyboard layout such as U.S. and automatically disable those rules when I switch to an another keyboard layout. 回答1: It's not possible to turn existing imported rules to be device specific. However if you make or modify those rules you can. https://pqrs.org/osx/karabiner/json.html#condition-definition

使用 KM 处理 HHKB 方向键

老子叫甜甜 提交于 2020-02-09 10:19:45
对于上了 HHKB 这条贼船的人来说,刚开始使用起来最大的别扭可能就是没有方向键的问题了。 最早的我使用 Karabiner 来解决,里边有一些内置的组合可以替代方向键,我用 control + hjkl (同vi) 替代四个方向键,因为 HHKB 的 control 在 caps lock 的位置,所以使用起来还是很舒服的,But 当系统升级到 macOS Sierra 后,Karabiner 就不能工作了,作者也在官网中写了: Karabiner does not work on macOS Sierra at the moment. 同时也给出了替代方案,使用 Karabiner-Elements,但是新版的 Karabiner 并不支持这样的组合,所以我就又走上了寻找解决方向键之路。 后来找到了 Keyboard Maestro(简称 KM) 这个神器,这个软功能非常多,不过我只用了里边的设置组合键的功能,我自定义了 5 个组合,用来解决 HHKB 中的不方便的方向键问题。 分别是 大专栏 使用 KM 处理 HHKB 方向键 code>control + hjkl 来操作方向和 control + delete 来反向删除(也就是删除光标后边的内容),但是用起来有些问题:不能连击(比如按住 control + h 光标不可以一直前移,需要手动敲击多次)

Applescript to Map Esc to Caps Lock when tapped; Control to Caps Lock when pressed (macOS Sierra)?

妖精的绣舞 提交于 2019-12-24 06:45:43
问题 I am well aware of karabiner-elements which is still in development to enable this key mapping in macOS Sierra. However, at the current moment it doesn't work. My thought is that if I map Caps Lock to Control in Preferences/Keyboard/Modifier Keys that gets me half way there. I have seen some interesting things people have done with AppleScript here. I am hoping there is a simple way to achieve this via AppleScript. Its also worth mentioning that karabiner-elements is capable of swapping Caps

mac键盘修改工具karabiner(禁用command+Q)

北城以北 提交于 2019-12-11 18:59:28
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 下载地址:https://pqrs.org/osx/karabiner/ 可以在Misc & Uninstall标签页自己定义private.xml,在其中修改快捷键。 会打开/Users/cyper/Library/Application Support/Karabiner/private.xml, 当前(20160710)我的xml内容如下: <?xml version="1.0"?> <root> <item> <name>change command h</name> <append>Change Command+H to Ctrl+H</append> <identifier>cyper_command_h</identifier> <not>REMOTEDESKTOPCONNECTION</not> <autogen>__KeyToKey__ KeyCode::H, VK_COMMAND, KeyCode::H, ModifierFlag::CONTROL_L</autogen> </item> <item> <name>disable command q</name> <append>Change Command+Q to Ctrl+Q</append> <identifier>cyper

用Karabiner来解决Mac上部分软件小键盘不能用的问题

人走茶凉 提交于 2019-12-11 18:56:21
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> Mac上的大部分软件对外置USB键盘支持都是不错的,但是也有一些软件比较偷懒,比如我最近碰到的一个软件就是根本不支持小键盘输入数字,而用大键盘上的数字键倒是没有问题,实在是奇葩。 奇葩归奇葩,问题终究还是要解决的。稍微研究了一下这个问题,发现可以用Karabiner这个软件来对键盘进行映射。对于我的需求,就是把小键盘上的数字键映射成大键盘上的数字键。实现起来不怎么难,先上我修改的private.xml文件内容吧: <?xml version="1.0"?> <root> <item> <name>Change KeyPad 0 to Num 0</name> <identifier>private.change_keypad0_to_num0</identifier> <autogen>__KeyToKey__ KeyCode::KEYPAD_0, KeyCode::KEY_0</autogen> </item> <item> <name>Change KeyPad 1 to Num 1</name> <identifier>private.change_keypad1_to_num1</identifier> <autogen>__KeyToKey__ KeyCode::KEYPAD_1, KeyCode: