Skip to content

Instantly share code, notes, and snippets.

@czuger
Created November 24, 2024 12:07
Show Gist options
  • Select an option

  • Save czuger/58eb85940b33fb70fd0379cad559d4ad to your computer and use it in GitHub Desktop.

Select an option

Save czuger/58eb85940b33fb70fd0379cad559d4ad to your computer and use it in GitHub Desktop.
Key binding on mac os , replacing , -> . on numpad
mkdir -p ~/Library/KeyBindings/
touch ~/Library/KeyBindings/DefaultKeyBinding.dict
vim DefaultKeyBinding.dict
# Insert
{
"#," = ("insertText:", ".");
}
# https://ss64.com/mac/syntax-keybindings.html
# https://apple.stackexchange.com/questions/229509/how-to-remap-comma-on-apple-numeric-keypad-to-dot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment