Re:Nnn – a terminal file manager for programmers
by apjana on Saturday November 24, 2018 @06:07AM
(#18521476)
`nnn` is not tied to a single editor. It can work with anything. Yesternight I ended up writing a plugin for vim as one of the users requested. So probably someone can contribute a plugin (?) for emacs as well. Unfortunately my understanding of emacs is limited. And that's probably one of the problems with editor-specific plugins.
Re:Nnn – a terminal file manager for programmers
by palunon on Saturday November 24, 2018 @09:29AM
(#18522131)
Well, emacs used like the GP suggest is not really an editor, and is more akin to a text-based application platform (with modes to browse the web, read your mail, play music, etc)
Re:Nnn – a terminal file manager for programmers
by napsterbr on Saturday November 24, 2018 @11:04AM
(#18522609)
Aka EmacsOS!
Re:Nnn – a terminal file manager for programmers
by earthscienceman on Saturday November 24, 2018 @07:12AM
(#18521674)
I would love to hear other dired features that people use. I'm just now getting a comprehensive understanding of how great dired is.
Re:Nnn – a terminal file manager for programmers
by atmosx on Saturday November 24, 2018 @08:24AM
(#18521884)
Does it support file transfer over ftp, sftp, s3, etc?
Re:Nnn – a terminal file manager for programmers
by ISO-morphism on Saturday November 24, 2018 @08:56AM
(#18522010)
Yes, that's where tramp comes in, although s3 might need a separate plugin.
For me the best part of dired is "do-what-i-mean" mode, dired-dwim. You basically get the output of `ls -la` and edit it as a text file. When you save, dired figures out changed names/permission bits/etc and does what you mean to those files.
Re:Nnn – a terminal file manager for programmers
by jsilence on Sunday November 25, 2018 @04:40AM
(#18526172)
Does dired have some sort of picture browse mode/functionality? That would be awesome!
Re:Nnn – a terminal file manager for programmers
by cjohansson on Saturday November 24, 2018 @04:51PM
(#18524166)
I agree, that solution has endless of possibilities, I can’t think of any feature it doesn’t have
Re:Nnn – a terminal file manager for programmers
by apjana on Saturday November 24, 2018 @05:14PM
(#18524243)
`vidir` does the same in vim and readily integrates with `nnn`.
Re:Nnn – a terminal file manager for programmers
by bhengaij on Saturday November 24, 2018 @06:00AM
(#18521452)
Except I have to open emacs in one full second
Re:Nnn – a terminal file manager for programmers
by pmoriarty on Saturday November 24, 2018 @06:08AM
(#18521481)
Why would emacs ever be closed?
Anyway, if you run emacs as a server, you can connect to it with emacsclient in less than a second.
Even starting emacs from scratch can take less than a second, if your config is small enough or optimized enough.
One super awesome Dired feature is C-x C-q to edit a folder like a file (all Emacs commands work here, like macros which are easier & faster to get right than most shell commands). To save your changes after editing, press C-c C-c.