HNHacker News
TopNewBestAskShowJobs

apjana

661 karma · joined August 22, 2015

submissionscomments
apjana··on New(ish) command line tools
You can set glow (https://github.com/charmbracelet/glow) as the markdown previewer in nnn if you use a customer opener.
apjana··on DuckDuckGo as a TTY
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...

apjana··on How to navigate directories faster with Bash (2015)
Yes, nnn is completely navigation oriented with an extra focus on speed and remaining lightweight. The plugin autojump supports jump/autojump/zoxide.
apjana··on Show HN: Nnn – unorthodox terminal file manager
> 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.

apjana··on Moving from Macbook to Linux
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.
apjana··on Moving from Macbook to Linux
Got it! Thanks for clarifying.
apjana··on Moving from Macbook to Linux
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.
apjana··on Show HN: Nnn – unorthodox terminal file manager
> 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.

apjana··on Show HN: Nnn – unorthodox terminal file manager
nnn supports all of them BTW - find, grep, fd, ripgrep...
apjana··on Show HN: Nnn – unorthodox terminal file manager
tig is awesome!
apjana··on Show HN: Nnn – unorthodox terminal file manager
> lots of extra features

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

apjana··on Show HN: Nnn – unorthodox terminal file manager
Yes, that's a good file manager too! Especially for people familiar with vim.
apjana··on Show HN: Nnn – unorthodox terminal file manager
Thanks for sharing!
apjana··on Show HN: Nnn – unorthodox terminal file manager
I get the sarcasm but probably a lot of that would depend on the calculation involved.
apjana··on Show HN: Nnn – unorthodox terminal file manager
I think that workflow is available in almost any terminal file manager now.
apjana··on Show HN: Nnn – unorthodox terminal file manager
Completely agree.
apjana··on Show HN: Nnn – unorthodox terminal file manager
Yes, where there is a will, there is a way! :)
apjana··on Show HN: Nnn – unorthodox terminal file manager
Cool! Thanks for sharing!
apjana··on Show HN: Nnn – unorthodox terminal file manager
Yes, that's what I intended to convey.
apjana··on Show HN: Nnn – unorthodox terminal file manager
Please head here: https://github.com/jarun/nnn/wiki/Performance
apjana··on Show HN: Nnn – unorthodox terminal file manager
> Sometimes a GUI is faster for me, especially when I'm not 100% sure where things are or there are many files to select.

nnn takes care of these already. I don't think you would see a difference once you get used to.

apjana··on Show HN: Nnn – unorthodox terminal file manager
Not until I posted my hard work in one of these public forums for people to use and benefit.
apjana··on Show HN: Nnn – unorthodox terminal file manager
You are welcome!
apjana··on Show HN: Nnn – unorthodox terminal file manager
There can be other frequented examples, say, ~/Pictures.
apjana··on Show HN: Nnn – unorthodox terminal file manager
Yes, it's very useful for people like me who live on bookmarks.

Thank you!

apjana··on Show HN: Nnn – unorthodox terminal file manager
My response was from from emacs perspective. Here's a memory usage comparison: https://github.com/jhallen/joes-sandbox/tree/master/editor-p...

Looks like emacs uses at least double the memory.

apjana··on Show HN: Nnn – unorthodox terminal file manager
> May I ask why are you not trying to leverage the assortment of useful tools you wrote with sizeable following to be some kind of side income?

I started contributing to open source because I learn a lot from it since my graduation days. I think of it as a payback to the community. Having said that - I do appreciate users donating now and then. :)

> This was partly inspired by the 'to spend more time with his kid than at a computer' quote.

My regular job is a demanding one. So I have to work smart to save time for my kid and family. Some of the utilities were written to help with that.

> Do you have a rough idea about the number of actual users, other than github stars?

Not really. But I know for sure even some orgs use some of my utilities.

apjana··on Show HN: Nnn – unorthodox terminal file manager
Can't counter that given I've last used emacs years back.
apjana··on Show HN: Nnn – unorthodox terminal file manager
Exactly!
apjana··on Show HN: Nnn – unorthodox terminal file manager
That'll print the list of files even in a populated directory like /usr/bin and leave me at the prompt with the last few files listed above. As soon as you want the list of files not to go away so you can control/manage/examine them, you are talking of a file manager.
Page 1 of 10Next →