nanorc: Merge-in new system file

This commit is contained in:
mattia committed 2026-11-15 22:03:14 +01:00
1 parent 22e059f223
commit 26c296fece
1 file changed
+21 -12
+21 -12
View File
@@ -20,6 +20,10 @@
# bind M-F formatter main # bind M-F formatter main
# bind M-B linter main # bind M-B linter main
## Make M-< and M-> switch between buffers, as they did before version 9.0:
# bind M-< prevbuf main
# bind M-> nextbuf main
## Make 'nextword' (Ctrl+Right) and 'chopwordright' (Ctrl+Delete) ## Make 'nextword' (Ctrl+Right) and 'chopwordright' (Ctrl+Delete)
## stop at word ends instead of at beginnings. ## stop at word ends instead of at beginnings.
# set afterends # set afterends
@@ -56,7 +60,7 @@ set autoindent
## Do case-sensitive searches by default. ## Do case-sensitive searches by default.
# set casesensitive # set casesensitive
## Interpret digits given on the command line after a colon after a filename ## Interpret digits after a colon after a filename (on the command line)
## as the line number to go to in that file. ## as the line number to go to in that file.
# set colonparsing # set colonparsing
@@ -78,7 +82,7 @@ set autoindent
## (This option does not have a default value.) ## (This option does not have a default value.)
# set guidestripe 75 # set guidestripe 75
## Remember the used search/replace strings for the next session. ## Remember the used search/replace/command strings for the next session.
# set historylog # set historylog
## Display a "scrollbar" on the righthand side of the edit window. ## Display a "scrollbar" on the righthand side of the edit window.
@@ -90,9 +94,8 @@ set indicator
## Display line numbers to the left (and any anchors in the margin). ## Display line numbers to the left (and any anchors in the margin).
set linenumbers set linenumbers
## Enable vim-style lock-files. This is just to let a vim user know you ## Let other users (of nano or vim) know that you are editing the file
## are editing a file [s]he is trying to edit and vice versa. There are ## they are trying to edit, and the other way around.
## no plans to implement vim-style undo state in these files.
# set locking # set locking
## Fall back to slow libmagic to try and determine an applicable syntax. ## Fall back to slow libmagic to try and determine an applicable syntax.
@@ -113,11 +116,10 @@ set linenumbers
## X Window System, and on the console when gpm is running. ## X Window System, and on the console when gpm is running.
# set mouse # set mouse
## Switch on multiple file buffers (inserting a file will put it into ## With ^R, insert a file into a separate buffer by default.
## a separate buffer). # set newbuffer
# set multibuffer
## Don't convert files from DOS/Mac format. ## Don't convert files from DOS format.
# set noconvert # set noconvert
## Don't display the helpful shortcut lists at the bottom of the screen. ## Don't display the helpful shortcut lists at the bottom of the screen.
@@ -178,6 +180,9 @@ set showcursor
## Spread overlong lines over multiple screen lines. ## Spread overlong lines over multiple screen lines.
set softwrap set softwrap
## Scroll only the current line sideways (instead of all lines).
# set solosidescroll
## Use this spelling checker instead of the internal one. This option ## Use this spelling checker instead of the internal one. This option
## does not have a default value. ## does not have a default value.
set speller "hunspell" set speller "hunspell"
@@ -195,7 +200,7 @@ set tabsize 4
## Snip whitespace at the end of lines when justifying or hard-wrapping. ## Snip whitespace at the end of lines when justifying or hard-wrapping.
# set trimblanks # set trimblanks
## Save files by default in Unix format (also when they were DOS or Mac). ## Save files always in Unix format (also when they were DOS).
# set unix # set unix
## The two single-column characters used to display the first characters ## The two single-column characters used to display the first characters
@@ -302,8 +307,12 @@ bind ^H chopwordleft main
# bind Sh-M-U "{nextword}{mark}{prevword}{execute}| sed 's/.*/\U&/' {enter}" main # bind Sh-M-U "{nextword}{mark}{prevword}{execute}| sed 's/.*/\U&/' {enter}" main
# bind Sh-M-L "{nextword}{mark}{prevword}{execute}| sed 's/.*/\L&/' {enter}" main # bind Sh-M-L "{nextword}{mark}{prevword}{execute}| sed 's/.*/\L&/' {enter}" main
## For copying a marked region to the system clipboard: ## Two ways of copying a marked region to the system clipboard:
# bind Sh-M-C "{execute}| xsel -ib {enter}{undo}" main # bind Sh-M-C "{execute}| xsel -ib {enter}{undo}" main
# bind Sh-M-P "{execute}| xclip -select clipboard 1>&- 2>&- {enter}{undo}" main
## For copying text to the local clipboard via OSC 52 (if terminal supports it):
# bind M-* "{execute}|| printf "\033]52;c;%s\007" "$(base64 | tr -d '\n')" {enter}{undo}" main
## For normalizing Unicode to precomposed characters: ## For normalizing Unicode to precomposed characters:
# bind Sh-M-N "{execute}| uconv -x nfc {enter}" main # bind Sh-M-N "{execute}| uconv -x nfc {enter}" main
@@ -324,7 +333,7 @@ bind ^H chopwordleft main
# bind ^S savefile main # bind ^S savefile main
# bind ^W writeout main # bind ^W writeout main
# bind ^O insert main # bind ^O insert main
# set multibuffer # set newbuffer
# bind ^H help all # bind ^H help all
# bind ^H exit help # bind ^H exit help
# bind ^F whereis all # bind ^F whereis all