Showing posts with label vifm. Show all posts
Showing posts with label vifm. Show all posts

Saturday, July 6, 2024

Vifm unzip a file

how to unzip a file

:!unzip file

vifm how to toggle splits

- use the :only command for 1 pane

- :vsplit for vertical 

- :split for horizontal

Friday, July 5, 2024

how to toggle hidden files in vifm

ZA toggles on off

how to cd around using vifm

you add this to your .bashrc and then source .bashrc


vicd()
{
    local dst="$(command vifm --choose-dir - "$@")"
    if [ -z "$dst" ]; then
        echo 'Directory picking cancelled/failed'
        return 1
    fi
    cd "$dst"
}

THE TRICK is you need to use vicd to open vifm!! NOT VIFM. i was banging my head against a wall wondering why this wasn't working for me till i realized this

vicd is the new vifm

vifm dark theme


rm -rf ~/.config/vifm/colors

git clone https://github.com/vifm/vifm-colors ~/.config/vifm/colors

Load with :colorscheme theme-name in vifm, or write colorscheme theme-name in vifm's configuration file ~/.config/vifm/vifmrc.


vim ~/.config/vifm/vifmrc

# set colorscheme //
colorscheme nord

for images in vifm ** not working come back and fix this --


" Open images with sxiv
command open_with_sxiv sxiv %c