Skip to content

ConnerWill/yayfzf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yayfzf

AUR package fzf finder to search, install, remove, and manage packages using yay yay

Shellcheck GitHub last commit GitHub issues GitHub repo size GitHub top language GitHub language count License GitHub Release Version AUR Version GitLab

Description

AUR package fzf finder to search, install, remove, and manage packages using yay

Table of Contents

Screenshots

demo screenshot demo screenshot_old-theme

See the wiki for more screenshots/demos

Installation

See the wiki for installation instructions

Dependencies

  • fzf
  • yay

Make sure you have fzf and yay installed as they are the meat and potatoes of this script

See the wiki for more information

Usage

If you added the script to your PATH as mentioned above, you can run the command yayfzf

yayfzf can be either be executed directly or can be sourced to be invoked later

Running directly

./yayfzf

Running if added to $PATH

yayfzf

Sourcing and invoking later

source yayfzf

yayfzf

Running yayfzf without any arguments or queries will list all availiable packages to be interactively searched using fzf

Example of running the script with no search query

yayfzf

Example of running the script with input searching for "fzf"

yayfzf fzf

Hotkeys

There are specific hotkeys that allow you to interact with yayfzf Allowing you to install/remove packages, nagivate and view other packages, and change the fzf window formatting.

Click to hotkeys section

Here is a list of the default hotkeys

TAB+d : Select

SHIFT+TAB : Unselect

CTRL+d : Deselect all

CTRL+i : Install selected packages

CTRL+r : Uninstall selected packages

CTRL+u : Update all packages

CTRL+n : History next

CTRL+p : History previous

CTRL+/ : Change layout

CTRL+v : Hide/show preview

HOME : Top

END : Bottom

PGUP : Scroll one page up

PGDN : Scroll one page down

CTRL+h : Show help

? : Show keybindings

CTRL+c : Exit

CTRL+q : Exit

ESC : Exit

KEYBINDINGS:

                     TAB : Select
               Shift-TAB : Unselect
                  Ctrl-d : Deselect all
                  Ctrl-i : Install selected
                  Ctrl-r : Uninstall selected
                  Ctrl-u : Update all packages
                  Ctrl-n : History next
                  Ctrl-p : History previous
                  Ctrl-/ : Change layout
                  Ctrl-v : Hide/show preview
                    HOME : Top
                     END : Bottom
                  PAGEUP : Scroll one page up
                PAGEDOWN : Scroll one page down
                  Ctrl-l : Clear query
           Alt-backspace : Clear query
                Alt-left : Delete word
                 Ctrl-h  : Show help
                       ? : Show keybindings
                  Ctrl-c : Exit
                  Ctrl-q : Exit
                     ESC : Exit

Other than running the script and finding out for yourself, I suggest reading the fzf documentation if you want to learn more about the keybindings.

(back to top)

Customization

See the wiki

Other

Wiki

Check out the wiki for more information

Contributing

Click to expand contributing section

Any contributions you make are greatly appreciated.

If you want to contribute, please fork this repo and create a pull request.

  1. Fork the Project
  2. Create your Feature Branch
git checkout -b AmazingNewFeature
  1. Commit your Changes
git commit -m 'Description of the amazing feature you added'
  1. Push to the Branch
git push origin AmazingNewFeature
  1. Then open a pull request :)

If you experience any bugs/issues or have and suggestions, you can simply open an issue :)

Donate

Monero (XMR) icon and wallet QR code XMR : 86tE67soBqFb5fxNGgC4HLdwZXebP42ewfBwfKyMDKvFbgA7T8p4g4T5BBNA9LNbwaVafup973w41PdvCS7bbj6gTNQpCh1

₿ BTC : bc1qpg5d69n2knsete7vw7f2vqpkg4a0faq9rc6se0

(back to top)