From b17fc38348ef1bd0016dfef6b580c70e4e4a8e8f Mon Sep 17 00:00:00 2001 From: root Date: Mon, 8 Aug 2016 16:25:30 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- nanorc | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/nanorc b/nanorc index 3e4604e..166e424 100644 --- a/nanorc +++ b/nanorc @@ -46,7 +46,8 @@ ## Constantly display the cursor position in the statusbar. Note that ## this overrides "quickblank". -# set const +# set constantshow +## (The old form, 'const', is deprecated.) ## Use cut-to-end-of-line by default. # set cut @@ -56,9 +57,12 @@ ## width less this number. # set fill -8 -## Enable ~/.nano_history for saving and reading search/replace strings. +## Remember the used search/replace strings for the next session. # set historylog +## Have the justify command kill whitespace at the end of lines +# set justifytrim + ## Enable vim-style lock-files. This is just to let a vim user know you ## are editing a file [s]he is trying to edit and vice versa. There are ## no plans to implement vim-style undo state in these files. @@ -85,9 +89,6 @@ ## Don't convert files from DOS/Mac format. # set noconvert -## Don't follow symlinks when writing files. -# set nofollow - ## Don't display the helpful shortcut lists at the bottom of the screen. # set nohelp @@ -104,7 +105,8 @@ # set operatingdir "" ## Remember the cursor position in each file for the next editing session. -# set poslog +# set positionlog +## (The old form, 'poslog', is deprecated.) ## Preserve the XON and XOFF keys (^Q and ^S). # set preserve @@ -235,13 +237,15 @@ include "/usr/share/nano/*.nanorc" ## Key bindings. -## See nanorc(5) for more details on this. -## -## Here are a few samples to get you going. +## See nanorc(5) (section REBINDING KEYS) for more details on this. ## -# bind M-W nowrap main -# bind M-A casesens search -# bind ^S research main +## The following five functions are not bound to any key by default. +## You may wish to choose different keys than the ones suggested here. +# bind ^S savefile main +# bind M-Q findprevious main +# bind M-W findnext main +# bind M-B cutwordleft main +# bind M-N cutwordright main -## Set this if your backspace key sends Del most of the time. +## Set this if your Backspace key sends Del most of the time. # bind Del backspace all -- 2.39.5