MacOS: Change numeric keypads comma to a dot

Just a mental note for myself on how to change keybindings on a mac, not using Karabiner.

I use this to replace the comma (,) on the numeric keypad by a dot (.) … This helps a lot for typing IP addresses

Create a file:

vim ~/Library/KeyBindings/DefaultKeyBinding.Dict

and add the following lines:

{
   "#," = ("insertText:", ".");
}

Found this info using this gist: https://gist.github.com/trusktr/1e5e516df4e8032cbc3d

 

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top