diff options
Diffstat (limited to 'config/helix/config.toml')
-rw-r--r-- | config/helix/config.toml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/config/helix/config.toml b/config/helix/config.toml new file mode 100644 index 0000000..a9f43dd --- /dev/null +++ b/config/helix/config.toml @@ -0,0 +1,56 @@ +theme = "doy" + +[editor] +gutters = ["diagnostics"] +auto-info = false + +[keys.normal] +tab = ":w" +"|" = ":q" + +"H" = "goto_previous_buffer" +"L" = "goto_next_buffer" +"C-d" = ":buffer-close" + +"$" = "goto_line_end" +")" = "goto_line_start" +"_" = "goto_first_nonwhitespace" +"G" = "goto_last_line" + +"ret" = "goto_definition" +"backspace" = "jump_backward" + +"D" = "kill_to_line_end" +"Y" = ["select_mode", "goto_line_end", "yank", "normal_mode", "flip_selections", "collapse_selection"] + +"esc" = "collapse_selection" + +"C-c" = ":config-reload" + +[keys.normal.";"] +"x" = "toggle_comments" + +"h" = "select_prev_sibling" +"j" = "shrink_selection" +"k" = "expand_selection" +"l" = "select_next_sibling" + +"|" = "shell_pipe" +"!" = "shell_insert_output" +"$" = "shell_keep_pipe" + +[keys.select] +"$" = "goto_line_end" +")" = "goto_line_start" +"_" = "goto_first_nonwhitespace" +"G" = "goto_last_line" + +[keys.select.";"] +"x" = "toggle_comments" + +"|" = "shell_pipe" +"!" = "shell_insert_output" +"$" = "shell_keep_pipe" + +[keys.select."g"] +"q" = ":reflow" |