stuff
This commit is contained in:
parent
c5b629b295
commit
69165bbbf7
9 changed files with 213 additions and 94 deletions
|
@ -50,7 +50,6 @@ after-delay.enable = true
|
|||
after-delay.timeout = 3000
|
||||
|
||||
[keys.normal]
|
||||
# Nicities
|
||||
esc = ["collapse_selection", "keep_primary_selection"]
|
||||
|
||||
C-h = "select_prev_sibling"
|
||||
|
@ -65,13 +64,7 @@ C-r = "redo"
|
|||
|
||||
x = "extend_line"
|
||||
|
||||
# Vim-like
|
||||
V = ["select_mode", "extend_to_line_bounds"]
|
||||
C = ["extend_to_line_end", "yank_main_selection_to_clipboard", "delete_selection", "insert_mode"]
|
||||
D = ["extend_to_line_end", "yank_main_selection_to_clipboard", "delete_selection"]
|
||||
G = "goto_last_line"
|
||||
|
||||
# Vim-like but also generally useful
|
||||
# Vim
|
||||
"{" = ["goto_prev_paragraph", "collapse_selection"]
|
||||
"}" = ["goto_next_paragraph", "collapse_selection"]
|
||||
|
||||
|
@ -84,7 +77,9 @@ a = ["append_mode", "collapse_selection"]
|
|||
|
||||
u = ["undo", "collapse_selection"]
|
||||
|
||||
## Search for word under cursor
|
||||
G = "goto_last_line"
|
||||
|
||||
# Search for word under cursor
|
||||
"*" = ["move_char_right", "move_prev_word_start", "move_next_word_end", "search_selection", "search_next"]
|
||||
"#" = ["move_char_right", "move_prev_word_start", "move_next_word_end", "search_selection", "search_prev"]
|
||||
|
||||
|
@ -92,20 +87,13 @@ u = ["undo", "collapse_selection"]
|
|||
esc = ["collapse_selection", "normal_mode"]
|
||||
|
||||
[keys.select]
|
||||
# Nicities
|
||||
esc = ["collapse_selection", "keep_primary_selection", "normal_mode"]
|
||||
|
||||
";" = ["collapse_selection", "normal_mode"]
|
||||
|
||||
x = "extend_line"
|
||||
|
||||
# Vim-like
|
||||
V = ["select_mode", "extend_to_line_bounds"]
|
||||
C = ["extend_to_line_end", "yank_main_selection_to_clipboard", "delete_selection", "insert_mode"]
|
||||
D = ["extend_to_line_end", "yank_main_selection_to_clipboard", "delete_selection"]
|
||||
G = "goto_last_line"
|
||||
|
||||
# Vim-like but also generally useful
|
||||
# Vim
|
||||
"{" = ["goto_prev_paragraph", "collapse_selection"]
|
||||
"}" = ["goto_next_paragraph", "collapse_selection"]
|
||||
|
||||
|
@ -115,3 +103,5 @@ a = "select_textobject_around"
|
|||
0 = "goto_first_nonwhitespace"
|
||||
"^" = "goto_line_start"
|
||||
"$" = "goto_line_end"
|
||||
|
||||
G = "goto_last_line"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue