changeset 1053:6228efcc628d

feat: map ctrl-z to fg
author Zeger Van de Vannet <zeger.van_de_vannet@nokia.com>
date Tue, 23 Jul 2024 16:47:29 +0200
parents 33ed4d4bba1d
children d3fa07d2c197
files dot_config/private_fish/config.fish
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dot_config/private_fish/config.fish	Tue Jul 23 16:46:22 2024 +0200
+++ b/dot_config/private_fish/config.fish	Tue Jul 23 16:47:29 2024 +0200
@@ -33,6 +33,9 @@
     # Push current cmdline input to the stack
     bind \eq push-input
 
+    # fg on ctrl-z
+    bind \cz 'fg 2>/dev/null; commandline -f repaint'
+
     # FZF aliases
     alias cdh fzf_cdhist