Nano Editor Commands List Tutorial

February 9th, 2012 by Regaz



This Article Present a List of Commands Presents on the Nano Editor.

This Guide is Intended to Give some Indication to Achieve the Result.

Is Important you Carefuly Follow the Instructions Contained in the Guide.

Take the Time of Reading and Understanding to Get a Clear Insight

Linux Penguin Popey

Here are some Fundamental Commands to Take into Account to make your Experience with the "nano" more Easy, Pleasant and Productive :)

Note: if the Alt or Ctrl Do Not Give Result Try with the ESC Key Instead.

For directly Displaying the Help Documentantion:


Ctrl+g

Enable/Disable Help:


Alt+x

Editing

Undo last Command:


Ctrl+z

Enable Block Selection with Mouse Enabled(Alt+m):


Ctrl+a

Copy Line into the Buffer: (You can follow to Copy as much Lines you want into the Buffer and the Uncut or Paste them out)


Alt+6

Cut Line:


Ctrl+k

Paste Cuted Line:


Ctrl+u

Take Note that Copying/Pasting Content From/To Outside Nano work with the Usual Terminal Keystrokes.

These Keystrokes are Useful Only to Copy and Paste Inside of Nano!

Insert Tab at Cursor Position:


Ctrl+i

Insert New Line at Cursor Position:


Ctrl+m

Enable/Disable Auto-Indent:


Alt+i

Displacement

Enable Mouse Displacement:


Alt+m

(If you Double Click when Mouse is Enable you will Set a Mark Instead of to Displace the Cursor)

Move to the End Of Line:


Ctrl+e

Move to the Beginning of Line:


Ctrl+a

Move Forward 1 Word:


Ctrl+Space

Move Back 1 Word:


Alt+Space

Move to Next Screen:


Ctrl+v

Move to Previous Screen:


Ctrl+y

Move to Latest Line:


Alt+?

Move to First Line:


Alt+|

File Operations

Write or Save File to Disk:


Ctrl+o

Write File and Exit:


Ctrl+x

Searching

Search for String or Regex:


Ctrl+w

Repeat Latest Search:


Alt+w

Screen

Refresh Screen


Ctrl+l

Info Display

Show Relative Position of Cursor in Line, Column and Character:


Ctrl+c

Here Below Link to Article with Tutorial 4 Locating Files/Directories/Paths on Linux..

Linux How-to Use the Locate Command
(Visited 3 times, 1 visits today)
Share on Tumblr

Tags: , , , , , ,