This commit is contained in:
Andrei Parhomenko 2025-04-13 01:24:39 +05:00
parent 372eac5bcc
commit 1fcc63f9e9
5 changed files with 12 additions and 2 deletions

View file

@ -7,3 +7,5 @@ test -r "$LOGIN" && . "$LOGIN"
test -r "$SETENV" && . "$SETENV" && setenv bash
. "$HOME/.cargo/env"
[ -f ~/.fzf.bash ] && source ~/.fzf.bash

View file

@ -143,8 +143,8 @@ fi
export VISUAL="$EDITOR"
export GIT_EDITOR="$VISUAL"
export PAGER=`which_first moar bat most less more cat`
export MANPAGER="`which_first moar less more`"
export PAGER=`which_first ov moar bat most less more cat`
export MANPAGER="`which_first ov moar less more`"
export CLI_DMENU=`which_first fzf`
export CLI_FILE_MANAGER=`which_first lf`

View file

@ -69,3 +69,7 @@ function lfcd --wraps="lf" --description="lf - Terminal file manager (changing d
# Quotes will cause `cd` to not change directory if `lf` prints nothing to stdout due to an error.
cd "$(command lf -print-last-dir $argv)"
end
function playlists --description="choose playlist and start it in mpv"
mpv (make-m3u https://file.surdeus.su/playlists | fzf)
end

View file

@ -26,3 +26,4 @@ SETUVAR fish_pager_color_description:B3A06D\x1eyellow
SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr
SETUVAR fish_user_paths:/home/surdeus/dev/fzf/bin

View file

@ -0,0 +1,3 @@
function fish_user_key_bindings
fzf --fish | source
end