From be466769446ebb92f2bda58f1bbe94beaa26f800 Mon Sep 17 00:00:00 2001 From: buffet Date: Mon, 6 Mar 2023 13:27:46 +0100 Subject: [PATCH] feat(bash): improve C-o handling --- programs/bash.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/bash.nix b/programs/bash.nix index 8a84411..c2e36fd 100644 --- a/programs/bash.nix +++ b/programs/bash.nix @@ -38,7 +38,7 @@ in { } PROMPT_COMMAND="__prompt" - bind '"\C-o": "\C-a\C-k fg\n"' + bind '"\C-o": "\C-a\C-k fg; if [[ $? == 1 ]]; then nvim; fi\n"' bind '"\e\C-m": "\C-e | nvim\C-m"' ''; };