Improvements in GNU nano ======================== Since 2.8.0: - Meta-Up/Meta-Down will search the previous/next occurrence. - ^U pastes the first line of the cutbuffer at a prompt. - Softwrapping can be done at whitespace (with --soft --atblanks). - The ^G help texts have become searchable (with ^W and M-W). - Ctrl+Home and Ctrl+End jump to start and end of file. - In softwrap mode the cursor now moves per visual row instead of per logical line, and the screen will scroll per row. Since 2.7.0: - The keystroke ^] to complete a fragment to an existing full word. - The ability to display line numbers in front of the text (M-#). Since 2.6.0: - Shift plus the cursor keys can be used for selecting text. - Ctrl+Arrow should now work also on a Linux virtual console. - Ctrl+Up and Ctrl+Down jump to previous or next block of text. - Feedback during Unicode Input (M-V followed by six digits). - The option 'wordchars' for specifying extra word characters. - Hi-bit control characters are shown in a more readable manner. - The ability to use negative numbers at the Go To Line prompt. Noteworthy changes since 2.2 ---------------------------- - The ability to comment/uncomment lines with a single keystroke (M-3). - The ability to refresh the file list in the browser (^L). - The ability to abort re-searches (^C after an M-W). - Better feedback at startup when opening large or multiple files. - The option 'justifytrim' for snipping whitespace from justified lines. - The ability to discard a buffer (^O ^Q) when --tempfile is used. - Replacing things in a marked region now takes place in situ, in context, instead of changing the view to only the marked text. - On some terminals Ctrl+Left / Ctrl+Right now work for PrevWord/NextWord. - When in the middle of a word, PrevWord now jumps to the start of this word (like Pico does) instead of to the start of the preceding word. - Invalid byte sequences are properly displayed and not mistakenly found. - Resizing the window does not exit from help viewer nor file browser. - Improved arrangement of the shortcuts in the two help lines. - Several small bug fixes in the syntax highlighting. - System syntaxes can be improved upon with the 'extendsyntax' command. - The ability to delete whole words with 'cutwordleft' and 'cutwordright'. - The ability to save a file without prompting for its name ('savefile'). - The ability to search backward without having to toggle the direction. - Whitespace display (M-P) does not require configuration to be useful. - Undo/redo is enabled by default (M-U/M-E) and works nearly everywhere -- just not yet for justifying and indenting/unindenting. - The ability to color the title bar, the status bar and the help lines. - The ability to run a linter or formatter (^T) on the current buffer. - The ability to only write to named pipes with --noread. - Determination of the applicable syntax through libmagic -- when the file extension nor the first line give an answer. - The option 'positionlog' for saving/restoring the cursor position. - The ability to read and write vim-style lock files. Visible changes since 2.0 ------------------------- * Editor Features - The ability to rebind (reassign) keys using the nanorc. - The ability to read standard input like a pager ("nano -"). - Color syntax highlighting can be set by the first line of a file. - The ability to silence nanorc error messages (-q). - Undo/redo operations (-u). - Soft wrapping of text (-$). * File Handling - Better handling of backup files: if nano can't write a backup file, it won't try to write the original file afterward. - Emergency savefiles retain ownerships and permissions when possible. - Performance improvements in color syntax highlighting. Visible changes since 1.2 ------------------------- * Editor Features - Support for UTF-8. - Moving to a specified line and column of a file, instead of just a line (+LINE,COLUMN). - Smart home key (-A). - Creation of unique backup files in a specified directory (-C