From 2f24e7c4f919b08b5a5571319aa63ac880bf43fe Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Tue, 11 Oct 2022 23:11:57 -0500 Subject: [PATCH] Repeat motion key --- common/helix/config.toml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/common/helix/config.toml b/common/helix/config.toml index ae57a9a..e5b48e8 100644 --- a/common/helix/config.toml +++ b/common/helix/config.toml @@ -4,6 +4,7 @@ theme = "donokai" auto-pairs = false scrolloff = 8 rulers = [80, 120] +cursorline = true [editor.cursor-shape] normal = "block" @@ -19,17 +20,18 @@ character = "🭰" [keys.insert] j = { k = "normal_mode", j = "normal_mode", K = "normal_mode", J = "normal_mode" } -J = { k = "normal_mode", j = "normal_mode", K = "normal_mode", J = "normal_mode" } -k = { k = "normal_mode", j = "normal_mode", K = "normal_mode", J = "normal_mode" } -K = { k = "normal_mode", j = "normal_mode", K = "normal_mode", J = "normal_mode" } [keys.normal] D = "kill_to_line_end" -# C = ["kill_to_line_end", "insert_mode"] "^" = "goto_line_start" "C-k" = "jump_view_up" "C-j" = "jump_view_down" "C-h" = "jump_view_left" "C-l" = "jump_view_right" -"C-;" = "repeat_last_motion" -space = { q = ":reflow 80", Q = ":reflow 120" } \ No newline at end of file +"L" = "repeat_last_motion" +space = { q = ":reflow 80", Q = ":reflow 120" } + +[keys.select] +"^" = "goto_line_start" +space = { q = ":reflow 80", Q = ":reflow 120" } +"L" = "repeat_last_motion"