diff --git a/config.toml b/config.toml index 4e35f54..94d094c 100644 --- a/config.toml +++ b/config.toml @@ -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" @@ -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