Blame IMPROVEMENTS

Packit Service c30d13
Improvements in GNU nano
Packit Service c30d13
========================
Packit Service c30d13
Packit Service c30d13
Since 2.9.0:
Packit Service c30d13
  - The ability to filter text through an external command.
Packit Service c30d13
  - Better detection of paragraphs, allowing a less indented beginning.
Packit Service c30d13
  - Option 'set afterends' for making Ctrl+Right stop at word ends.
Packit Service c30d13
  - A crash handler that saves changed buffers in case of a crash.
Packit Service c30d13
  - Addition of the color name "normal", meaning the default color.
Packit Service c30d13
  - A key can be bound to a string -- any mix of text and commands.
Packit Service c30d13
  - Error messages are shown by default in bright white on red.
Packit Service c30d13
  - <Tab> and <Shift+Tab> can be used to indent/unindent a marked region.
Packit Service c30d13
  - Can snip trailing whitespace while typing, with 'set trimblanks'.
Packit Service c30d13
  - The ability to record and replay a series of keystrokes (a macro).
Packit Service c30d13
  - Assigned functions to ^S (save file) and ^Q (start backward search).
Packit Service c30d13
  - Indenting and unindenting have been integrated into the undo system.
Packit Service c30d13
  - Support for $XDG_CONFIG_HOME for the nanorc file, and $XDG_DATA_HOME
Packit Service c30d13
    for the history files (of search strings and cursor positions).
Packit Service c30d13
Packit Service c30d13
Since 2.8.0:
Packit Service c30d13
  - Meta-Up/Meta-Down will search the previous/next occurrence.
Packit Service c30d13
  - ^U pastes the first line of the cutbuffer at a prompt.
Packit Service c30d13
  - Softwrapping can be done at whitespace (with --soft --atblanks).
Packit Service c30d13
  - The ^G help texts have become searchable (with ^W and M-W).
Packit Service c30d13
  - Ctrl+Home and Ctrl+End jump to start and end of file.
Packit Service c30d13
  - In softwrap mode the cursor now moves per visual row instead of
Packit Service c30d13
    per logical line, and the screen will scroll per row.
Packit Service c30d13
Packit Service c30d13
Since 2.7.0:
Packit Service c30d13
  - The keystroke ^] to complete a fragment to an existing full word.
Packit Service c30d13
  - The ability to display line numbers in front of the text (M-#).
Packit Service c30d13
Packit Service c30d13
Since 2.6.0:
Packit Service c30d13
  - Shift plus the cursor keys can be used for selecting text.
Packit Service c30d13
  - Ctrl+Arrow should now work also on a Linux virtual console.
Packit Service c30d13
  - Ctrl+Up and Ctrl+Down jump to previous or next block of text.
Packit Service c30d13
  - Feedback during Unicode Input (M-V followed by six digits).
Packit Service c30d13
  - The option 'wordchars' for specifying extra word characters.
Packit Service c30d13
  - Hi-bit control characters are shown in a more readable manner.
Packit Service c30d13
  - The ability to use negative numbers at the Go To Line prompt.
Packit Service c30d13
  - The ability to comment/uncomment lines with a single keystroke (M-3).
Packit Service c30d13
  - The ability to refresh the file list in the browser (^L).
Packit Service c30d13
  - The ability to abort re-searches (^C after an M-W).
Packit Service c30d13
  - Better feedback at startup when opening large or multiple files.
Packit Service c30d13
Packit Service c30d13
Since 2.5.0:
Packit Service c30d13
  - The option 'justifytrim' for snipping whitespace from justified lines.
Packit Service c30d13
  - The ability to discard a buffer (^O ^Q) when --tempfile is used.
Packit Service c30d13
  - On most terminals Ctrl+Left / Ctrl+Right now work for PrevWord/NextWord.
Packit Service c30d13
  - When in the middle of a word, PrevWord now jumps to the start of this
Packit Service c30d13
    word (like Pico does) instead of to the start of the preceding word.
Packit Service c30d13
Packit Service c30d13
Since 2.4.0:
Packit Service c30d13
  - Replacing things in a marked region now takes place in situ, in context,
Packit Service c30d13
    instead of changing the view to only the marked text.
Packit Service c30d13
  - Invalid byte sequences are properly displayed and not mistakenly found.
Packit Service c30d13
  - Resizing the window does not exit from help viewer nor file browser.
Packit Service c30d13
Packit Service c30d13
Since 2.3.0:
Packit Service c30d13
  - System syntaxes can be improved upon with the 'extendsyntax' command.
Packit Service c30d13
  - The ability to delete whole words with 'cutwordleft' and 'cutwordright'.
Packit Service c30d13
  - The ability to save a file without prompting for its name ('savefile').
Packit Service c30d13
  - The ability to search backward without having to toggle the direction.
Packit Service c30d13
  - Whitespace display (M-P) does not require configuration to be useful.
Packit Service c30d13
  - Undo/redo is enabled by default (M-U/M-E) and works nearly everywhere
Packit Service c30d13
    -- just not yet for justifying and indenting/unindenting.
Packit Service c30d13
  - The ability to color the title bar, the status bar and the help lines.
Packit Service c30d13
  - The ability to run a linter or formatter (^T) on the current buffer.
Packit Service c30d13
  - The ability to only write to named pipes with --noread.
Packit Service c30d13
  - Determination of the applicable syntax through libmagic -- when the
Packit Service c30d13
    file extension nor the first line give an answer.
Packit Service c30d13
  - The option 'positionlog' for saving/restoring the cursor position.
Packit Service c30d13
  - The ability to read and write vim-style lock files.
Packit Service c30d13
Packit Service c30d13
Visible changes since 2.0
Packit Service c30d13
-------------------------
Packit Service c30d13
* Editor Features
Packit Service c30d13
  - The ability to rebind (reassign) keys using the nanorc.
Packit Service c30d13
  - The ability to read standard input like a pager ("nano -").
Packit Service c30d13
  - Color syntax highlighting can be set by the first line of a file.
Packit Service c30d13
  - The ability to silence nanorc error messages (-q).
Packit Service c30d13
  - Undo/redo operations (-u).
Packit Service c30d13
  - Soft wrapping of text (-$).
Packit Service c30d13
Packit Service c30d13
* File Handling
Packit Service c30d13
  - Better handling of backup files: if nano can't write a backup file,
Packit Service c30d13
    it won't try to write the original file afterward.
Packit Service c30d13
  - Emergency savefiles retain ownerships and permissions when possible.
Packit Service c30d13
  - Performance improvements in color syntax highlighting.
Packit Service c30d13
Packit Service c30d13
Visible changes since 1.2
Packit Service c30d13
-------------------------
Packit Service c30d13
* Editor Features
Packit Service c30d13
  - Support for UTF-8.
Packit Service c30d13
  - Moving to a specified line and column of a file, instead of just a
Packit Service c30d13
    line (+LINE,COLUMN).
Packit Service c30d13
  - Smart home key (-A).
Packit Service c30d13
  - Creation of unique backup files in a specified directory (-C <dir>).
Packit Service c30d13
  - Insertion of spaces instead of a tab when Tab is pressed (-E).
Packit Service c30d13
  - The long option for -K is now --rebindkeypad.
Packit Service c30d13
  - Regular expression searching can now be toggled when nano is built
Packit Service c30d13
    with --enable-tiny, so -R now means something else (see below).
Packit Service c30d13
  - Restricted mode that provides more security than -o (-R).
Packit Service c30d13
  - Blanking of the statusbar after 1 keystroke instead of 25 (-U).
Packit Service c30d13
  - Word searches can optionally skip over punctuation (-W).
Packit Service c30d13
  - Workaround for Delete's acting like Backspace (-d).
Packit Service c30d13
  - Many more options are supported in the nanorc.
Packit Service c30d13
  - Improvements to color syntax highlighting support: case insensitive
Packit Service c30d13
    matching, the ability to include color syntaxes in separate files,
Packit Service c30d13
    the ability to specify background colors without foreground colors,
Packit Service c30d13
    etc.
Packit Service c30d13
  - Insertion of single-byte characters via Esc Esc <000-255>.
Packit Service c30d13
  - Insertion of all characters via "Verbatim Input" mode.
Packit Service c30d13
  - Workaround for the "NumLock glitch".
Packit Service c30d13
  - Meta-W now repeats the last search.  Wrapping is now toggled via
Packit Service c30d13
    Meta-L.
Packit Service c30d13
  - Replacing and spell checking only selected text.
Packit Service c30d13
  - Indenting lines with one keystroke.
Packit Service c30d13
  - Copying text into the cutbuffer without cutting it.
Packit Service c30d13
  - Scrolling the text up and down single lines without moving the
Packit Service c30d13
    cursor.
Packit Service c30d13
  - PageUp and PageDown work more smoothly when using -S.
Packit Service c30d13
  - Scrolling the help text up and down single lines.
Packit Service c30d13
  - Cutting all text from the current position to the end of the file
Packit Service c30d13
    with one keystroke.
Packit Service c30d13
  - Justifying the entire file with one keystroke.
Packit Service c30d13
  - Justifying without removing spaces from the ends of lines.
Packit Service c30d13
  - Unjustifying after justifying and immediately resizing.
Packit Service c30d13
  - Going to the first or last line of the current paragraph.
Packit Service c30d13
  - Going to the first or last line of the file without having to go to
Packit Service c30d13
    the "Search" prompt.
Packit Service c30d13
  - Searching for filenames in the file browser.
Packit Service c30d13
  - Displaying spaces and tabs differently to make it easier to tell
Packit Service c30d13
    them apart.
Packit Service c30d13
  - Many more functions available at the statusbar prompt: moving to the
Packit Service c30d13
    next or previous word, searching for matching brackets, "Verbatim
Packit Service c30d13
    Input" mode, etc.
Packit Service c30d13
  - The glibc 2.2.3 crashes involving extended regular expressions are
Packit Service c30d13
    no longer worked around, as they can break anything using extended
Packit Service c30d13
    regular expressions, and glibc 2.2.3 is old.  You should upgrade to
Packit Service c30d13
    at least glibc 2.2.4.
Packit Service c30d13
Packit Service c30d13
* File Handling
Packit Service c30d13
  - Automatic adding of newlines to the ends of files without them can
Packit Service c30d13
    now be disabled (-L).
Packit Service c30d13
  - Converting from and to DOS/Mac file format is now toggled only at
Packit Service c30d13
    the "Write File" prompt, via Meta-D and Meta-M, and the default file
Packit Service c30d13
    format to save in is now set depending on what format the file was
Packit Service c30d13
    originally in.  -D now makes nano use bold text instead of reverse
Packit Service c30d13
    video text, and Meta-D at the edit window now does a
Packit Service c30d13
    word/line/character count.  -O now makes the unused second line of
Packit Service c30d13
    the screen part of the edit window, and Meta-O at the edit window
Packit Service c30d13
    now toggles this behavior.
Packit Service c30d13
  - Converting files that contain a mix of DOS and Mac format lines.
Packit Service c30d13
  - Automatic switching on of -N with binary files has been removed, as
Packit Service c30d13
    it causes problems with UTF-8 support.
Packit Service c30d13
Packit Service c30d13
Visible changes since 1.0
Packit Service c30d13
-------------------------
Packit Service c30d13
* Editor Features
Packit Service c30d13
  - Complete Pico compatibility (--pico has been removed, and -p means
Packit Service c30d13
    something else, see below).
Packit Service c30d13
  - nanorc support (see nanorc.sample included in sources).
Packit Service c30d13
  - Smooth scrolling (-S).
Packit Service c30d13
  - Support for searching for matching braces, brackets, etc.
Packit Service c30d13
  - Help for all editor features.
Packit Service c30d13
  - Color syntax highlighting support.
Packit Service c30d13
  - Quote string support, useful for mail agents, etc. (-Q).
Packit Service c30d13
  - Insertion of output of external commands.
Packit Service c30d13
  - Optional enabling of XON and XOFF control characters (-p).
Packit Service c30d13
  - Tons of bugfixes/enhancements for already existing features.
Packit Service c30d13
Packit Service c30d13
* File Handling
Packit Service c30d13
  - Overwriting and appending or prepending to files.
Packit Service c30d13
  - Writing marked text to separate files.
Packit Service c30d13
  - Multiple file buffers (-F).
Packit Service c30d13
  - Converting from and to DOS/Mac file format (-D/-M, -N to disable).
Packit Service c30d13
  - Better control character handling.
Packit Service c30d13
  - Creation of backup files (-B).
Packit Service c30d13
  - Search/replace history (-H).
Packit Service c30d13
Packit Service c30d13
See the nano manual for detailed information on each feature.