Repeat motion key

This commit is contained in:
Daniel Flanagan 2022-10-11 23:11:57 -05:00
parent 2e550272ad
commit 2f24e7c4f9
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
1 changed files with 8 additions and 6 deletions

View File

@ -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" }
"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"