jarun / nnn

n³ The unorthodox terminal file manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ToDo list

jarun opened this issue · comments

commented

Rolled from #1.

Feel free to suggest new features to add to the list below. Some of the features may still be master-only.

  • ssh and scp support
  • support terminal locking on OS X (any vlock replacement?)
  • run any number of scripts
  • prefer VISUAL over EDITOR
  • add a keybind to run a custom script (see #79)
  • integer get_coolsize() (thanks @arsv)
  • batch rename, move, delete files with vidir integration
  • copy file paths when X is unavailable
  • support copying multiple file names to copier
  • add open with... shortcut
  • add option to open bookmark directly
  • optimize memory usage and algorithms for file name handling
  • list and extract archives
  • show current selection number along with total entries in dir
  • support NNN_NOWAIT to unblock nnn (DE specific)
  • file and directory creation
  • change to light mode if number of cols < 35
  • in-place file rename
  • watch out for current dir changes (if not in filter or du mode)
  • pin and jump to a directory
  • show vol capacity and vol free in help
  • option to use exiftool instead of mediainfo
  • option to show dirs in custom color (default: enabled in blue)
  • show dir content size and number of files in du mode
  • support bookmarks string
  • add option to support opening text files in EDITOR
  • use xdg-open on Linux and open(1) on OS X as desktop opener
  • support multiple apps in nlay
  • use vlock as default terminal screensaver
  • navigate-as-you-type mode
  • subtree search (using gnome-search-tool or catfish)
  • support custom nlay
  • search-as-you-type at filter prompt
  • RPM packages for RHEL/CentOS (thanks @fennm)
  • support cd ..... (with . as PWD, stops at /)
  • jump to initial directory (where nnn was started)
  • nlay - a shell script for actions like open desktop search utility, run screensaver
  • show file details, mediainfo output, help in less
  • show media information (needs mediainfo)
  • support readline at chdir prompt
  • use Q to quit to current dir (needs external shell integration)
  • use ^Q to quit (even from filter mode)
  • UTF-8 support
  • add option to start in disk usage analyzer mode
  • open current dir in desktop file manager
  • disk usage analyzer more
  • show unprivileged free blocks in du mode
  • shortcut - to jump to last directory
  • resolve ~ (HOME) at chdir prompt
  • option to show complete stats of just the current entry (name, file type, human readable permission string, byte size... all lstat() details)
  • update noice man page
  • sort entries by size
  • support file path copier script (NNN_COPIER)
  • support detail view (default)
    • file type
    • modification time
    • human-readable file size
    • current item in reverse video
    • full name of currently selected file in bottom "bar"
  • roll navigation with Up and Down at the first and last entries
  • remove restriction on visiting parent dir when opened with a relative dir path
  • case insensitive alphabetic content listing
  • generate optimized binary
  • show total number of files in du mode (apparently it has to be counted in nftw callback, with adjustments like file type check, hardlink check, which means unreasonable overhead)
  • threaded/multicore nftw(3) (overkill, we are already very fast)
  • use scandir instead of readdir (we are using custom alphanum sort, see 6912912)
  • modify packagecore.yml and probably Makefile to generate OpenSUSE Leap package

Anything else which would add value (please discuss in this thread)

commented

Regarding 1, the idea is to mark several file names and then copy them at once, separated by a newline character.

I am thinking a (same one) keybind as start and stop and using space in between to copy the selections.

Coming to using newline as the separator, please ensure one can use it with rm (using quotes around the complete copied string maybe?).

Also we'll need another keybind that works like pressed Shift. It would be great if we can press Shift+space twice and select all the entries in between.

Hi,
Can you add a shortcut to disable/enable " show directories first" please?
Specially in sort by time.

And if possible:

  • Fuzzy filter (like fzf does).

  • Files colored by type like, media, text, audio etc...

  • Folder columns à la Ranger would be awesome too.

commented

@4goodapp there are several reasons I chose to show directories on top in any of the 7 possible colors, the foremost is a superfast sort as dirs are eliminated immediately.

Fuzzy filter: we support regex. you can achieve what you want with a.*b ref

For the other requests, please take a look at nnn design considerations for a better explanation of the design decisions. And please stay open about the fact that nnn is not ranger.

Alright, I keep nnn anyways just in case.

I like the way the filter work compared to ranger .

Thanks. :)

commented

Awesome! Have fun! 👍

It'd be nice to have a way to show the owner and group of files in the detail view.

commented

@refacto it's already there:

Access: 0664/-rw-rw-r-- Uid: (1001/vaio) Gid: (1001/vaio)

Ah, okay. D it is then. Thanks :) (feel free to delete the comments)

commented

Hi @jarun, when are you going to do SSH and SCP support? It's quite big feature I think, btw.what about NFS, CIFS and so on.
Would be awesome to have such native support in your manager too :)

commented

It's quite big feature I think

They are. That's why I have added them in the ToDo list. Personally I don't have time to take those up.

commented

I can't get 'R' to work with multiscript. I have this:

export NNN_SCRIPT=/Home/jay/Bin/nscript
export NNN_MULTISCRIPT=1

-rwxr-xr-x 1 jay jay 112 Jul  4 04:08 /Home/jay/Bin/nscript
-rwxr-xr-x 1 jay jay 105 Jul  4 03:45 /Home/jay/Bin/nscripttocp
-rwxr-xr-x 1 jay jay 105 Jul  4 03:53 /Home/jay/Bin/nscripttomv

but when I type 'R' (single keystroke) nothing visible happens but it runs "nscript". There is no prompting for a suffix. Not sure what I'm doing wrong.

Also, you should consider passing the full filename of the current selection as $1 to the script. That would make it super more useful. As it is there's no way to make the script operate on a given file/dir.

commented

Are you on master? The multiscript feature is not released yet.
Did you export NNN_MULTISCRIPT?

Yes, we can pass the param to the script. I will take a look into it.

commented

Filename is passed as argument 1 at 042d008.

commented

Rolled at #110.