From bff9c54e944190fec4d77f96113b0b206b5f424a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sat, 24 Aug 2024 01:49:56 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=EF=B8=8F=20remove(fish):=20some=20?= =?UTF-8?q?custom=20bindings=20and=20the=20cdzi=20function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/fish/functions/cdzi.fish | 10 ---------- .config/fish/functions/fish_user_key_bindings.fish | 8 -------- 2 files changed, 18 deletions(-) delete mode 100644 .config/fish/functions/cdzi.fish diff --git a/.config/fish/functions/cdzi.fish b/.config/fish/functions/cdzi.fish deleted file mode 100644 index 2f1f0f6c..00000000 --- a/.config/fish/functions/cdzi.fish +++ /dev/null @@ -1,10 +0,0 @@ -function cdzi --description 'Open directories from zoxide in a new Kitty tab' - set selected_dir (zi) - - if test -n "$selected_dir" - set tab_title (basename "$selected_dir") - set new_tab_cmd "kitty @ set-tab-title \"$tab_title\"; and cd $selected_dir" - else - commandline -f repaint - end -end diff --git a/.config/fish/functions/fish_user_key_bindings.fish b/.config/fish/functions/fish_user_key_bindings.fish index 14952f89..eb236661 100644 --- a/.config/fish/functions/fish_user_key_bindings.fish +++ b/.config/fish/functions/fish_user_key_bindings.fish @@ -11,12 +11,4 @@ function fish_user_key_bindings break end end - - - bind \e\cw rga-fzf - bind \e\z cdzi - bind \e\cn navi - bind \e\cr repos - bind \e\[Z switch_kitty_tab - bind \e\ce fe end