# editor
# Autogenerated from man page /usr/share/man/man1/editor.1.gz
complete -c editor -s A -l smarthome -d 'Make the Home key smarter'
complete -c editor -s B -l backup -d 'When saving a file, back up the previous version of it, using the current fil…'
complete -c editor -o Cdirectory -l backupdir -d 'Make and keep not just one backup file, but make and keep a uniquely numbered…'
complete -c editor -s D -l boldtext -d 'For the interface, use bold instead of reverse video'
complete -c editor -s E -l tabstospaces -d 'Convert each typed tab to spaces -- to the number of spaces that a tab at tha…'
complete -c editor -s F -l multibuffer -d 'Read a file into a new buffer by default'
complete -c editor -s G -l locking -d 'Use vim-style file locking when editing files'
complete -c editor -s H -l historylog -d 'Save the last hundred search strings and replacement strings and executed com…'
complete -c editor -s I -l ignorercfiles -d 'Don\'t look at the system\'s nanorc nor at the user\'s nanorc'
complete -c editor -o Jnumber -l guidestripe -d 'Draw a vertical stripe at the given column, to help judge the width of the te…'
complete -c editor -s K -l rawsequences -d 'Interpret escape sequences directly, instead of asking ncurses to translate t…'
complete -c editor -s L -l nonewlines -d 'Don\'t automatically add a newline when a text does not end with one'
complete -c editor -s M -l trimblanks -d 'Snip trailing whitespace from the wrapped line when automatic hard-wrapping o…'
complete -c editor -s N -l noconvert -d 'Disable automatic conversion of files from DOS/Mac format'
complete -c editor -s O -l bookstyle -d 'When justifying, treat any line that starts with whitespace as the beginning …'
complete -c editor -s P -l positionlog -d 'For the 200 most recent files, log the last position of the cursor, and place…'
complete -c editor -s Q -l quotestr -d 'Set the regular expression for matching the quoting part of a line'
complete -c editor -s R -l restricted -d 'Restricted mode: don\'t read or write to any file not specified on the command…'
complete -c editor -s S -l softwrap -d 'Display over multiple screen rows lines that exceed the screen\'s width'
complete -c editor -o Tnumber -l tabsize -d 'Set the size (width) of a tab to number columns'
complete -c editor -s U -l quickblank -d 'Make status-bar messages disappear after 1 keystroke instead of after 20'
complete -c editor -s V -l version -d 'Show the current version number and exit'
complete -c editor -s W -l wordbounds -d 'Detect word boundaries differently by treating punctuation characters as part…'
complete -c editor -s X -l wordchars -d 'Specify which other characters (besides the normal alphanumeric ones) should …'
complete -c editor -o Yname -l syntax -d 'Specify the name of the syntax highlighting to use from among the ones define…'
complete -c editor -s Z -l zap -d 'Let an unmodified Backspace or Delete erase the marked region (instead of a s…'
complete -c editor -s a -l atblanks -d 'When doing soft line wrapping, wrap lines at whitespace instead of always at …'
complete -c editor -s b -l breaklonglines -d 'Automatically hard-wrap the current line when it becomes overlong'
complete -c editor -s c -l constantshow -d 'Constantly show the cursor position on the status bar'
complete -c editor -s d -l rebinddelete -d 'Interpret the Delete and Backspace keys differently so that both Backspace an…'
complete -c editor -s e -l emptyline -d 'Do not use the line below the title bar, leaving it entirely blank'
complete -c editor -o ffile -l rcfile -d 'Read only this file for setting nano\'s options, instead of reading both the s…'
complete -c editor -s g -l showcursor -d 'Make the cursor visible in the file browser (putting it on the highlighted it…'
complete -c editor -s h -l help -d 'Show a summary of the available command-line options and exit'
complete -c editor -s i -l autoindent -d 'Automatically indent a newly created line to the same number of tabs and/or s…'
complete -c editor -s j -l jumpyscrolling -d 'Scroll the buffer contents per half-screen instead of per line'
complete -c editor -s k -l cutfromcursor -d 'Make the \'Cut Text\' command (normally ^K) cut from the current cursor positio…'
complete -c editor -s l -l linenumbers -d 'Display line numbers to the left of the text area'
complete -c editor -s m -l mouse -d 'Enable mouse support, if available for your system'
complete -c editor -s n -l noread -d 'Treat any name given on the command line as a new file'
complete -c editor -o odirectory -l operatingdir -d 'Set the operating directory'
complete -c editor -s p -l preserve -d 'Preserve the XON and XOFF sequences (^Q and ^S) so they will be caught by the…'
complete -c editor -s q -l indicator -d 'Display a "scrollbar" on the righthand side of the edit window'
complete -c editor -o rnumber -l fill -d 'Set the target width for justifying and automatic hard-wrapping at this numbe…'
complete -c editor -s s -l speller -d 'Use this command to perform spell checking and correcting, instead of using t…'
complete -c editor -s t -l saveonexit -d 'Save a changed buffer without prompting (when exiting with ^X)'
complete -c editor -s u -l unix -d 'Save a file by default in Unix format'
complete -c editor -s v -l view -d 'Just view the file and disallow editing: read-only mode'
complete -c editor -s w -l nowrap -d 'Do not automatically hard-wrap the current line when it becomes overlong'
complete -c editor -s x -l nohelp -d 'Don\'t show the two help lines at the bottom of the screen'
complete -c editor -s y -l afterends -d 'Make Ctrl+Right and Ctrl+Delete stop at word ends instead of beginnings'
complete -c editor -s z -l suspendable -d 'Obsolete option; ignored'
complete -c editor -s '%' -l stateflags -d 'Use the top-right corner of the screen for showing some state flags: I when a…'
complete -c editor -s _ -l minibar -d 'Suppress the title bar and instead show information about the current buffer …'
complete -c editor -s 0 -l zero -d 'Hide all elements of the interface (title bar, status bar, and help lines) an…'
complete -c editor -o bej
complete -c editor -s C -d 'Make and keep not just one backup file, but make and keep a uniquely numbered…'
complete -c editor -s J -d 'Draw a vertical stripe at the given column, to help judge the width of the te…'
complete -c editor -s T -d 'Set the size (width) of a tab to number columns'
complete -c editor -s Y -d 'Specify the name of the syntax highlighting to use from among the ones define…'
complete -c editor -s f -d 'Read only this file for setting nano\'s options, instead of reading both the s…'
complete -c editor -s o -d 'Set the operating directory'
complete -c editor -s r -d 'Set the target width for justifying and automatic hard-wrapping at this numbe…'
complete -c editor -l magic -d 'When neither the file\'s name nor its first line give a clue, try using libmag…'

