Console file manager nnn 2.1 added tab support

nn It is a very fast terminal file manager whose main goal is seamless desktop environment integration. Keyboard-driven terminal application based on Ncurses feature Basic, detailed information (default) and disk usage analyzer mode, and navigate as you type, vidir integration, terminal storage cabinets, etc.

The application supports basic operations, such as creating and renaming files and folders, and the ability to select multiple files and open files in graphical tools xdg-open Or custom application), as well as more advanced features (such as using batch rename, move or delete) vidir, Display media information of media files, etc.
Its developers say nnn was created because He needs “operations that can be performed on Pi” and nnn (only about 60KB of binary files),maybe The fastest and most resource-sensitive file manager you have ever used. “You can see on the comparison of nnn and ncdu, mc and Ranger memory Project page.nnn 2.1 was released last Friday with new features and various improvements. This version adds support for tabs (also called contexts or workspaces). With nnn 2.1 you can use up to 4 tags, you can use the Leader key (default is ` Or ^/), Followed by the label number (1-4).
Each context (tab) remembers its starting directory and last accessed directory. When exiting the context, the next active context will be selected. If the last active context exits, the program exits.
Leader key` Or ^/) Is a new feature in this version. The key is case sensitive and can understand context, bookmarks and location shortcuts. You can read more about it Here.
In nnn 2.1, desktop search and desktop file manager integration have been removed. Instead, a new GUI application launcher is added (supports up to 2 parameters separated by spaces). Press o Launch the GUI application-for example, you can type nautilus . Open the Nautilus file manager in the current folder.
Other Variety In nnn 2.1:

  • Copy, move, delete selected file, delete current file
  • List copy selection (key y)
  • key Esc Exit prompt, ^L Clear tips
  • Remapped keys:
    • ^W -Go to fixed directory
    • ^X -Delete the current entry
    • ^Q -exit the program

nnn does not yet support tab completion for scripts in $ PATH, it cannot view and access network drives, and does not support ssh and scp, but these are located in To-do listThere is a video on Vimeo If you want to check the operation of the file manager of the nnn console (although the video is a bit old).

Download nnn

Nnn can be found in the repositories of many popular Linux distributions. It is used in Ubuntu (starting with Ubuntu 18.04), Linux Mint 19, Debian Breaker and sid, Arch Linux community repository, Fedora 27 and higher.
See installation Section to learn how to install nnn in a Linux distribution.
If you want to install the latest version, you can find DEB and RPM packages on nnn. release page. By the way, the Ubuntu 18.04 package in the nnn download page can be used normally on my Ubuntu 18.10 desktop.
You may also need to install it Optional external dependencies (Like vidir For batch renaming, moving or deleting, atool Or patool Create, list and extract archives, or vlock For terminal cabinets). See also Quick start Guidance and Keyboard shortcuts.
nnn can also be used as Vim or Neovim File selector .

Source

Sidebar