File Management
KeyActionDownload Nano Text Editor Mac Os X
Ctrl+GDisplay help textCtrl+XClose the current file buffer / Exit from nanoModern version showing line numbers and selected text: 3.x era Modern version showing its undo support: 2.x era Modern version with a colorized interface: 1.x era Showing support for syntax highlighting: Switching between multiple file buffers with Meta-: before 1.0 Default (basic) nano setup.
Ctrl+OWrite the current file to diskCtrl+RInsert another file into the current oneAlt+>Switch to the next file bufferAlt+<Switch to the previous file bufferSearch and Replace
KeyActionCtrl+WSearch for a string or a regular expressionCtrl+Replace a string or a regular expressionAlt+WRepeat the last searchNavigation
KeyActionCtrl+_Go to line and column numberCtrl+YGo one screenful upCtrl+VGo one screenful downAlt+Go to the first line of the fileAlt+/Go to the last line of the fileCtrl+BGo back one characterCtrl+FGo forward one characterAlt+SpaceGo back one wordCtrl+SpaceGo forward one wordCtrl+AGo to beginning of current lineCtrl+E![Download Download](https://windows-cdn.softpedia.com/screenshots/Nano_1.png)
![Download nano text editor windows Download nano text editor windows](https://kinsta.com/wp-content/uploads/2019/03/brackets-text-editor-1.png)
![Text Text](https://linuxhint.com/wp-content/uploads/2020/06/11-4.png)
Editing
KeyActionAlt+UUndo the last operationAlt+ERedo the last undone operationDownload Nano Text Editor Linux
Alt+}Indent the current lineAlt+{Unindent the current lineAlt+^Copy the current line and store it in the cutbufferCtrl+KCut the current line and store it in the cutbufferCtrl+UUncut from the cutbuffer into the current lineCtrl+JJustify the current paragraphCtrl+TInvoke the spell checker, if availableAlt+VInsert the next keystroke verbatimCtrl+IInsert a tab at the cursor positionCtrl+MInsert a newline at the cursor positionCtrl+DDelete the character under the cursorCtrl+HDelete the character to the left of the cursorAlt+TCut from the cursor position to the end of the fileAlt+JJustify the entire fileAlt+DCount the number of words, lines, and charactersCtrl+^Mark text starting from the cursor positionSettings
KeyActionAlt+XHelp mode enable/disableAlt+CConstant cursor position display enable/disableAlt+ONano Text Editor Commands
Use of one more line for editing enable/disableAlt+SSmooth scrolling enable/disableAlt+$Soft wrapping of overlong lines enable/disableAlt+PWhitespace display enable/disableAlt+YColor syntax highlighting enable/disableAlt+HSmart home key enable/disableAlt+IAuto indent enable/disableAlt+KCut to end enable/disableAlt+LHard wrapping of overlong lines enable/disableAlt+QConversion of typed tabs to spaces enable/disableAlt+BBackup files enable/disableAlt+FReading file into separate buffer enable/disableWhat is Nano Editor
GNU nano is a one of the popular and easiest command line text editor used on many operating systems including Unix-based systems and BSD variants.
How to install Nano Text Editor
Some OS distributions comes with Nano editor installed ,so install nano depends on OS.
Install Nano Text Editor on Debian / Ubuntu
Install Nano Text Editor on CentOS / RHEL
Nano Text Editor Common Commands
To edit a file you can type the following command , in case the file not exists the Nono editor will create new file on save the file.
Here are some basic nanocommands might help you while editing file:
- CTRL + A :Jump to the beginning of the line.
- CTRL + E :Jump to the end of the line.
- CTRL + V :Scroll page up.
- CTRL + Y :Scroll page down.
- CTRL + W :Search for a specified phrase in your text. To search for the same phrase again press ALT + W.
- CTRL + K :Cuts the entire selected line to the “cut buffer”.
- CTRL + U :Pastes the text from the “cut buffer – Memory” into the selected line.
- CTRL + J :Justifies the paragraph.
- CTRL + _ :Go to specified line and column number.
- CTRL + C : See where your cursor currently is.
- CTRL + X :Exits Nano text editor. In case you made any changes to the file, it will prompt a save request.
15,647 total views, 14 views today