From 0322424633e8f5f3272384cf069bb2843720a6cf Mon Sep 17 00:00:00 2001 From: Rudolf Tucek Date: Mon, 23 Nov 2026 00:50:14 +0100 Subject: [PATCH] fish: add edit command buffer Bind `edit_command_buffer`, allowing to write multi-line commands within a CLI editor (defined by the EDITOR variable). This keeps parity with bash's Ctrl + x Ctrl + e behavior. --- home/shell/fish.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/shell/fish.nix b/home/shell/fish.nix index b467793..bb31bc6 100644 --- a/home/shell/fish.nix +++ b/home/shell/fish.nix @@ -27,6 +27,9 @@ in # Avoid having Ctrl + d closing the shell bind \cd delete-char + # Edit the current command line in $EDITOR + bind \cx\ce edit_command_buffer + ${builtins.concatStringsSep "\n" btConnFuncs} # Add go's bin directory to path