summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/helix/config.toml5
-rwxr-xr-xdotfiles/scripts/hx.aichat-prompt2
2 files changed, 5 insertions, 2 deletions
diff --git a/dotfiles/helix/config.toml b/dotfiles/helix/config.toml
index 9b118c4..536c7c4 100644
--- a/dotfiles/helix/config.toml
+++ b/dotfiles/helix/config.toml
@@ -1,4 +1,4 @@
-theme = "default"
+theme = "github_dark_high_contrast"
[editor]
bufferline = "always"
@@ -40,6 +40,9 @@ newline = "none"
[keys.normal]
D = ["ensure_selections_forward", "extend_to_line_end"]
S = ["ensure_selections_forward", "extend_to_line_start"]
+0 = ["select_mode", "extend_to_file_start"]
+G = ["ensure_selections_forward", "extend_to_file_end"]
+"^" = ["move_prev_word_start", "move_next_word_end", "search_selection", "global_search"]
"ret" = "goto_word"
C-c = "yank_main_selection_to_clipboard"
diff --git a/dotfiles/scripts/hx.aichat-prompt b/dotfiles/scripts/hx.aichat-prompt
index 0ccd41b..72848ed 100755
--- a/dotfiles/scripts/hx.aichat-prompt
+++ b/dotfiles/scripts/hx.aichat-prompt
@@ -1,3 +1,3 @@
#!/usr/bin/env zsh
-aichat "$(hx.prompt). Answer only. If it is code, code only without code-block at the beginning and the end."
+aichat "$(hx.prompt). $@ Answer only. If it is code, code only without code-block at the beginning and the end."