Re:New(ish) command line tools
by ranger207 on Tuesday April 12, 2022 @09:32PM
(#31010261)
How does nnn compare to ranger https://github.com/ranger/ranger ?
[ Parent
| on HN ]
Re:New(ish) command line tools
by davewongillies on Wednesday April 13, 2022 @12:10AM
(#31011136)
Related to ranger, nowadays I use lf[0], which is a clone of ranger written in Go. There's also pistol[1] which is a replacement for ranger's rifle file viewer
Re:New(ish) command line tools
by sundarurfriend on Tuesday April 12, 2022 @10:11PM
(#31010494)
ranger is fancier (both visually and in terms of configurability), but nnn is significantly faster in my experience. I kept putting off looking into ranger's rifle capabilities and Python scripting, but after having it crash on me a couple times - in a directory with many hundreds of files, to be fair - I tried nnn. The speed and simplicity made me switch over entirely, because it has just the right amount of features that I wanted from ranger. (Well, the one thing I kinda miss is the inline Markdown preview in ranger - shortcut `i` - but it's a minor convenience at best.)
You can set glow (https://github.com/charmbracelet/glow) as the markdown previewer in nnn if you use a customer opener.