From ef39c8823160796ce4f498279a163c26bd3cb614 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Fri, 28 Jul 2023 20:08:31 -0500 Subject: [PATCH] restore ctrl+f to accept suggestions --- nix/home/features/cli/fish.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nix/home/features/cli/fish.nix b/nix/home/features/cli/fish.nix index 415324d..2413156 100644 --- a/nix/home/features/cli/fish.nix +++ b/nix/home/features/cli/fish.nix @@ -41,6 +41,12 @@ in set fish_cursor_replace_one underscore blink set fish_cursor_visual block '' + + # Restore ctrl+f to accept suggestions + '' + bind -M insert \cf forward-char + bind -M default \cf forward-char + bind -M visual \cf forward-char + '' + # Use terminal colors '' set -U fish_color_autosuggestion brblack