Skip to content

Instantly share code, notes, and snippets.

@dlanileonardo
Last active August 29, 2015 14:01
Show Gist options
  • Save dlanileonardo/44414e1b55ccfed6a1b4 to your computer and use it in GitHub Desktop.
Save dlanileonardo/44414e1b55ccfed6a1b4 to your computer and use it in GitHub Desktop.
Arquivo de configuração do Nano Editor
## Use auto-indentation.
set autoindent
## Backup files to filename~.
set backup
## Constantly display the cursor position in the statusbar. Note that
## this overrides "quickblank".
set const
## Use cut to end of line by default.
set cut
## Set the line length for wrapping text and justifying paragraphs.
## If fill is 0 or less, the line length will be the screen width less
## this number.
set fill 70
## Don't convert files from DOS/Mac format.
set noconvert
## Don't add newlines to the ends of files.
set nonewlines
## Do extended regular expression searches by default.
set regexp
## Make the Home key smarter. When Home is pressed anywhere but at the
## very beginning of non-whitespace characters on a line, the cursor
## will jump to that beginning (either forwards or backwards). If the
## cursor is already at that position, it will jump to the true
## beginning of the line.
set smarthome
## Use smooth scrolling as the default.
set smooth
## Use this spelling checker instead of the internal one. This option
## does not properly have a default value.
set speller "aspell -c"
## Allow nano to be suspended.
set suspend
## Use this tab size instead of the default; it must be greater than 0.
set tabsize 4
## Convert typed tabs to spaces.
set tabstospaces
include ~/.nano/syntax/ALL.nanorc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment