From 908d7719fb8f20843583263f47372d4ce6a12c85 Mon Sep 17 00:00:00 2001 From: alexion Date: Mon, 20 Jul 2026 21:52:00 -0400 Subject: [PATCH] feat(fish): restore ctrl-f autosuggestion accept in vi insert mode --- modules/fish/fish.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/fish/fish.nix b/modules/fish/fish.nix index 452a93f..b6eb305 100644 --- a/modules/fish/fish.nix +++ b/modules/fish/fish.nix @@ -86,6 +86,10 @@ in functions = { fish_greeting = "fastfetch"; + # vi insert mode omits the emacs ctrl-f binding, so accepting an + # autosuggestion needs it restored. + fish_user_key_bindings = "bind -M insert ctrl-f forward-char"; + history = { description = "Show command history with timestamps"; body = "builtin history --show-time='%F %T '";