From 141da613017f8bc8d080878341bd6a713ef0e855 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Tue, 22 Oct 2013 15:27:27 -0700 Subject: [PATCH] Commands for moving in buffer more consistent with sublime --- keymaps/apple.cson | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/keymaps/apple.cson b/keymaps/apple.cson index 5087286d8..83b856c82 100644 --- a/keymaps/apple.cson +++ b/keymaps/apple.cson @@ -5,16 +5,24 @@ 'meta-shift-down': 'core:select-to-bottom' '.editor': + 'meta-left': 'editor:move-to-first-character-of-line' 'meta-right': 'editor:move-to-end-of-line' - 'meta-left': 'editor:move-to-beginning-of-line' - 'alt-left': 'editor:move-to-beginning-of-word' - 'alt-right': 'editor:move-to-end-of-word' - 'meta-shift-left': 'editor:select-to-beginning-of-line' + 'meta-shift-left': 'editor:select-to-first-character-of-line' 'meta-shift-right': 'editor:select-to-end-of-line' - 'alt-shift-left': 'editor:select-to-beginning-of-word' - 'alt-shift-right': 'editor:select-to-end-of-word' + + 'home': 'editor:move-to-first-character-of-line' + 'end': 'editor:move-to-end-of-line' + 'shift-home': 'editor:select-to-first-character-of-line' + 'shift-end': 'editor:select-to-end-of-line' + + 'alt-left': 'editor:move-to-previous-word-boundary' + 'alt-right': 'editor:move-to-next-word-boundary' + 'alt-shift-left': 'editor:select-to-previous-word-boundary' + 'alt-shift-right': 'editor:select-to-next-word-boundary' + 'alt-backspace': 'editor:backspace-to-beginning-of-word' 'meta-backspace': 'editor:backspace-to-beginning-of-line' + 'alt-delete': 'editor:delete-to-end-of-word' 'ctrl-t': 'editor:transpose' 'ctrl-A': 'editor:select-to-first-character-of-line'