summaryrefslogtreecommitdiff
path: root/helix
diff options
context:
space:
mode:
authorBrad Clawsie <brad@b7j0c.org>2022-12-07 20:12:35 -0600
committerBrad Clawsie <brad@b7j0c.org>2022-12-07 20:12:35 -0600
commit254d197447e3bf8c96388e9a0b77491c386643a1 (patch)
treeabec27c75b72c1190a6ab21110323e0b8b287eff /helix
parent5f0e27b20753e8338058c5fd1a9b8f757cac6cff (diff)
helix
Diffstat (limited to 'helix')
-rw-r--r--helix/config.toml17
1 files changed, 17 insertions, 0 deletions
diff --git a/helix/config.toml b/helix/config.toml
index ce4f3be..faf4c7d 100644
--- a/helix/config.toml
+++ b/helix/config.toml
@@ -3,3 +3,20 @@ theme = "base16_default"
[editor]
shell = ["fish", "-c"]
gutters = ["diagnostics"]
+auto-save = true
+
+[keys.normal]
+"0" = "goto_line_start"
+"$" = "goto_line_end"
+G = "goto_file_end"
+
+[keys.select]
+"0" = "goto_line_start"
+"$" = "goto_line_end"
+G = "goto_file_end"
+d = ["yank_main_selection_to_clipboard", "delete_selection"]
+x = ["yank_main_selection_to_clipboard", "delete_selection"]
+y = ["yank_main_selection_to_clipboard", "normal_mode", "flip_selections", "collapse_selection"]
+Y = ["extend_to_line_bounds", "yank_main_selection_to_clipboard", "goto_line_start", "collapse_selection", "normal_mode"]
+p = "replace_selections_with_clipboard"
+P = "paste_clipboard_before"