From ea9869e367d9a3799f2668460277597a21f685fb Mon Sep 17 00:00:00 2001 From: DustVoice Date: Fri, 9 Sep 2022 14:08:45 +0200 Subject: [PATCH] Add sane keybindings --- .config/fish/functions/fish_user_key_bindings.fish | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.config/fish/functions/fish_user_key_bindings.fish b/.config/fish/functions/fish_user_key_bindings.fish index 5de85da..477441b 100644 --- a/.config/fish/functions/fish_user_key_bindings.fish +++ b/.config/fish/functions/fish_user_key_bindings.fish @@ -1,3 +1,9 @@ function fish_user_key_bindings fish_vi_key_bindings + + bind \f -M insert 'accept-autosuggestion' + bind \b -M insert 'cancel-commandline' + bind \v 'up_or_search' + bind \n 'down_or_search' + bind \cE -M insert 'edit_command_buffer' end