Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ 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"]
S = "surround_add" # Would be nice to be able to do something after this but it isn't chainable
";"= "repeat_last_motion"
# "C-;" = "collapse_selection"

H = "goto_window_top"
M = "goto_window_center"
L = "goto_window_bottom"

# Clipboards over registers ye ye
x = "delete_selection"
Expand Down Expand Up @@ -64,6 +70,11 @@ esc = ["collapse_selection", "keep_primary_selection"]
j = "move_line_down"
k = "move_line_up"

# Make gj and gk behave the same
[keys.normal.g]
j = "move_visual_line_down"
k = "move_visual_line_up"

# Extend and select commands that expect a manual input can't be chained
# I've kept d[X] commands here because it's better to at least have the stuff you want to delete
# selected so that it's just a keystroke away to delete
Expand Down