Hacker News new | past | comments | ask | show | jobs | submit login

Remapping the caps lock key to the delete key (delete the character in front of the cursor) has been a great productivity boost for me. Below is the karabiner.json file that I'm using for this:

{ "profiles": [ { "name": "Default profile", "selected": true, "simple_modifications": { "caps_lock": "delete_forward" } } ] }




Interesting. Remapping it to Control is the greatest help for me because most Mac programs support basic Emacs keybindings. Using Ctrl a or e to go to the end of line is much easier than pressing Fn.


Remapping it to Control is easy to do natively in macOS. What you can do with Karabiner is Control/Escape: http://stevelosh.com/blog/2012/10/a-modern-space-cadet/#cont...

For X11, there's xcape: https://github.com/alols/xcape

For Windows, of course, AutoHotKey (my config: https://github.com/myfreeweb/dotfiles/blob/master/windows/ke...)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: