From c8b4129b3161397f4adc72d739d7e273d0315758 Mon Sep 17 00:00:00 2001 From: Darrell Sandstrom Date: Sun, 1 Mar 2015 17:27:54 -0800 Subject: [PATCH] Add keymaps --- keymaps/darwin.cson | 6 ++++++ keymaps/linux.cson | 6 ++++++ keymaps/win32.cson | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/keymaps/darwin.cson b/keymaps/darwin.cson index 5226bb5e6..79e33a8c8 100644 --- a/keymaps/darwin.cson +++ b/keymaps/darwin.cson @@ -135,6 +135,12 @@ 'cmd-k cmd-l': 'editor:lower-case' 'cmd-l': 'editor:select-line' 'ctrl-t': 'editor:transpose' + 'ctrl-alt-left': 'editor:move-to-previous-subword-boundary' + 'ctrl-alt-right': 'editor:move-to-next-subword-boundary' + 'ctrl-alt-shift-left': 'editor:select-to-previous-subword-boundary' + 'ctrl-alt-shift-right': 'editor:select-to-next-subword-boundary' + 'ctrl-alt-backspace': 'editor:delete-to-beginning-of-subword' + 'ctrl-alt-delete': 'editor:delete-to-end-of-subword' 'atom-workspace atom-text-editor:not([mini])': # Atom specific diff --git a/keymaps/linux.cson b/keymaps/linux.cson index 59803d193..6e13d70a0 100644 --- a/keymaps/linux.cson +++ b/keymaps/linux.cson @@ -93,6 +93,12 @@ 'ctrl-end': 'core:move-to-bottom' 'ctrl-shift-home': 'core:select-to-top' 'ctrl-shift-end': 'core:select-to-bottom' + 'alt-left': 'editor:move-to-previous-subword-boundary' + 'alt-right': 'editor:move-to-next-subword-boundary' + 'alt-shift-left': 'editor:select-to-previous-subword-boundary' + 'alt-shift-right': 'editor:select-to-next-subword-boundary' + 'alt-backspace': 'editor:delete-to-beginning-of-subword' + 'alt-delete': 'editor:delete-to-end-of-subword' # Sublime Parity 'ctrl-a': 'core:select-all' diff --git a/keymaps/win32.cson b/keymaps/win32.cson index da43ac364..e26aea717 100644 --- a/keymaps/win32.cson +++ b/keymaps/win32.cson @@ -90,6 +90,12 @@ 'ctrl-end': 'core:move-to-bottom' 'ctrl-shift-home': 'core:select-to-top' 'ctrl-shift-end': 'core:select-to-bottom' + 'alt-left': 'editor:move-to-previous-subword-boundary' + 'alt-right': 'editor:move-to-next-subword-boundary' + 'alt-shift-left': 'editor:select-to-previous-subword-boundary' + 'alt-shift-right': 'editor:select-to-next-subword-boundary' + 'alt-backspace': 'editor:delete-to-beginning-of-subword' + 'alt-delete': 'editor:delete-to-end-of-subword' # Sublime Parity 'ctrl-a': 'core:select-all'