📄 builtins.c
字号:
/* Built-in files */#include "types.h"unsigned char *builtins[]={ USTR "joerc", USTR "-notite\n" "-assume_color\n" "-assume_256color\n" "-guess_non_utf8\n" "-guess_crlf\n" "-guess_indent\n" "-menu_above\n" "-transpose\n" "-joe_state\n" "-restore\n" "-search_prompting\n" "-lmsg \\i%k%T%W%I%X %n %m%y%R %M %x\n" "-rmsg %S Row %r Col %c %t Ctrl-K H for help\n" "-istep 2\n" "{Basic\n" "\\i Help Screen \\|turn off with ^KH more help with ESC . (^[.) \\i\n" "\\i \\i\\|\\uCURSOR\\u \\|\\uGO TO\\u \\|\\uBLOCK\\u \\|\\uDELETE\\u \\|\\uMISC\\u \\|\\uEXIT\\u \\|\\i \\i\n" "\\i \\i\\|^B left ^F right \\|^U prev. screen \\|^KB begin \\|^D char. \\|^KJ reformat \\|^KX save \\|\\i \\i\n" "\\i \\i\\|^P up ^N down \\|^V next screen \\|^KK end \\|^Y line \\|^KA center \\|^C abort \\|\\i \\i\n" "\\i \\i\\|^Z previous word \\|^A beg. of line \\|^KM move \\|^W >word \\|^T options \\|^KZ shell \\|\\i \\i\n" "\\i \\i\\|^X next word \\|^E end of line \\|^KC copy \\|^O word< \\|^R refresh \\|\\uFILE\\u \\|\\i \\i\n" "\\i \\i\\|\\uSEARCH\\u \\|^KU top of file \\|^KW file \\|^J >line \\|\\uSPELL\\u \\|^KE edit \\|\\i \\i\n" "\\i \\i\\|^KF find text \\|^KV end of file \\|^KY delete \\|^_ undo \\|^[N word \\|^KR insert\\|\\i \\i\n" "\\i \\i\\|^L find next \\|^KL to line No. \\|^K/ filter \\|^^ redo \\|^[L file \\|^KD save \\|\\i \\i\n" "}\n" "{Windows\n" "\\i Help Screen \\|turn off with ^KH prev. screen ^[, next screen ^[. \\i\n" "\\i \\i\\|^KO Split the window in half \\|^KE Load file into window \\|\\i \\i\n" "\\i \\i\\|^KG Make current window bigger \\|^KT Make current window smaller \\|\\i \\i\n" "\\i \\i\\|^KN Go to the window below \\|^KP Go to the window above \\|\\i \\i\n" "\\i \\i\\|^[V Switch to next buffer \\|^[U Switch to previous buffer \\|\\i \\i\n" "\\i \\i\\|^C Eliminate the current window \\|^KI Show all windows / Show one window\\|\\i \\i\n" "}\n" "{Advanced\n" "\\i Help Screen \\|turn off with ^KH prev. screen ^[, next screen ^[. \\i\n" "\\i \\i\\|\\uMACROS\\u \\|\\uMISC\\u \\|\\uSCROLL\\u \\|\\uSHELL\\u \\|\\uGOTO\\u \\|\\uI-SEARCH\\u \\|\\i \\i\n" "\\i \\i\\|^K[ 0-9 Record \\|^K SPACE status \\|^[W Up \\|^K' Window \\|^[B To ^KB \\|^[R Backwards\\|\\i \\i\n" "\\i \\i\\|^K] Stop \\|^K\\\\ Repeat \\|^[Z Down \\|^[! Command \\|^[K To ^KK \\|^[S Forwards \\|\\i \\i\n" "\\i \\i\\|^K 0-9 Play \\|\\uINSERT\\u \\|^K< Left \\|\\uQUOTE\\u \\|\\uDELETE\\u \\|\\uBOOKMARKS\\u \\|\\i \\i\n" "\\i \\i\\|^K? Query \\|^] split line \\|^K> Right \\|^[' Ctrl- \\|^[Y yank \\|^[ 0-9 Goto \\|\\i \\i\n" "\\i \\i\\|^[D Dump \\|^SPACE ins space\\| \\|^\\\\ Meta- \\|^[O line< \\|^[^[ Set \\|\\i \\i\n" "}\n" "{Programs\n" "\\i Help Screen \\|turn off with ^KH prev. screen ^[, next screen ^[. \\i\n" "\\i \\i\\|\\uGOTO\\u \\|\\uINDENT\\u \\|\\uCOMPILING\\u \\uQUICK\\u \\|\\i \\i\n" "\\i \\i\\|^G Matching ( [ { \\|^K, less \\|^[C Compile & parse ^G find word under cursor \\|\\i \\i\n" "\\i \\i\\|^K- Previous place \\|^K. more \\|^[G Grep & parse ^[ENTER complete word \\|\\i \\i\n" "\\i \\i\\|^K= Next place \\| \\|^[= To next error ^[Y paste deleted text \\|\\i \\i\n" "\\i \\i\\|^K; Tags file search \\| \\|^[- To prev. error ^[^Y cycle through deleted \\|\\i \\i\n" "\\i \\i\\| \\| \\|^[ SP Jump to error \\|\\i \\i\n" "}\n" "{Search\n" "\\i Help Screen \\|turn off with ^KH prev. screen ^[, next screen ^[. \\i\n" "\\i \\iSpecial search sequences: \\|\\i \\i\n" "\\i \\i \\\\^ \\\\$ matches beg./end of line \\\\? match any single char \\|\\i \\i\n" "\\i \\i \\\\< \\\\> matches beg./end of word \\\\* match 0 or more chars \\|\\i \\i\n" "\\i \\i \\\\c matches balanced C expression \\\\\\\\ matches a \\\\ \\|\\i \\i\n" "\\i \\i \\\\[..] matches one of a set \\\\n matches a newline \\|\\i \\i\n" "\\i \\i \\\\+ matches 0 or more of the character which follows the \\\\+ \\|\\i \\i\n" "\\i \\iSpecial replace sequences: \\|\\i \\i\n" "\\i \\i \\\\& replaced with text which matched search string \\|\\i \\i\n" "\\i \\i \\\\0 - 9 replaced with text which matched Nth \\\\*, \\\\?, \\\\c, \\\\+, or \\\\[..] \\|\\i \\i\n" "\\i \\i \\\\\\\\ replaced with \\\\ \\\\n replaced with newline \\|\\i \\i\n" "}\n" "{SearchOptions\n" "\\i Help Screen \\|turn off with ^KH prev. screen ^[, next screen ^[. \\i\n" "\\i \\iSearch options: \\|\\i \\i\n" "\\i \\i r Replace \\|\\i \\i\n" "\\i \\i k Restrict search to highlighted block, which can be rectangular \\|\\i \\i\n" "\\i \\i b Search backward instead of forward \\|\\i \\i\n" "\\i \\i i Ignore case \\|\\i \\i\n" "\\i \\i a Search across all loaded files \\|\\i \\i\n" "\\i \\i e Search across all files in Grep or Compile error list \\|\\i \\i\n" "\\i \\i w Wrap to beginning of file for this search \\|\\i \\i\n" "\\i \\i n Do not wrap to beginning of file for this search \\|\\i \\i\n" "\\i \\i nnn Perform exaclty nnn replacements \\|\\i \\i\n" "}\n" "{Math\n" "\\i Help Screen \\|turn off with ^KH prev. screen ^[, next screen ^[. \\i\n" "\\i \\i \\uCOMMANDS\\u (hit ESC m for math) \\uFUNCTIONS\\u \\|\\i \\i\n" "\\i \\i hex hex display mode sin cos tab asin acos atan \\|\\i \\i\n" "\\i \\i dec decimal mode sinh cosh tanh asinh acosh atanh \\|\\i \\i\n" "\\i \\i ins type result into file sqrt cbrt exp ln log \\|\\i \\i\n" "\\i \\i eval evaluate block int floor ceil abs erg ergc \\|\\i \\i\n" "\\i \\i 0xff enter number in hex joe(..macro..) - runs an editor macro \\|\\i \\i\n" "\\i \\i 3e-4 floating point decimal \\uBLOCK\\u \\|\\i \\i\n" "\\i \\i a=10 assign a variable sum cnt Sum, count \\|\\i \\i\n" "\\i \\i 2+3:ins multiple commands avg dev Average, std. deviation \\|\\i \\i\n" "\\i \\i e pi constants \\uOPERATORS\\u \\|\\i \\i\n" "\\i \\i ans previous result ! ^ * / % + - < <= > >= == != && || ? :\\|\\i \\i\n" "}\n" "{Names\n" "\\i Help Screen \\|turn off with ^KH prev. screen ^[, next screen ^[. \\i\n" "\\i \\i Hit TAB at file name prompts to generate menu of file names \\|\\i \\i\n" "\\i \\i Or use up/down keys to access history of previously entered names \\|\\i \\i\n" "\\i \\i Special file names: \\|\\i \\i\n" "\\i \\i !command Pipe in/out of a shell command \\|\\i \\i\n" "\\i \\i >>filename Append to a file \\|\\i \\i\n" "\\i \\i - Read/Write to/from standard I/O \\|\\i \\i\n" "\\i \\i filename,START,SIZE Read/Write a part of a file/device \\|\\i \\i\n" "\\i \\i Give START/SIZE in decimal (255), octal (0377) or hex (0xFF) \\|\\i \\i\n" "}\n" "{Joe\n" "\\i Help Screen \\|turn off with ^KH prev. screen ^[, \\i\n" "\\i \\i Send bug reports to: http://sourceforge.net/projects/joe-editor \\|\\i \\i\n" "\\i \\i \\|\\i \\i\n" "}\n" ":windows Bindings common to all windows\n" "type ^@ TO
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -