New to Busy?

LINUXOPOLIS # 25-FEBRUARY-2020 ~ FZF

0 comments

wglenz
54
last month

FZF

Building a Linux Habitat
willi glenz @ telegram
Published with SteemPeak
home ~ previous

screenshot by willi glenz

$ vim ~/.config/fish/functions/gfzf.fish

function gfzf --description "fzf"
    clear; echo
    echo '=========================================================================='
    echo '                                    FZF                                   '
    echo '=========================================================================='
    echo ' # apt install fzf                                                        '
    echo ' $ whatis fzf                                                             '
    echo ' $ apt-cache show fzf                                                     '
    echo ' $ man fzf                                                                '
    echo '--------------------------------------------------------------------------'
    echo ' <fish>$ vim (fzf -e --preview="head -100 {}")                            '
    echo ' <fish>$ vim (fzf --height 40%)                                           '
    echo ' $ fzf > file.txt                                                         '
    echo ' $ history | fzf                                                          '
    echo '=========================================================================='
    echo
end
SOURCES
 arch-wiki ......................................... wiki.archlinux.org/index.php/Fzf
 man-pages ................................................................ $ man fzf
 github ..................................................... github.com/junegunn/fzf
 picture ....................................... screenshoot by me ~ my gnome-desktop

Comments

Sort byBest