diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 0f6c5b3..00aec33 100755 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -2,6 +2,7 @@ set -gx D /mnt/LocalDiskD set -gx fish_user_paths ~/.local/bin /usr/bin /usr/local/bin /bin /usr/sbin /usr/local/sbin /sbin $PLAN9/bin set -gx ENV .profile +set -gx FFF_CD_FILE ~/.fff_d # PROGRAM SETTINGS # set -gx EDITOR nvim diff --git a/.config/fish/functions/f.fish b/.config/fish/functions/f.fish new file mode 100755 index 0000000..861404d --- /dev/null +++ b/.config/fish/functions/f.fish @@ -0,0 +1,5 @@ +# Defined in /tmp/fish.bYrYO7/fff.fish @ line 2 +function f + eval $D/Source/fff/fff $argv + cd /(cat ~/.fff_d) +end diff --git a/.config/fish/functions/fff.fish b/.config/fish/functions/fff.fish deleted file mode 100755 index 1ec9ae4..0000000 --- a/.config/fish/functions/fff.fish +++ /dev/null @@ -1,4 +0,0 @@ -# Defined in /tmp/fish.Dmucz1/fff.fish @ line 2 -function fff - eval $D/Source/fff/fff $argv -end diff --git a/.config/fish/functions/fish_user_key_bindings.fish b/.config/fish/functions/fish_user_key_bindings.fish index dfe9ce1..fc63b89 100755 --- a/.config/fish/functions/fish_user_key_bindings.fish +++ b/.config/fish/functions/fish_user_key_bindings.fish @@ -1,5 +1,6 @@ -# Defined in /tmp/fish.iUTHMQ/fish_user_key_bindings.fish @ line 2 +# Defined in /tmp/fish.JFpPwv/fish_user_key_bindings.fish @ line 2 function fish_user_key_bindings - bind \co 'ranger-cd' -bind \eo 'cd (ffd | fzf)' + bind \co 'f' + bind \eo 'cd (ffd | fzf)' + bind \ed 'ncdu' end