Skip to content

Instantly share code, notes, and snippets.

@wislon
Last active May 7, 2021 22:06
Show Gist options
  • Save wislon/84ceb8cdf2f7c17e6efc to your computer and use it in GitHub Desktop.
Save wislon/84ceb8cdf2f7c17e6efc to your computer and use it in GitHub Desktop.
Atom key bindings for numeric keypad
# some additional keybindings that let you use the keypad as arrows (old-school)
'.editor':
'num-left': 'core:move-left'
'num-right': 'core:move-right'
'num-up': 'core:move-up'
'num-down': 'core:move-down'
'num-end' : 'editor:move-to-end-of-screen-line'
'num-home' : 'editor:move-to-first-character-of-line'
'num-pageup': 'core:page-up'
'num-pagedown': 'core:page-down'
'num-delete': 'core:delete'
'ctrl-num-home': 'core:move-to-top'
'ctrl-num-end': 'core:move-to-bottom'
'shift-num-delete': 'core:cut'
'shift-num-insert': 'core:paste'
'ctrl-num-insert': 'core:copy'
'shift-num-left': 'core:select-left'
'shift-num-right': 'core:select-right'
'shift-num-up': 'core:select-up'
'shift-num-down': 'core:select-down'
'shift-num-end' : 'editor:select-to-end-of-line'
'shift-num-home' : 'editor:select-to-first-character-of-line'
'shift-num-pageup': 'core:select-page-up'
'shift-num-pagedown': 'core:select-page-down'
'ctrl-shift-num-left': 'editor:select-to-beginning-of-word'
'ctrl-shift-num-right': 'editor:select-to-end-of-word'
'ctrl-shift-num-end': 'core:select-to-bottom'
'ctrl-shift-num-home': 'core:select-to-top'
@juanitogan
Copy link

Oh yeah, what about ctrl-num-left and ctrl-num-right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment