From 0b7eaefe11c6a8a6be447c4ecc342ebb7d2da6d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sat, 11 Nov 2023 12:32:25 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(bindings):=20kitty=20and=20fis?= =?UTF-8?q?h=20bindings=20for=20file=20explorers=20(GUI=20and=20TUI)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/fish/functions/fish_user_key_bindings.fish | 1 + .config/kitty/kitty.conf | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.config/fish/functions/fish_user_key_bindings.fish b/.config/fish/functions/fish_user_key_bindings.fish index 13ce8578..4ff99de1 100644 --- a/.config/fish/functions/fish_user_key_bindings.fish +++ b/.config/fish/functions/fish_user_key_bindings.fish @@ -14,4 +14,5 @@ function fish_user_key_bindings bind \e\cn navi bind \e\cr zellij-runner bind \e\[Z switch_kitty_tab + bind \e\ce fe end diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index 8881c5c8..86aff9b5 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -1618,7 +1618,7 @@ map kitty_mod+z scroll_to_prompt -1 #: Scroll to next shell prompt -map kitty_mod+x scroll_to_prompt 1 +#: map kitty_mod+x scroll_to_prompt 1 #: Browse scrollback buffer in pager @@ -1928,11 +1928,15 @@ map cmd+0 change_font_size all 0 #: Open URL -map kitty_mod+e open_url_with_hints +map kitty_mod+x open_url_with_hints #:: Open a currently visible URL using the keyboard. The program used #:: to open the URL is specified in open_url_with. +#: Open with file manager + +map kitty_mod+e launch --type=background --cwd=current sh -c "nemo $(pwd)" + #: Insert selected path map kitty_mod+p>f kitten hints --type path --program -