Outils pour utilisateurs

Outils du site


issue135:critique

Ceci est une ancienne révision du document !


If you use the terminal often, or use a tiling window manager, you may have heard of Noice.

Noice is Not Noice, a noicer fork.

From the Reame.md (version: 1.7.1): nnn is probably the fastest and most resource-sensitive (with all its capabilities) file browser you have ever used. It's extremely flexible too - integrates with your DE and favourite GUI utilities, works with the desktop opener, supports bookmarks, has smart navigation shortcuts, navigate-as-you-type mode, disk usage analyzer mode, comprehensive file details, and much more. nnn was initially forked from noice but is significantly different today.

In Ubuntu nnn is simply installed with:

sudo apt install nnn

No PPA's to add or anything.

To run nnn, fire up a terminal window or move to a terminal TTY to use.

The claim about resource usage is true, nnn does not even register on the radar.

The first time you run nnn, you immediately know what is going on. To exit, simply press q.

The only thing missing is how to drive this thing: • The up / down / left / right arrow keys steer. • Home and End do just that. • To open a file or folder, hit Enter, or, to go back, press Backspace. • Need to go to your home folder: Tilde (~), the same as bash. • If you need to create a new file or folder, press n. • Did you make a mistake? Rename it with CTRL+r. • Need to see hidden files, press the full stop or period key (.).

TIP: if you need help steering, at any point press the (?) question mark, and q to exit the help.

There is no Vi funnies here. We can say nnn is intuitive.

Let's look at some of the more impressive and useful functions: • nnn has the ability to bookmark a spot. If you work in a directory often, why not bookmark it? It is a simple as, you guessed it, b. To head to your bookmarked folder, hit CTRL+v. • If you require more detail about a file, the key is d. You can just press the d key again to exit the detailed view. This is also very handy if the file name is too long for your display. • Should you require details about the file, say an mp3, where the bitrate or file permissions are important, you use a capital D. To quit this view , hit q. • While we are on mp3 files, there is one caveat, nnn is designed to integrate into your desktop. Hitting the right arrow or enter will not open MOC if it is installed. It will open the default player set in Ubuntu. • If you have a lot of files and would like to see the size of each, press capital S. • Lower case s will sort your files from largest to smallest or with another press, smallest to largest. • Do you need a shell in the current folder? Simply press (!) exclamation (or pling, or bang, as it is known). • There are commands that do not work out of the box, o will do nothing until you tell it to open your file manager. By exporting your environment variables you can set the defaults, eg: export NNN_DE_FILE_MANAGER=nautilus - Now nautilus will open in the folder where you are when you press o. • The e key is the pest and will open vi as your default editor, not nano. Not that Vi is bad, but it is not newbie friendly. • The r key likewise. That said… It is configurable! Export your environment variable and it will be so!

Full speed ahead, Mr. Sulu. nnn can make your terminal experience a whole lot easier and speedier. I do recommend you look at the nnn man page, as it is one of the better man pages.

Pro’s:

• Fast • Intuitive • Integrates well with any DE

Cons:

• There may be some setup work required.

Overall, nnn is very useful, easily customizable, and a pleasure to use. I cannot find any faults and find it invaluable to navigate web server content folders when you only have a terminal. I would definitely recommend this to anyone using the terminal.

issue135/critique.1533140503.txt.gz · Dernière modification : 2018/08/01 18:21 de auntiee