mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-30 10:33:16 +00:00
Fish: Replace ranger with fff; add ncdu binding
This commit is contained in:
parent
d6712a7b18
commit
16a0e87813
|
@ -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
|
||||
|
|
5
.config/fish/functions/f.fish
Executable file
5
.config/fish/functions/f.fish
Executable file
|
@ -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
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.Dmucz1/fff.fish @ line 2
|
||||
function fff
|
||||
eval $D/Source/fff/fff $argv
|
||||
end
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue