summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fish/conf.d/fish_frozen_key_bindings.fish14
-rw-r--r--fish/conf.d/fish_frozen_theme.fish48
-rw-r--r--fish/conf.d/gemtexter.fish13
-rw-r--r--tmux/tmux.conf5
4 files changed, 80 insertions, 0 deletions
diff --git a/fish/conf.d/fish_frozen_key_bindings.fish b/fish/conf.d/fish_frozen_key_bindings.fish
new file mode 100644
index 0000000..dfed4d6
--- /dev/null
+++ b/fish/conf.d/fish_frozen_key_bindings.fish
@@ -0,0 +1,14 @@
+# This file was created by fish when upgrading to version 4.3, to migrate
+# the 'fish_key_bindings' variable from its old default scope (universal)
+# to its new default scope (global). We recommend you delete this file
+# and configure key bindings in ~/.config/fish/config.fish if needed.
+
+set --global fish_key_bindings fish_vi_key_bindings
+
+# Prior to version 4.3, fish shipped an event handler that runs
+# `set --universal fish_key_bindings fish_default_key_bindings`
+# whenever the fish_key_bindings variable is erased.
+# This means that as long as any fish < 4.3 is still running on this system,
+# we cannot complete the migration.
+# As a workaround, erase the universal variable at every shell startup.
+set --erase --universal fish_key_bindings
diff --git a/fish/conf.d/fish_frozen_theme.fish b/fish/conf.d/fish_frozen_theme.fish
new file mode 100644
index 0000000..1e4550f
--- /dev/null
+++ b/fish/conf.d/fish_frozen_theme.fish
@@ -0,0 +1,48 @@
+# This file was created by fish when upgrading to version 4.3, to migrate
+# theme variables from universal to global scope.
+# Don't edit this file, as it will be written by the web-config tool (`fish_config`).
+# To customize your theme, delete this file and see
+# help interactive#syntax-highlighting
+# or
+# man fish-interactive | less +/^SYNTAX.HIGHLIGHTING
+# for appropriate commands to add to ~/.config/fish/config.fish instead.
+# See also the release notes for fish 4.3.0 (run `help relnotes`).
+
+set --global fish_color_autosuggestion 4D5566
+set --global fish_color_cancel --reverse
+set --global fish_color_command 39BAE6
+set --global fish_color_comment 626A73
+set --global fish_color_cwd 59C2FF
+set --global fish_color_cwd_root red
+set --global fish_color_end F29668
+set --global fish_color_error FF3333
+set --global fish_color_escape 95E6CB
+set --global fish_color_history_current --bold
+set --global fish_color_host normal
+set --global fish_color_host_remote yellow
+set --global fish_color_keyword 39BAE6
+set --global fish_color_match F07178
+set --global fish_color_normal B3B1AD
+set --global fish_color_operator E6B450
+set --global fish_color_option B3B1AD
+set --global fish_color_param B3B1AD
+set --global fish_color_quote C2D94C
+set --global fish_color_redirection FFEE99
+set --global fish_color_search_match --background=E6B450
+set --global fish_color_selection --background=E6B450
+set --global fish_color_status red
+set --global fish_color_user brgreen
+set --global fish_color_valid_path --underline
+set --global fish_pager_color_background
+set --global fish_pager_color_completion normal
+set --global fish_pager_color_description B3A06D
+set --global fish_pager_color_prefix normal --bold --underline
+set --global fish_pager_color_progress brwhite --background=cyan
+set --global fish_pager_color_secondary_background
+set --global fish_pager_color_secondary_completion
+set --global fish_pager_color_secondary_description
+set --global fish_pager_color_secondary_prefix
+set --global fish_pager_color_selected_background --background=E6B450
+set --global fish_pager_color_selected_completion
+set --global fish_pager_color_selected_description
+set --global fish_pager_color_selected_prefix
diff --git a/fish/conf.d/gemtexter.fish b/fish/conf.d/gemtexter.fish
new file mode 100644
index 0000000..b91752c
--- /dev/null
+++ b/fish/conf.d/gemtexter.fish
@@ -0,0 +1,13 @@
+if test -d ~/git/gemtexter
+ function gemtexter::publish
+ cd ~/git/gemtexter
+ ./gemtexter --publish
+ cd -
+ end
+
+ function gemtexter::publish::force
+ cd ~/git/gemtexter
+ ./gemtexter --publish --force
+ cd -
+ end
+end
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
index e932031..6224f70 100644
--- a/tmux/tmux.conf
+++ b/tmux/tmux.conf
@@ -50,6 +50,11 @@ set -g status-right '#{@hexai_status} #[fg=colour8]| %H:%M'
set -g status-right-length 120
set-environment -g HEXAI_TMUX_STATUS_THEME white-on-purple
+# Enable the extended-keys feature so tmux can distinguish modified Enter
+# keys (Shift+Enter, Ctrl+Enter, Alt+Enter) from plain Enter. Required by
+# modern terminals that send distinct escape sequences for these.
+set -g extended-keys on
+
# Use csi-u (Kitty) extended key encoding for unambiguous modifier+key combos.
# The default xterm format causes ambiguity with Ctrl/Alt/Shift combinations.
set -g extended-keys-format csi-u