Better HN
topnewbestaskshowjobs
Log inSign up

apjana

661 karma · joined Aug 22, 2015 (11y ago) · 476 submissions

Submissions

comment 4y ago · link · parent

You can set glow (https://github.com/charmbracelet/glow) as the markdown previewer in nnn if you use a customer opener.

comment 5y ago · link · parent

Also check if your terminal supports Shift-PgUp/PgDn to scroll up/down a page.

Works in gnome terminal: https://help.gnome.org/users/gnome-terminal/stable/adv-keybo...

comment 5y ago · link · parent

Yes, nnn is completely navigation oriented with an extra focus on speed and remaining lightweight. The plugin autojump supports jump/autojump/zoxide.

4.

Show HN: Imgp – High-performance CLI batch image resizer and rotator(github.com ↗)

1 points · by apjana · 5y ago · discuss

comment 6y ago · link · parent

> but it (like ranger) doesn't seem to support this out of the box

No utility can support cd-on-quit out of the box because a spawned process can't send the $PWD to the parent directly when it quits. It needs tweaks in your shell's rc file. nnn also needs the same instrumentation.

comment 6y ago · link · parent

Yes, as a user I feel nnn was extremely disruptive as a FM. As the author I see at least 7 to 8 FMs drawing inspiration from it, which is a very positive testimony.

comment 6y ago · link · parent

Got it! Thanks for clarifying.

comment 6y ago · link · parent

Can you please elaborate what you mean by "half baked"? nnn has macOS users and I believe the number is picking up given we are getting more bug reports from macOS users recently. Knowing macOS users, we can consider polishing some crude corners if the problem statement seems reasonable.

comment 6y ago · link · parent

> I did not want to learn a new set of keystrokes.

You don't really need to learn too many new keystrokes for the set of functionality you get in ranger. Many of them are same too.

comment 6y ago · link · parent

nnn supports all of them BTW - find, grep, fd, ripgrep...

comment 6y ago · link · parent

tig is awesome!

comment 6y ago · link · parent

> lots of extra features

https://github.com/jarun/nnn#features

comment 6y ago · link · parent

Yes, that's a good file manager too! Especially for people familiar with vim.

comment 6y ago · link · parent

Thanks for sharing!

comment 6y ago · link · parent

I get the sarcasm but probably a lot of that would depend on the calculation involved.

comment 6y ago · link · parent

I think that workflow is available in almost any terminal file manager now.

comment 6y ago · link · parent

Completely agree.

comment 6y ago · link · parent

Yes, where there is a will, there is a way! :)

comment 6y ago · link · parent

Cool! Thanks for sharing!

comment 6y ago · link · parent

Yes, that's what I intended to convey.

comment 6y ago · link · parent

Please head here: https://github.com/jarun/nnn/wiki/Performance
12345
16