[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


What terminal file manager do anons use?
I'm on Yazi but I'm looking to leave it because it's clunky and annoying.
>>
>>107693406
yazi is by far the best.
>>
File: 1760163624100740.jpg (60 KB, 872x996)
60 KB
60 KB JPG
yukari is my sexy female teacher (sex with mature female women)
>>
>>107693425
on what metric
it's got a really weird UI, not really intuitive. like if I press right-arrow on that image, it won't just open the image. I need to type ; then type the name of the program I want to open it with. Just annoying shit like that.
>>107693434
>mature
she's like 23
>>
>>107693445
I just press enter on the image and it will open it in whatever program is setup for that filetype.
>>
File: diddynnn.png (181 KB, 1402x817)
181 KB
181 KB PNG
Grok configured nnn for me. The file manager's name is nnn. He helped me set it up with fzf where all I need to do is type

; o

and search for any file I want instantly. When I press Super+W a window named "music search" pops up. it is a xterm window running NNN and then I just ; o search for my music
>>
>>107693406
ewww
rust bloatware
>>
>>107693406
What is the point of terminal managers when you have terminal? Is it just a UI wrapper around ls, cd, find, etc...?
>>
File: 1766190344192099.png (707 KB, 1470x1340)
707 KB
707 KB PNG
>>107693519
Yeah have fun repeating ls and retrying various filenames whenever you need to find something you stupid nigger
>>
>>107693534
What the fuck did you just say to me?
>>
>>107693519
what is the point of using C when you could write in Assembler, gee idk
why not use bare-metal and rewrite every system program from memory each time you need to do something, fucktard
>>
File: IMG_7077.jpg (500 KB, 1560x1170)
500 KB
500 KB JPG
>>107693534
If you are struggling that much why not just use your desktop file manager? It doesn’t make any fucking sense to use terminal if you don’t have the skills and intelligence for it?
>>
>>107693560
not him, but I actually started using Dolphin for exactly this. it's just that a terminal fm is nice at times.
>>
File: 1744932024323390.png (18 KB, 680x620)
18 KB
18 KB PNG
>>107693560
>terminal requires intellect

>>107693554
/thread
>>
>>107693554
>>107693593
just use terminal commands and stop being retarded.
>>
File: 25.362.12.28.47.scrot.png (225 KB, 1920x1042)
225 KB
225 KB PNG
>>107693406
the interactive shell
>>
File: 25.362.12.32.58.scrot.png (34 KB, 1433x473)
34 KB
34 KB PNG
>>107693732
forgot these
>>
>>107693534
>using ls
see
>>107693732
>>107693761
>>
Plus, I'm gonna write a preview wrapper for fzf that uses a case statement to select preview commands according to file extensions. I already have one opening up images in mpv, but it isn't a case statement, and my terminal displays images, now. So, such a wrapper script would be perfect for general purpose usage with fzf, and I would only need to spawn an external window to view video files. Even audio files could be potentially handled in this way with something like sox or mpc.
>>
>>107693406
>no thumbnails
worthless
>>
>>107693406
mc
>>
>>107693406
fff
>>
I'm still using ranger. Shill me on something that matches ranger's feature set but runs faster?
>>
>>107693445
https://pastebin.com/aaFTvppf
what about nnn/ranger?
>>
>>107693445
you have to make a custom opener for files formats/mimeType, you can find the mimeType by using [Tab] after selecting something in yazi
also like this
>>107694185
in ~/.config/yazi/yazi.toml
>>
>>107694182
yazi is basically ranger but faster.
>>
>>107694185
>>107694185
yazi config changes too often. i've been running my own fork for a while and disabled the annoying daemon. overall it feels nice, but it lacks way too many features that ranger had. it recently got tabs but they aren't fully integrated afaik.

it suffers from the same issue as ranger, if you try to open a fuse filesystem (through jmtpfs or samba/ssh), it will try to preview every images and videos which will quickly cause the filsystem to overload and become unusable.
your only option is then to sigkill the yazi daemon and client. it's still missing proper shell support (e.g run yazi commands directly inside yazi) and other stuffs like :filter or @ that made ranger so nice to use. although being able to build plugins as object is really nice
>>
I wrote the wrapper. What I've shared requires mpv, viu, fd, fzf, ripgrep, nvimpager, as well as zsh for the global aliases and fzf plugin.
>>
>>107694841
>zsh scripting
ewww
>>
>>107694841
fzf_preview_wrapper
#!/bin/env bash

# place the following in your shell environment
# export FZF_MPV_PIDFILE="${XDG_CACHE_HOME:-$HOME/.cache}/fzf_mpv_preview.pid"

# Base from environment variable, fallback to default
BASE_PIDFILE="${FZF_MPV_PIDFILE:-${XDG_CACHE_HOME:-$HOME/.cache}/fzf_mpv_preview}"

# Dynamic per-instance PID file ($$ is the PID of this script invocation)
PIDFILE="${BASE_PIDFILE}_$$.pid"

# Ensure cache directory exists
mkdir -p "$(dirname "$BASE_PIDFILE")"

# Kill previous preview instance
if [[ -f "$PIDFILE" ]]; then
old_pid=$(cat "$PIDFILE")
if kill "$old_pid" 2>/dev/null; then
# echo "Closed previous mpv preview (PID $old_pid)"
true
else
# Stale PID file
rm -f "$PIDFILE"
fi
fi

if [[ -d "$1" ]]; then
eza --color=always --icons -sextension --group-directories-first -TL3 "$1"
elif [[ -f "$1" ]]; then
mimetype=$(file --dereference --brief --mime-type -- "$1")
case "$mimetype" in
video/*)
mpv \
--pause \
--keep-open=yes \
--autofit-larger=30%x30% \
--title="Preview: $(basename "$1")" \
--x11-name="mpv_preview" \
"$1" &

echo $! > "$PIDFILE"
;;

image/*)
viu "$1"
;;

audio/*)
# Placeholder for audio files
# mpv --no-video ... or another player
;;

application/pdf | application/epub+zip)
# Placeholder for PDFs, ePUBs
# zathura "$1" &
;;

text/* | inode/x-empty)
nvimpager -c "$1"
;;

*)
rg --binary . "$1"
;;
esac
fi
>>
>>107693406
what's clunky and annoying about it?
>>
>>107694849
I only use zsh for my interactive environment. All of my zsh scripts are invoked with -i, and in some way, shape, form, or another, pipe a command into 'source /dev/stdin'
>>
>>107693425
this tranny shit doesn't even work over tty
>>
>>107693434
I too have an adult woman fetish.
>>
>>107694213
>rust
>.toml config files
Fucking garbage. Why are these zoomer devs so fucking brain damaged?
>>
>>107693406
I have tried almost all of them. Yazi is about as good as it gets. I if you want something better you have to write it yourself.
>>
>>107693406
vifm. It's so much better I've been using it for the past 2 years.
>>
>>107695871
Done already, see below

>>107694841
>>107694871

just set keybindings for FZF_DEFAULT_OPTS in your shell config, like --bind='alt-d:execute<rm --interactive=always {}>'
>>
Fucking zoomers trying to reinvent the wheel.

mc
>>
>>107696569
>mc
No Miller columns layout.
>>
File: file.gif (3.92 MB, 400x250)
3.92 MB
3.92 MB GIF
>>107696019
I came here to post this
Vifm
>>
>>107696897
I'll be honest - I use mc as a tool so I'm not au fait with all the lingo.
Like ranger? Literally treeview. Again - zoomies discovering shit that has existed for decades.
>>
>>107696044
>>107696569
export FZF_DEFAULT_COMMAND="fd . --color=always -HL -d3 -E '.histfile' -E '.git' -E '.gitignore'  "
export FZF_DEFAULT_OPTS="\
--multi --ansi --cycle -x \
--header='FUZZY FINDER -- PRESS ALT-? FOR HELP' \
--header-border='none' \
--border=none --prompt='SEARCH: ' --pointer='>' --marker='+' \
--preview-window='\
75%,\
border-vertical\
' \
--info=inline \
--bind='\
alt-h:backward-char,\
alt-6:beginning-of-line,\
alt-4:end-of-line,\
alt-l:forward-char,\
alt-L:forward-word,\
alt-H:backward-word,\
alt-j:first,\
alt-k:last,\
alt-J:,\
alt-K:,\
up:up,\
down:down,\
shift-up:preview-half-page-up,\
shift-down:preview-half-page-down,\
tab:toggle,\
alt-space:toggle-all,\
alt-/:toggle-sort,\
alt-1:toggle-preview,\
left:toggle-preview-wrap,\
alt-p:preview<eza --color=always --icons -sextension --group-directories-first -lShugmx {};exiftool {}>,\
alt-t:execute<touch {+}>,\
alt-T:execute<touch {q}>,\
alt-k:execute<mkdir -p {q}>
alt-d:execute<rm --interactive=always {+}>,\
alt-D:execute<rm -rf --interactive=always {+}>,\
alt-c:execute<cp -i {+} {q}>,\
alt-C:execute<cp -ri {+} {q}>,\
alt-m:execute<mv -i {+} {q}>,\
alt-M:execute<mv -ri {+} {q}>,\
alt-?:preview<nvimpager -p /home/this/.config/zsh/fzfkeys>' \
--color='\
fg:-1,\
bg:-1,\
preview-fg:-1,\
preview-bg:-1,\
hl:6,\
fg+:-1:reverse,\
bg+:-1:reverse,\
hl+:6,\
query:-1,\
disabled:8,\
info:6,\
border:8,\
prompt:bold:15,\
pointer:bold:6,\
marker:bold:6,\
spinner:bold:6,\
header:bold:3,\
scrollbar:bold:6'"

source ~/.config/zsh/plugins/fzf/key-bindings.zsh
export FZF_ALT_C_COMMAND="fd . --color=always -HL -t d -d3 -E '.git' -E '.gitignore'"
export FZF_CTRL_T_COMMAND="fd . --color=always -HL -d3 -E '.git' -E '.gitignore'"
>>
>>107693519
Why are you doing ls manually? Why don't you want to use arrow keys to fly through directories? Why would you ever type cd .. when you could just press left arrow once? Do you have a fetish for excessive inputs and spamming tab?
>>
File: 25.362.18.44.04.scrot.png (303 KB, 960x521)
303 KB
303 KB PNG
>>107696991
>>107696044
>>107696569
fzfkeys
########### FZF ###############################################################
# tab | toggle select hovered item
# alt-space | toggle select all matches
# up,down | scroll list
# S-up,down | scroll preview
# alt-h,l | back/forward char
# alt-H,L | back/forward word
# alt-0,$ | BoL/EoL
# alt-j,k | first/last
# alt-/ | toggle sort +/-
# left | toggle preview wrap
# alt-1 | toggle preview
# alt-? | show this help
########### FILES #############################################################
# alt-p | show filesystem and exif metadata in preview
# alt-t | touch selected files
# alt-T | create files, type new filename into search and press alt-T
# alt-k | create directories, type new dirname into search and press alt-k
# alt-d | remove selected files (rm --interactive=always)
# alt-D | remove selected directories (rm -rf --interactive=always)
# alt-c | copy selected files to destination (cp -i {selections} {hovered directory})
# alt-C | copy selected directories to destination (cp -ri {selections} {hovered directory})
# alt-m | move selected files to destination (mv -i {selections} {hovered directory})
# alt-M | move selected directories to destination (mv -i {selections} {hovered directory})



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.