📄 jpicorc.in
字号:
-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. -mfirst macro Macro to execute on first modification -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 Macros for the above options are in the same format as in the key binding section below- but without the key name strings. These define the language syntax for ^G (goto matching delimiter): -single_quoted Text between ' ' should be ignored (this is not good for regular text since ' is normally used alone as an apostrophe) -c_comment Text between /* */ should be ignored -cpp_comment Text after // should be ignored -pound_comment Text after # should be ignored -vhdl_comment Text after -- should be ignored -semi_comment Text after ; should be ignored -text_delimiters begin=end:if=elif=else=endif Define word delimiters Default local options-highlight-istep 2 Use this macro (put in first column) to have joe "p4 edit" a file you're about to change. -mfirst if,"rdonly && joe(sys,\"p4 edit \",name,rtn)",then,mode,"o",msg,"executed \"p4 edit ",name,"\"",rtn,endif File type table is now in a separate file. You can copy this file to ~/.joe and customize it.:include ftyperc 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\|\b^K\b cut line \| \b^W\b find first \|\b^J\b justify \| \b^X\b save or discard, exit \|\|\b^U\b paste \| \b^W^W\b find next \|\b^T\b spell \|\bEsc .\b for more help \|}{Basic1\i Help Screen \|turn off with ^G prev. screen ^[, next screen ^[. \i\i \i\|\uCURSOR\u \|\uGO TO\u \|\uBLOCK\u \|\uDELETE\u \|\uMISC\u \|\uEXIT\u \|\i \i\i \i\|^B left ^F right \|^W^Y top of file \|^^ mark \|^D char \|^J format \|^X save \|\i \i\i \i\|^P up ^N down \|^W^V end of file \|^K cut \|^K line \|^T spell \|^C status\|\i \i\i \i\|^Y prev. screen \|^A beg. of line \|^U paste \|^[K >line \|^[T file \|^[Z shell\|\i \i\i \i\|^V next screen \|^E end of line \|^[U cycle \|^[H word< \|^L refresh \|\uFILE\u \|\i \i\i \i\|^Z prev. word \|^W^T line No. \|^O save \|^[D >word \|^[^[ options \|^O save \|\i \i\i \i\|^SPACE next word \|^W find ^W^W next\|^[/ filter \|^[- undo \|^[= redo \|^R insert\|\i \i}{Advanced\i Help Screen \|turn off with ^G prev. screen ^[, next screen ^[. \i\i \i\|\uMACROS\u \|\uWINDOW\u \|\uWINDOW\u \|\uSHELL\u \|\uMISC\u \|\i \i\i \i\|^[( 0-9 Record \|^[O Split \|^[G Grow \|^[! Command \|^[X Execute command \|\i \i\i \i\|^[) Stop \|^[E Edit file \|^[J Shrink \|^[' Window \|^[M Math \|\i \i\i \i\|^[ 0-9 Play \|^[P Goto prev. \|\uQUOTE\u \|\uI-SEARCH\u \|^[C Center line \|\i \i\i \i\|^[? Query \|^[N Goto next \|` Ctrl- \|^[R Backwards \|^[] to matching ( [ {\|\i \i\i \i\|^[\\ Repeat \|^[I Zoom in/out \|^\\ Meta- \|^[S Forwards \|^[< ^[> pan left/rght\|\i \i}{Search\i Help Screen \|turn off with ^G 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}{SearchOptions\i Help Screen \|turn off with ^KH prev. screen ^[, next screen ^[. \i\i \iSearch options: \|\i \i\i \i r Replace \|\i \i\i \i k Restrict search to highlighted block, which can be rectangular \|\i \i\i \i b Search backward instead of forward \|\i \i\i \i i Ignore case \|\i \i\i \i a Search across all loaded files \|\i \i\i \i e Search across all files in Grep or Compile error list \|\i \i\i \i w Wrap to beginning of file for this search \|\i \i\i \i n Do not wrap to beginning of file for this search \|\i \i\i \i nnn Perform exaclty nnn replacements \|\i \i}{Math\i Help Screen \|turn off with ^G prev. screen ^[, next screen ^[. \i\i \i \uCOMMANDS\u (hit ESC m for math) \uFUNCTIONS\u \|\i \i\i \i hex hex display mode sin cos tab asin acos atan \|\i \i\i \i dec decimal mode sinh cosh tanh asinh acosh atanh \|\i \i\i \i ins type result into file sqrt cbrt exp ln log \|\i \i\i \i eval evaluate block int floor ceil abs erg ergc \|\i \i\i \i 0xff enter number in hex joe(..macro..) - runs an editor macro \|\i \i\i \i 3e-4 floating point decimal \uBLOCK\u \|\i \i\i \i a=10 assign a variable sum cnt Sum, count \|\i \i\i \i 2+3:ins multiple commands avg dev Average, std. deviation \|\i \i\i \i e pi constants \uOPERATORS\u \|\i \i\i \i ans previous result ! ^ * / % + - < <= > >= == != && || ? :\|\i \i}{Names\i Help Screen \|turn off with ^G 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 ^G prev. screen ^[, \i\i \i Send bug reports to: http://sourceforge.net/projects/joe-editor \|\i \i\i \i \|\i \i\i \i default joerc file is here @JOERC@/jpicorc \|\i \i\i \i additional documentation can be found here @JOERC@/doc \|\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 Use MDOWN, MDRAG, MUP, M2DOWN, M2DRAG, M2UP, M3DOWN, M3DRAG, M3UP for mouse Use MWDOWN, MWUP for wheel mouse motion 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 , Commands or named macros may be created with :def. For example, you can use: :def foo eof,bol To define a command foo which will goto the beginning of the last line.:windows Bindings common to all windowstype ^@ TO
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -