summaryrefslogtreecommitdiff
path: root/fish/conf.d/fish_frozen_key_bindings.fish
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-03 23:32:00 +0300
committerPaul Buetow <paul@buetow.org>2026-06-03 23:32:00 +0300
commit46498c17ac38dca2e0f85f4df14eeff9903bb1c5 (patch)
treea0327cbbdfeee4b24f6bae457f61e1cb7c1d8482 /fish/conf.d/fish_frozen_key_bindings.fish
parentafd73bb974b321fea036d0b785a46168f79dc658 (diff)
feat: add fish 4.3 migration files and tmux extended-keys support
- fish_frozen_key_bindings.fish: migrate fish_key_bindings to global scope - fish_frozen_theme.fish: migrate syntax highlighting theme to global scope - gemtexter.fish: add gemtexter publish functions - tmux.conf: enable extended-keys for modern terminal key handling
Diffstat (limited to 'fish/conf.d/fish_frozen_key_bindings.fish')
-rw-r--r--fish/conf.d/fish_frozen_key_bindings.fish14
1 files changed, 14 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