From 4a6af907de4dcd4d0b6ac35811f20613e1421462 Mon Sep 17 00:00:00 2001 From: Dongdong Zhou Date: Thu, 17 Mar 2022 10:43:12 +0000 Subject: [PATCH] change some key bindings --- defaults/keymaps-linux.toml | 9 +++++++-- defaults/keymaps-windows.toml | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/defaults/keymaps-linux.toml b/defaults/keymaps-linux.toml index 4136cda3..dcc2cdbc 100644 --- a/defaults/keymaps-linux.toml +++ b/defaults/keymaps-linux.toml @@ -61,12 +61,12 @@ mode = "i" # ------------------------------------ Multi cursor ------------------------------------- [[keymaps]] -key = "alt+shift+up" +key = "alt+ctrl+up" command = "insert_cursor_above" mode = "i" [[keymaps]] -key = "alt+shift+down" +key = "alt+ctrl+down" command = "insert_cursor_below" mode = "i" @@ -80,6 +80,11 @@ key = "ctrl+l" command = "select_current_line" mode = "i" +[[keymaps]] +key = "ctrl+L" +command = "select_all_current" +mode = "i" + [[keymaps]] key = "ctrl+u" command = "select_undo" diff --git a/defaults/keymaps-windows.toml b/defaults/keymaps-windows.toml index 2afc4f1e..dcc2cdbc 100644 --- a/defaults/keymaps-windows.toml +++ b/defaults/keymaps-windows.toml @@ -81,8 +81,8 @@ command = "select_current_line" mode = "i" [[keymaps]] -key = "ctrl+l" -command = "select_all_current_selection" +key = "ctrl+L" +command = "select_all_current" mode = "i" [[keymaps]]