Nano Commands
Nano is a relatively simple open source text editor.
*Meta <alt> requires changes to OSX Terminal.
Opens the file in nano for editing.
This lets you switch between
multiple files.
Tabs between file buffers
Will prompt for file name
Will prompt if there are unsaved
changes.
Move to beginning of current line
Move to end of current line
Go to beginning or end of file
Go to a target line (and column)
number
Alt-g followed by 5,3 goes to line
five, column three
Go to matching grouping symbol
(parenthesis, brackets, etc.)
Selects a block; Alt-a again
unselects
Cuts from the cursor to the
Pastes clipboard to the cursor’s
position
Copies highlighted block to the
clipboard
Cuts a highlighted block to the
clipboard
This workforce product was funded by a grant awarded by the U.S. Department of Labor’s
Employment and Training Administration. The product was created by the grantee and
does not necessarily reflect the official position of the U.S. Department of Labor. The U.S.
Department of Labor makes no guarantees, warranties, or assurances of any kind, express
or implied, with respect to such information, including any information on linked sites and
including, but not limited to accuracy of the information or its completeness, timeliness,
usefulness, adequacy, continued availability, or ownership.