From 3c8da0fc3fce7400327301d5edcf73f6d8490eb6 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Fri, 6 Aug 2021 18:09:36 -0400 Subject: [PATCH] Added in selection as well. --- data/core/keymap-macos.lua | 2 +- data/core/keymap.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/core/keymap-macos.lua b/data/core/keymap-macos.lua index 757b25d..647cb13 100644 --- a/data/core/keymap-macos.lua +++ b/data/core/keymap-macos.lua @@ -95,7 +95,7 @@ local function keymap_macos(keymap) ["cmd+shift+right"] = "doc:select-to-next-word-end", ["cmd+shift+["] = "doc:select-to-previous-block-start", ["cmd+shift+]"] = "doc:select-to-next-block-end", - ["shift+home"] = "doc:select-to-start-of-line", + ["shift+home"] = "doc:select-to-start-of-indentation", ["shift+end"] = "doc:select-to-end-of-line", ["cmd+shift+home"] = "doc:select-to-start-of-doc", ["cmd+shift+end"] = "doc:select-to-end-of-doc", diff --git a/data/core/keymap.lua b/data/core/keymap.lua index a757cbc..93ca39a 100644 --- a/data/core/keymap.lua +++ b/data/core/keymap.lua @@ -199,7 +199,7 @@ keymap.add_direct { ["ctrl+shift+right"] = "doc:select-to-next-word-end", ["ctrl+shift+["] = "doc:select-to-previous-block-start", ["ctrl+shift+]"] = "doc:select-to-next-block-end", - ["shift+home"] = "doc:select-to-start-of-line", + ["shift+home"] = "doc:select-to-start-of-indentation", ["shift+end"] = "doc:select-to-end-of-line", ["ctrl+shift+home"] = "doc:select-to-start-of-doc", ["ctrl+shift+end"] = "doc:select-to-end-of-doc",