1#compdef joe 2 3_arguments \ 4 '-asis[characters with codes >127 will be displayed non-inverted]' \ 5 '-backpath[backup file directory]:backup file directory:_files -/' \ 6 '-baud[inserts delays for baud rates below 19200]:baud rate:(57600 38400 19200 9600 4800 2400 1200 300)' \ 7 '-beep[beep on command errors or when cursor goes past extremes]' \ 8 '-columns[sets the number of screen columns]:num of columns' \ 9 '-csmode[continued search mode]' \ 10 '-dopadding[catch up after long terminal commands]' \ 11 '-exask[^KX verify the file name that it is about to write]' \ 12 '-force[make sure that last line of the file has a line-feed]' \ 13 '-help[start editor with help screen on]' \ 14 '-keepup[update column number and control-key prefix after each keystroke]' \ 15 '-lightoff[make block highlighting go away after any block command]' \ 16 '-lines[set the number of screen lines]:num of screen lines' \ 17 '-marking[text between ^KB and the cursor is highlighted]' \ 18 '-mid[scroll window and make cursor go to center after]' \ 19 '-nobackups[prevents making backup files]' \ 20 '-nonotice[prevents displaying copyright notice on startup]' \ 21 '-nosta[eliminate top-most status line]' \ 22 '-noxon[turn off ^S/^Q processing]' \ 23 '-orphan[extra files get placed in orphaned buffers instead of new windows]' \ 24 '-pg[specify the number of lines to keep after PgUp/PgDn]:num of lines to keep' \ 25 '-skiptop[prevents use of top n screen lines]:num of top lines to skip' \ 26 '+-[number of lines]:number of lines' \ 27 '-crlf[use CR+LF as end of line sequence, instead of just LF]' \ 28 '-wordwrap[wrap the previous word when you type past the right margin]' \ 29 '-autoindent[indentation is duplicated onto the next line]' \ 30 '-overwrite[typing overwrites existing characters]' \ 31 '-lmargin[set the left margin]:left margin' \ 32 '-rmargin[set the right margin]:right margin' \ 33 '-tab[set the TAB character width]:tab width' \ 34 '-indentc[set the indentation character for ^K, and ^K.]:indent char for ^K, and ^K.' \ 35 '-istep[set the indentation step for ^K, and ^K.]:indent step for ^K, and ^K.' \ 36 '-linums[display line numbers before each line]' \ 37 '-rdonly[make file read-only]' \ 38 '-keymap[use an alternate section of joerc for keybindings]:keymap name' \ 39 '*:files:_files' 40