💾 Archived View for berus.flounder.online › linux › vifm_img.gmi captured on 2024-12-17 at 09:40:47. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

Vifm tippek

===========

Vifm kép előnézet Kitty terminálon (vifmrc):

fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm

\ kitten icat --silent --transfer-mode=file --place=%pwx%ph@%pxx%py %c >/dev/tty </dev/tty %N

\ %pc

\ kitten icat --clear --silent >/dev/tty </dev/tty %N

---

Vifm kép előnézet Chafa segítségével (vifmrc):

fileviewer {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm},<image/*>

\ chafa -f sixel --size=%pwx%ph --polite on %c %pd %N

\ %pc

set previewoptions=hardgraphicsclear

---

Vifm ssh kapcsolat (MC Shell-kapcsolat-hoz hasonló, vifmrc):

" Support for ssh remote

" :ssh user@remote:/path/to/remote/folder

filetype *.ssh FUSE_MOUNT2|sshfs %PARAM %DESTINATION_DIR

command ssh

\ : let $SSH_FILE = system('mktemp /tmp/XXXX.ssh')

\ | execute '!echo ''%a'' > $SSH_FILE; ls $SSH_FILE %%U'

\ | execute 'normal l'

\ | execute '!rm $SSH_FILE'