$MirOS: contrib/code/jupp/jstarrc.in,v 1.25 2017/01/11 00:41:18 tg Exp $ Initialization file for JOE WordStar / Turbo-C Joe JOE looks for this file in: 1 - $HOME/.jstarrc 2 - @jrcbefore@jstarrc@jrcafter@ This file can include other files by placing the following include command in the first column: :include filename FIRST SECTION: Default global options (these options can also be specified on the command line. Also the NOXON, LINES, COLUMNS, DOPADDING and BAUD options can be specified in environment variables): Put each option you want set in the first column: -option Sets the option --option Clears the option -mid Cursor is recentered when scrolling is necessary -marking Text between ^KB and cursor is highlighted (use with -lightoff) -asis Characters 128 - 255 shown as-is -force Force final newline when files are saved -nobackups If you don't want backup files to be created -lightoff Turn off highlighting after block copy or move -exask ^KX always confirms file name -beep Beep on errors and when cursor goes past extremes -nosta Disable top-most status line -keepup %k and %c status line escape sequences updated frequently -pg nnn No. lines to keep for PgUp/PgDn -csmode ^KF after a pervious search does a ^L instead -backpath path Directory to store backup files (do not use quotes, and remove the comment after path) -nonotice Disable copyright notice -noxon Attempt to turn off ^S/^Q processing -orphan Put extra files given on command line in orphaned buffers instead of in windows -dopadding Output pad characters (for when there is no tty handshaking) -lines nnn Set no. screen lines -baud nnn Set baud rate for terminal optimizations -columns nnn Set no. screen columns -help Start with help on -skiptop nnn Don't use top nnn lines of the screen -notite Don't send terminal initialization and termination strings: prevents restoration of screen on exit. -pastetite Enter bracketed paste mode automatically for TERM=xterm-xfree86 -usetabs Use tabs to help optimize screen update. -assume_color Assume terminal has ANSI color support even if termcap/terminfo entry says that it doesn't. This only applies if the terminal otherwise looks like an ANSI terminal (support bold and capability starts with ESC [). -guess_crlf Automatically detect MS-DOS files and set -crlf appropriately -guess_indent Guess indent character (tab or space). -menu_explorer Stay in menu system when a directory is selected (otherwise directory is added to path and menu is closed). -icase Search is case insensitive by default. -wrap Search wraps Status line definition strings. -lmsg defines the left-justified string, and -rmsg defines the right-justified string. The first character of -rmsg is the background fill character. -hmsg (3.1jupp15) defines the help hint (only about a dozen chars) displayed next to the copyright notice in the initial status line. The following escape sequences can be used in these strings: %t 12 hour time %u 24 hour time %T O for overtype mode, I for insert mode %W W if wordwrap is enabled %I A if autoindent is enabled %X Rectangle mode indicator %n File name %m '(Modified)' if file has been changed %* '*' if file has been changed %R Read-only indicator %r Row (line) number %c Column number %o Byte offset into file %O Byte offset into file in hex %a Ascii value of character under cursor %A Ascii value of character under cursor in hex %p Percent of file cursor is at %l No. lines in file %k Entered prefix keys %S '*SHELL*' if there is a shell running in window %M Macro recording message %y Syntax The formatting escape sequences may also be given: \i Inverse \u Underline \b Bold \d Dim \f Blink -lmsg \i%k%T%W%I%X %n %m%y%R %M -rmsg %S Row %r Col %c %t Ctrl-J for help -hmsg Help: ^J SECOND SECTION: File name dependant local option settings: Each line with '*' in the first column indicates the modes which should be files which match the regular expression. If more than one regular expression matches the file name, than the last matching one is chosen. Here is a list of modes which can be set: -utf8 File is UTF-8 coded -syntax name Specify syntax (syntax file called 'name.jsf' will be loaded) -highlight Enable highlighting -smarthome Home key first moves cursor to beginning of line, then if hit again, to first non-blank character. -indentfirst Smart home goes to first non-blank character first, instead of going the beginning of line first. -smartbacks Backspace key deletes 'istep' number of 'indentc's if cursor is at first non-space character. -tab nnn Tab width -indentc nnn Indentation character (32 for space, 9 for tab) -istep nnn Number of indentation columns -spaces TAB inserts spaces instead of tabs. -purify Fix indentation if necessary for rindent, lindent and backs (for example if indentation uses a mix of tabs and spaces, and indentc is space, indentation will be converted to all spaces). -crlf File uses CR-LF at ends of lines -wordwrap Wordwrap -autoindent Auto indent -overwrite Overtype mode -picture Picture mode (right arrow can go past end of lines) -lmargin nnn Left margin -rmargin nnn Right margin -french One space after '.', '?' and '!' for wordwrap and paragraph reformat instead of two. Joe does not change the spacing you give, but sometimes it must put spacing in itself. This selects how much is inserted. -linums Enable line numbers on each line -rdonly File is read-only -keymap name Keymap to use if not 'main' -lmsg Status line definition strings- -rmsg see previous section for more info. -mnew macro Macro to execute when new files are loaded -mold macro Macro to execute when existing files are loaded -msnew macro Macro to execute when new files are saved -msold macro Macro to execute when existing files are saved -square Rectangular block mode Macros for the above options are in the same format as in the key binding section below- but without the key name strings. Default local options -highlight -french -indentc 9 -istep 1 -purify -smartbacks -tab 8 --wordwrap #HOOK#1 global/default flags === Generic files No '.' in filename? * Assume it's a text file and, except in jupp, we want wordwrap on. -wordwrap Filename with '.' is probably not a text file. *.* === Patterns with multiple wildcards Order is latest match wins, so... */patch-* -highlight -syntax diff *.sh* -syntax sh *.ksh* -syntax sh *.mksh* -syntax sh *.bash* -syntax sh *tmp/mutt-* -wordwrap -syntax mail *tmp/pico.* -wordwrap -syntax mail */mail/* -syntax mail */patches/* -highlight -syntax diff === Assembly *.asm -syntax asm *.S -syntax asm *.s -syntax asm === C, C++, Objective-C *.C -syntax c *.c -syntax c *.cc -syntax c *.cpp -syntax c *.cxx -syntax c *.c++ -syntax c *.h -syntax c *.hh -syntax c *.hpp -syntax c *.h++ -syntax c *.m -syntax c *.nxc --highlight -syntax c === C Shell *.csh -syntax csh *.login -syntax csh *.logout -syntax csh *.tcsh -syntax csh *.tcshrc -syntax csh * +#!\+\[ ]\+\[a-z/]/\+tcsh\> -syntax csh * +#!\+\[ ]\+\[a-z/]/env\+\[ ]\+tcsh\> -syntax csh === Diff *.diff -highlight -syntax diff *.patch -highlight -syntax diff *.rej -highlight -syntax diff *.debdiff -highlight -syntax diff * +---\[ ] -highlight -syntax diff * +***\[ ] -highlight -syntax diff * +Index: \*\n====================================================== -highlight -syntax diff * +Index: \*\ndiff\*\n--- \*\n+++\[ ] -highlight -syntax diff * +\[=?]\*\n--- \*\n+++\[ ] -highlight -syntax diff * +diff\*\n--- \*\n+++\[ ] -highlight -syntax diff * +diff --git\*\nindex\*\n--- \*\n+++\[ ] -highlight -syntax diff === eMail *.eml -syntax mail Not quite eMail but still RFC822 *.mht -syntax mail === FORTRAN *.f -syntax fortran *.for -syntax fortran *.FOR -syntax fortran *.f77 -syntax fortran *.F77 -syntax fortran *.f90 -syntax fortran *.F90 -syntax fortran === GNU autoconf *.ac -syntax conf *.am -syntax conf === HTML *.htm -encoding utf8 -syntax html *.html -encoding utf8 -syntax html === Java *.java -encoding utf8 -syntax java === Joe Syntax File *.jsf -syntax conf === flex *.l -syntax lex === LISP *.lisp -syntax lisp *.lsp -syntax lisp *.el -syntax lisp === M4 *.m4 -syntax m4 === Make *akefile -syntax conf *AKEFILE -syntax conf === Mason *.mas -syntax mason === Pascal *.p -syntax pascal *.pas -syntax pascal === Perl *.pl -syntax perl *.pm -syntax perl * +#!\+\[ ]\+\[a-z/]/perl -syntax perl * +#!\+\[ ]\+\[a-z/]/env\+\[ ]perl -syntax perl === PHP *.php -syntax php === Python *.py -encoding utf8 -syntax python -tab 4 -indentc 32 -istep 4 -spaces * +#!\+\[ ]\+\[a-z/]/python -encoding utf8 -syntax python -tab 4 -indentc 32 -istep 4 -spaces * +#!\+\[ ]\+\[a-z/]/env\+\[ ]python -encoding utf8 -syntax python -tab 4 -indentc 32 -istep 4 -spaces === Bourne, Korn, POSIX Shell *profile -syntax sh * +:\[ \n] -syntax sh * +#!\+\[ ]\+\[a-z/]/\+\[bd]\+ash\> -syntax sh * +#!\+\[ ]\+\[a-z/]/env\+\[ ]\+\[bd]\+ash\> -syntax sh * +#!\+\[ ]\+\[a-z/]/\+\[a-z]ksh\+\[0-9._-]\> -syntax sh * +#!\+\[ ]\+\[a-z/]/env\+\[ ]\+\[a-z]ksh\+\[0-9._-]\> -syntax sh === TCL *.tcl -syntax tcl === TeX *.cls -syntax tex *.sty -syntax tex *.tex -syntax tex === Verilog *.v -syntax verilog -istep 2 *.vh -syntax verilog -istep 2 === VHDL *.vhd -syntax vhdl -istep 2 === XML *.xml -encoding utf8 -syntax xml === yacc *.y -syntax yacc === Text (except in jupp) *.asc -wordwrap *.doc -wordwrap *.txt -wordwrap #HOOK#2 filename matching THIRD SECTION: Named help screens: Use \i to turn on/off inverse video Use \u to turn on/off underline Use \b to turn on/off bold Use \d to turn on/off dim Use \f to turn on/off flash {Basic \i Help Screen \|turn off with ^J more help with ESC . (^[.) \i \i \i\|\uCURSOR\u \|\uGO TO\u \|\uBLOCK\u \|\uDELETE\u \|\uMISC\u \|\uEXIT\u \|\i \i \i \i\|^S left ^D right \|^R prev. screen \|^KB begin \|^G char \|^B reformat \|^KX save \|\i \i \i \i\|^E up ^X down \|^C next screen \|^KK end \|^Y line \|^V overtype \|^KQ abort \|\i \i \i \i\|^A previous word \|^QS beg. of line \|^KV move \|^T >word \|^] refresh \|^KZ shell \|\i \i \i \i\|^F next word \|^QD end of line \|^KC copy \|^QY >line \|^O options \|\uFILE\u \|\i \i \i \i\|\uSEARCH\u \|^QR top of file \|^KW file \|^U undo \|\uSPELL\u \|^KE new \|\i \i \i \i\|^QF find text \|^QC end of file \|^KY delete \|^^ redo \|^QN word \|^KR insert\|\i \i \i \i\|^L find next \|^QI to line No. \|^K/ filter \| \|^QL file \|^KD save \|\i \i } {Windows \i Help Screen \|turn off with ^J prev. screen ^[, next screen ^[. \i \i \i\|^KO Split the window in half \|^KE Load file into window \|\i \i \i \i\|^KG Make current window bigger \|^KT Make current window smaller \|\i \i \i \i\|^KN Go to the window below \|^KP Go to the window above \|\i \i \i \i\|^KQ Eliminate the current window \|^KI Show all windows / Show one window\|\i \i } {Advanced \i Help Screen \|turn off with ^J prev. screen ^[, next screen ^[. \i \i \i\|\uMACROS\u \|\uMISC\u \|\uSCROLL\u \|\uSHELL\u \|\uGOTO\u \|\uI-SEARCH\u \|\i \i \i \i\|^[( Record \|^Q? status \|^Q. Right \|^K' Window \|^QB to ^KB \|^[R Backwards \|\i \i \i \i\|^[) Stop \|^QQ repeat \|^Q, Left \|^[! Command \|^QK to ^KK \|^[S Forwards \|\i \i \i \i\|^[ 0-9 Play \|^QM Math \| \|\uQUOTE\u \|\uDELETE\u \|\uBOOKMARKS\u \|\i \i \i \i\|^[? Query \|^KA Center line \| \|^P Ctrl- \|^[Y yank \|^K 0-9 Set \|\i \i \i \i\|^[D Dump \|^[H Message \| \|^\\ Meta- \|^[O word< \|^Q 0-9 Goto \|\i \i } {Programs \i Help Screen \|turn off with ^J prev. screen ^[, next screen ^[. \i \i \i\|\uGOTO\u \|\uINDENT\u \|\uCOMPILING\u \| \|\i \i \i \i\|^Q[ Matching ( [ { \|^K. more \|^[C Compile and parse errors \| \|\i \i \i \i\|^QP Previous place \|^K, less \|^[E Parse errors \| \|\i \i \i \i\|^K= Next place \| \|^[= Goto next error \| \|\i \i \i \i\|^K; Tags file srch \| \|^[- Goto previous error \| \|\i \i } {Search \i Help Screen \|turn off with ^J prev. screen ^[, next screen ^[. \i \i \iSpecial search sequences: \|\i \i \i \i \\^ \\$ matches beg./end of line \\? match any single char \|\i \i \i \i \\< \\> matches beg./end of word \\* match 0 or more chars \|\i \i \i \i \\c matches balanced C expression \\\\ matches a \\ \|\i \i \i \i \\[..] matches one of a set \\n matches a newline \|\i \i \i \i \\+ matches 0 or more of the character which follows the \\+ \|\i \i \i \iSpecial replace sequences: \|\i \i \i \i \\& replaced with text which matched search string \|\i \i \i \i \\0 - 9 replaced with text which matched Nth \\*, \\?, \\c, \\+, or \\[..] \|\i \i \i \i \\\\ replaced with \\ \\n replaced with newline \|\i \i } {Names \i Help Screen \|turn off with ^J prev. screen ^[, next screen ^[. \i \i \i Hit TAB at file name prompts to generate menu of file names \|\i \i \i \i Or use up/down keys to access history of previously entered names \|\i \i \i \i Special file names: \|\i \i \i \i !command Pipe in/out of a shell command \|\i \i \i \i >>filename Append to a file \|\i \i \i \i - Read/Write to/from standard I/O \|\i \i \i \i filename,START,SIZE Read/Write a part of a file/device \|\i \i \i \i Give START/SIZE in decimal (255), octal (0377) or hex (0xFF) \|\i \i } {Joe \i Help Screen \|turn off with ^J prev. screen ^[, \i \i \i For bug reports and other information, refer to: \uhttp://mirbsd.de/jupp\u \|\i \i } #HOOK#3 additional help screens {CharTable \i Help Screen turn off with ^J prev. screen ^[, \uCharacter Map\u \i \i \i Dec Hex \u 0123 4567 89AB CDEF 0123 4567 89AB CDEF \u Hex Dec \i \i \i \i | | \i \i \i \i 0 00 | \u@ABC\u \uDEFG\u \uHIJK\u \uLMNO\u | 80 128 \i \i \i \i 16 10 | \uPQRS\u \uTUVW\u \uXYZ[\u \u\\]^_\u | 90 144 \i \i \i \i 32 20 | !"# $%&' ()*+ ,-./ | A0 160 \i \i \i \i 48 30 | 0123 4567 89:; <=>? | B0 176 \i \i \i \i 64 40 | @ABC DEFG HIJK LMNO | C0 192 \i \i \i \i 80 50 | PQRS TUVW XYZ[ \\]^_ | D0 208 \i \i \i \i 96 60 | `abc defg hijk lmno | E0 224 \i \i \i \i 112 70 | pqrs tuvw xyz{ |}~ | F0 240 \i \i } {Paste \i \i \i \i \u\bPaste Mode\b\u turn off with \b^D\b or \b^[[201~\b \i \i } FOURTH SECTION: Key bindings: Section names you must provide: :main For editing window :prompt For prompt lines :query For single-character query lines :querya Singe-character query for quote :querysr Search & Replace single-character query Other sections may be given as well for organization purposes or for use with the '-keymap' option. Use: :inherit name To copy the named section into the current one :delete key To delete a key sequence from the current section Keys: Use ^@ through ^_ and ^? for Ctrl chars Use SP for space Use a TO b to generate a range of characters You can also use termcap string capability names. For example: .ku Up .kd Down .kl Left .kr Right .kh Home .kH End .kI Insert .kD Delete .kP PgUp .kN PgDn .k1 - .k9 F1 - F9 .k0 F0 or F10 .k; F10 Macros: Simple macros can be made by comma seperating 2 or more command names. For example: eof,bol ^T Z Goto beginning of last line Also quoted matter is typed in literally: bol,">",dnarw .k1 Quote news article line Macros may cross lines if they end with , :windows Bindings common to all windows #HOOK#4 common keybindings type ^@ TO abort ^K Q abort ^K ^Q abort ^K q abort ^C arg ^Q Q arg ^Q ^Q arg ^Q q explode ^K I explode ^K ^I explode ^K i help ^J nmark ^K H nmark ^K ^H nmark ^K h hnext ^[ . hprev ^[ , math ^Q M math ^Q ^M math ^Q m msg ^[ H msg ^[ ^H msg ^[ h nextw ^K N nextw ^K ^N nextw ^K n pgdn .kN Screen down pgdn ^[ [ 6 ~ pgup .kP Screen up pgup ^[ [ 5 ~ play ^[ 0 TO 9 prevw ^K P prevw ^K ^P prevw ^K p query ^[ ? record ^[ ( retype ^] rtn ^M shell ^K Z shell ^K ^Z shell ^K z stop ^[ ) :Paste type ^@ TO rtn ^M msg,"Entered bracketed paste mode",rtn ^[ [ 2 0 0 ~ helpcard,rtn,keymap,"main",rtn,msg,rtn ^[ [ 2 0 1 ~ helpcard,rtn,keymap,"main",rtn ^D :Pastecua type ^@ TO rtn ^M msg,"Entered bracketed paste mode",rtn ^[ [ 2 0 0 ~ helpcard,rtn,keymap,"cua",rtn,msg,rtn ^[ [ 2 0 1 ~ helpcard,rtn,keymap,"cua",rtn ^D :Pasteprompt type ^@ TO nop ^L keymap,"prompt",rtn,msg,rtn,rtn ^M msg,"Entered bracketed paste mode",rtn ^[ [ 2 0 0 ~ keymap,"prompt",rtn,msg,rtn ^[ [ 2 0 1 ~ keymap,"prompt",rtn ^D :main Text editing window :inherit windows helpcard,"Paste",rtn,keymap,"Paste",rtn ^[ [ 2 0 0 ~ nop ^[ [ 2 0 1 ~ #HOOK#5 main keybindings begin_marking,uparw,toggle_marking ^[ [ 1 ; 2 A xterm shift-up mark begin_marking,dnarw,toggle_marking ^[ [ 1 ; 2 B xterm shift-down mark begin_marking,rtarw,toggle_marking ^[ [ 1 ; 2 C xterm shift-right mark begin_marking,ltarw,toggle_marking ^[ [ 1 ; 2 D xterm shift-left mark begin_marking,bol,toggle_marking ^[ [ 1 ; 2 H xterm shift-home begin_marking,eol,toggle_marking ^[ [ 1 ; 2 F xterm shift-end begin_marking,bof,toggle_marking ^[ [ 1 ; 6 H xterm shift-ctrl-home begin_marking,eof,toggle_marking ^[ [ 1 ; 6 F xterm shift-ctrl-end Ispell :def ispellfile filt,"cat >ispell.tmp;ispell ispell.tmp /dev/tty;cat ispell.tmp;/bin/rm ispell.tmp",rtn,retype :def ispellword psh,nextword,markk,prevword,markb,filt,"cat >ispell.tmp;ispell ispell.tmp /dev/tty;tr -d $SPLTMP;aspell -x -c $SPLTMP /dev/tty;cat $SPLTMP;/bin/rm $SPLTMP",rtn,retype :def aspellword psh,nextword,markk,prevword,markb,filt,"SPLTMP=ispell.tmp;cat >$SPLTMP;aspell -x -c $SPLTMP /dev/tty;tr -d <$SPLTMP '\\012';/bin/rm $SPLTMP",rtn,retype,nextword @SPELL@file ^Q l @SPELL@file ^Q L @SPELL@file ^Q ^L @SPELL@word ^Q n @SPELL@word ^Q N @SPELL@word ^Q ^N Compile macro :def compile querysave,query,scratch,"* Build Log *",rtn,markb,eof," ",markk,blkdel,build insc ^[ [ 2 ~ insc ^[ [ L SCO delch ^[ [ 3 ~ pgup ^[ [ I SCO pgdn ^[ [ G SCO home ^[ [ 1 ~ Putty, Linux, Cygwin home ^[ [ H Xterm, Konsole, SCO home ^[ O H gnome-terminal home ^[ [ 7 ~ RxVT eol ^[ [ 4 ~ Putty, Linux, Cygwin, ssh eol ^[ [ F Xterm, Konsole, SCO eol ^[ O F gnome-terminal eol ^[ [ 8 ~ RxVT rtarw,prevword,markb,nextword,markk ^K T rtarw,prevword,markb,nextword,markk ^K ^T rtarw,prevword,markb,nextword,markk ^K t run ^[ ! isrch ^[ s isrch ^[ S isrch ^[ ^S rsrch ^[ r rsrch ^[ R rsrch ^[ ^R backw ^[ o backw ^[ ^O yankpop ^[ y yankpop ^[ Y yankpop ^[ ^Y parserr ^[ E parserr ^[ ^E parserr ^[ e nxterr ^[ = prverr ^[ - compile ^[ ^C compile ^[ c compile ^[ C insf,"!date '+%I:%M %p'",rtn ^[ ! insf,"!date '+%b %d, %Y'",rtn ^[ @ center ^[ c psh,prevword,nextword,nextword,markk,prevword,markb,setmark,":", prevword,nextword,blkmove,markk,prevword,markb,gomark,":",blkmove,nextword ^[ t bop ^[ p psh,drop,fwrdc,query,markk,blkdel ^Q T Cut to char psh,drop,fwrdc,query,markk,blkdel ^Q t Cut to char psh,drop,fwrdc,query,markk,blkdel ^Q ^T Cut to char quote8 ^\ Quote Meta chars quote ^P Quote Ctrl chars backs ^? Backspace backs ^H bknd ^K ' Shell window bkwdc ^Q H ^@ TO bkwdc ^Q ^H ^@ TO bkwdc ^Q h ^@ TO blkcpy ^K C Copy marked block blkcpy ^K ^C blkcpy ^K c blkdel ^K Y Delete marked block blkdel ^K ^Y blkdel ^K y blkmove ^K V Move marked block blkmove ^K ^V blkmove ^K v blksave ^K W Save marked block blksave ^K ^W blksave ^K w bof ^Q R Goto beginning of file bof ^Q ^R bof ^Q r bof ^Q .kP home .kh Goto beginning of line home ^[ [ H home ^[ [ 1 ~ home ^Q S home ^Q ^S home ^Q s home ^Q .kl crawll ^Q , crawlr ^Q . tos,bol ^Q E tos,bol ^Q ^E tos,bol ^Q e tos,bol ^Q .ku center ^K A Center line center ^K ^A center ^K a delbol ^Q ^H delbol ^Q ^? delbol ^Q .kD delch .kD Delete character delch ^G deleol ^Q Y Delete to end of line deleol ^Q ^Y deleol ^Q y dellin ^Y Delete entire line delw ^T Delete word to right dnarw .kd Go down dnarw ^X dnarw ^[ O B dnarw ^[ [ B dnslide ^Z edit ^K E Edit a file edit ^K ^E edit ^K e eof ^Q C Go to end of file eof ^Q ^C eof ^Q c eof ^Q .kN eol .kH Go to end of line eol .@7 eol ^[ [ F eol ^[ [ 4 ~ eol ^Q D eol ^Q ^D eol ^Q d eol ^Q .kr bos,eol ^Q X bos,eol ^Q ^X bos,eol ^Q x bos,eol ^Q .kd execmd ^[ x Prompt for command to execute execmd ^[ X Prompt for command to execute execmd ^[ ^X Prompt for command to execute exsave ^K X Save and exit exsave ^K ^X exsave ^K x ffirst ^Q F Find first ffirst ^Q ^F ffirst ^Q f qrepl ^Q A Search & replace qrepl ^Q ^A qrepl ^Q a filt ^K / Filter block fnext ^L Find next format ^B Format paragraph fwrdc ^Q G ^@ TO fwrdc ^Q ^G ^@ TO fwrdc ^Q g ^@ TO gomark ^Q 0 TO 9 groww ^K G Grow window groww ^K ^G groww ^K g insc ^@ insf ^K R Insert a file insf ^K ^R insf ^K r macros ^[ d Dump macros macros ^[ ^D mode,"T" ^V Insert/Overtype mode,"T" .kI lindent ^K , Indent to left line ^Q I Goto line no. line ^Q ^I line ^Q i ltarw .kl Go left ltarw ^S ltarw ^[ O D ltarw ^[ [ D markb ^K B Set beginning of marked block markb ^K ^B markb ^K b markk ^K K Set end of marked block markk ^K ^K markk ^K k markl ^K L markl ^K ^L markl ^K l mode ^O nextpos ^K = Goto next position in position history nextword ^F Goto next word open ^N Split line pgdn ^C pgup ^R prevpos ^Q P prevpos ^Q ^P prevpos ^Q p prevword ^A Previous word redo ^^ Redo changes rindent ^K . Indent to right rtarw .kr Go right rtarw ^D rtarw ^[ O C rtarw ^[ [ C save ^K D Save file save ^K S save ^K ^D save ^K ^S save ^K d save ^K s setmark ^K 0 TO 9 shrinkw ^K T Shrink window shrinkw ^K ^T shrinkw ^K t splitw ^K O Split window splitw ^K ^O splitw ^K o stat ^Q ? Show status tag ^K ; tomarkb ^Q B Go to beginning of marked block tomarkb ^Q ^B tomarkb ^Q b tomarkk ^Q K Go to end of marked block tomarkk ^Q ^K tomarkk ^Q k rvmatch ^Q [ Goto matching parenthasis rvmatch ^Q ^[ tomatch ^Q ] tomatch ^Q ^] undo ^U Undo changes undo ^_ uparw .ku Go up uparw ^E uparw ^[ O A uparw ^[ [ A upslide ^W :prompt Prompt windows :inherit main abort ^C complete ^I nop ^L keymap,"Pasteprompt",rtn,msg,"Entered bracketed paste mode",rtn ^[ P keymap,"Pasteprompt",rtn,msg,"Entered bracketed paste mode",rtn ^[ p keymap,"Pasteprompt",rtn,msg,"Entered bracketed paste mode",rtn ^[ [ 2 0 0 ~ :menu Selection menus :inherit windows pgupmenu ^[ [ I pgdnmenu ^[ [ G bolmenu ^[ [ 1 ~ Putty, Linux, Cygwin bolmenu ^[ [ H Xterm, Konsole bolmenu ^[ O H gnome-terminal bolmenu ^[ [ 7 ~ RxVT eolmenu ^[ [ 4 ~ Putty, Linux, Cygwin, ssh eolmenu ^[ [ F Xterm, Konsole eolmenu ^[ O F gnome-terminal eolmenu ^[ [ 8 ~ RxVT abort ^[ ^[ backsmenu ^? backsmenu ^H bofmenu ^Q R bofmenu ^Q ^R bofmenu ^K r bolmenu .kh bolmenu ^Q S bolmenu ^Q ^S bolmenu ^Q s dnarwmenu .kd dnarwmenu ^X dnarwmenu ^[ [ B dnarwmenu ^[ O B eofmenu ^Q C eofmenu ^Q ^C eofmenu ^Q c eolmenu .kH eolmenu ^Q D eolmenu ^Q ^D eolmenu ^Q d ltarwmenu .kl ltarwmenu ^S ltarwmenu ^[ [ D ltarwmenu ^[ O D pgdnmenu .kN Screen down pgdnmenu ^C pgdnmenu ^[ [ 6 ~ pgupmenu .kP Screen up pgupmenu ^R pgupmenu ^[ [ 5 ~ rtarwmenu .kr rtarwmenu ^D rtarwmenu ^[ [ C rtarwmenu ^[ O C rtn SP rtn ^I rtn ^K H rtn ^K h rtn ^K ^H rtn ^J tabmenu ^I uparwmenu .ku uparwmenu ^E uparwmenu ^[ [ A uparwmenu ^[ O A :query Single-key query window :inherit windows :querya Single-key query window for quoting type ^@ TO :querysr Search & replace query window type ^@ TO :cua Undo/Cut/Copy/Paste, CUA style :inherit main #HOOK#6 extra keybindings in CUA mode undo ^Z blkdel,nmark ^X copy ^C yank ^V helpcard,"Paste",rtn,keymap,"Pastecua",rtn ^[ P helpcard,"Paste",rtn,keymap,"Pastecua",rtn ^[ p helpcard,"Paste",rtn,keymap,"Pastecua",rtn ^[ [ 2 0 0 ~