home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Texteditors / Origami / bindings / modeori-fun / references < prev    next >
Encoding:
Text File  |  1996-09-27  |  90.4 KB  |  3,468 lines

  1. ;OCL{{{}}}
  2. ;OCL{{{  reference compression strings
  3. ( reference-compress set
  4.    ( "you
  5.      "write "word "with  "window "will "ward
  6.      "use "undo
  7.      "toggle "tion "this "the "text "tags
  8.      "switch "status "start "space "shell "select "search "save
  9.      "right "return "replace "regular "region "ref "redraw "read "r13
  10.      "quit
  11.      "prompt "previous "position "page
  12.      "origami "open
  13.      "number "next "name
  14.      "move "ModeOri "mode "meta "menu "mark "macro
  15.      "list "line "left "language
  16.      "kill "key
  17.      "insert "ing "info "inc
  18.      "handl
  19.      "forward "for "fold "file
  20.      "expression "exit "escape "esc "enter "ent "end "edit
  21.      "down "display "director "describe "delete "default
  22.      "cursor "current "copy "command "close "character "change "case
  23.      "buffer "bind "begin "back
  24.      "auto "argument "and "activ
  25.    )
  26. )
  27. ;OCL}}}
  28. @if-using ()
  29. ;OCL{{{  ref-sets
  30. @start-reference-copy modeori-fun/ref-sets
  31. @ref-top-start-box ********
  32. @ref-top-end-box
  33. @ref-sub-start-box /-\||\-/
  34. @ref-sub-end-box
  35.  
  36. @ref-menu 1 quit Quit ret Up next #(Next) prev Back kill Kill 1234567890
  37.  
  38. @ref-class-id 1
  39.  
  40. @ref-indent 2 79 9 5
  41. @end-reference-copy
  42. ;OCL}}}
  43. ;OCL{{{  ref
  44. @start-reference-copy modeori-fun/ref
  45. @ref-lib fun/tags-mac.r file-reference
  46. @ref-lib fun/autolang.r known-endings
  47. @ref-lib modeori-fun/autoterm.r list
  48. @ref-lib fun/sokoban.r sokoban-call-ref
  49. @ref-lib fun/global-ref regexp-reference cmd-reference
  50. @ref-see-also See also in %s.
  51. ;OCL{{{  @ref-header ModeOri-Reference-Card
  52. @ref-title ModeOri Reference-Card
  53. @ref-author W. Stumvoll
  54. This is the reference-file for `ModeOri', a binding for the folding-editor
  55. Origami.
  56. ;OCL}}}
  57. ;OCL{{{  ModeOri-Reference-Card
  58. This document is generated automatically, following the actual configuration of
  59. ModeOri. Therefor some chapters might be skipped, to use the same chapter
  60. numbers in all configurations of ModeOri.
  61.  
  62. ;OCL{{{  Global Informations
  63. ;OCL{{{  ModeOri Usage
  64. In addition to standard Origami-features, ModeOri supports several new modes,
  65. for example:
  66.  
  67. ;OCL{{{  Edit-Mode and Move-Mode
  68. You can switch from editing-environment (Edit-Mode, marked with `Edit' or `E'
  69. in the statusline) to Move-Mode (marked with `Move' or `M'), which is used to
  70. define regions of text. The normal editing-functions (like `delete-line') work
  71. on a regions instead of the current line in this mode and return to editing
  72. afterwards.
  73. ;OCL}}}
  74. ;OCL{{{  @short Buffer-Handling-Mode
  75. Control the screen layout of multiple buffers.
  76. ;OCL}}}
  77. @if-using ( L-EXT )
  78. ;OCL{{{  Extended-Mode
  79. In Edit-Mode you can choose an Extended-Mode (marked with `Ext' or `X') in the
  80. statusline). This mode changes the meaning of {,(,[,;,",' and space. Instead of
  81. the normal text-character, complexer structures are put into the text,
  82. depending on the current folding-language.
  83. ;OCL}}}
  84. @fi
  85. ;OCL{{{  Line-Movement-Mode
  86. Line-movements (`previous-line' and `next-line') are handled in two different
  87. ways, depending on set or unset mode `filebased-cursor-motion':
  88. @ref-start-tbl Mode 12 Mark 4 Effect 24
  89. screen-based @@ % @@ closed folds
  90. file-based @@ @@ opens closed folds
  91. @ref-end-tbl
  92. ;OCL}}}
  93. ;OCL{{{  Wrap Around
  94. Mode wrap is marked with `Wrap' or `W' in the statusline. If this mode is
  95. active, typing a space at the end of a long line automagically opens a new
  96. line. Break length is given by fill-paragraph width.
  97. ;OCL}}}
  98. @ref-see-also C-> %s.
  99. ;OCL{{{  @autolang-ref auto-language switching
  100. ;OCL}}}
  101. @ref-see-also See also in %s.
  102. @if-using ( SHELL-MODE )
  103. ;OCL{{{  ModeOri and its mini-shell
  104. If command line option -Oshell is active, ModeOri will start as a mini-shell.
  105. This can be used to copy/move/remove files, walk through directory trees.
  106. ;OCL}}}
  107. @fi
  108.  
  109. ;OCL{{{  Environment and Command Line Options
  110. Many features of ModeOri can be controlled using command line options:
  111.  
  112. ;OCL{{{  @cmd-opt Origami Command Line Options
  113. ;OCL}}}
  114. ;OCL{{{  ModeOri Command Line Options
  115. You can use the following names, to switch on[off] the corresponding mode using
  116. `-Oname':
  117. @ref-start-tbl Option 16 Function 50
  118. @if-using ( SHELL-MODE )
  119. noshell @@ start as editor
  120. shell @@ start menu driven mini-shell
  121. xshell @@ start menu driven mini-shell in expert mode
  122. @fi
  123. [no]stat @@ statusline
  124. [no]ext @@ extended mode
  125. [no]bs @@ buffer-save
  126. [no]pos @@ display position
  127. [no]ld @@ long diredit display
  128. [no]high @@ highlighting
  129. [no]center @@ center cursor line
  130. [no|x]magic @@ regular expression mode
  131. [no]ai @@ auto-indent
  132. [no]full @@ full-shift
  133. [no]al @@ auto-language setting
  134. [no]time @@ time display
  135.  
  136. default @@ set all modes to their defaults.
  137.  
  138. slow @@ like default, but disable:
  139. @@ position display
  140. @@ high-lighting
  141. @@ full-shift
  142. @@ regular-expression search
  143. @@ long diredit display
  144. @ref-end-tbl
  145.  
  146. However, command line options are handled left to right.
  147.  
  148. The option -Onooverstrike calls the function no-overstrike, when the first file
  149. is read. This can be used to use ModeOri as pager for roff output.
  150.  
  151. The following options pass strings to ModeOri:
  152. @ref-start-tbl Option 16 Function 50
  153. tags=file @@ use `file', not default path list for tags.
  154. gotags=tag @@ use `tag' to move to the tagged position
  155. @@ `tag' may be a prefix of a tag.
  156. make=cmd @@ use `cmd' instead of the default command
  157. spell=cmd @@ use `cmd' instead of the default command
  158. @if-using ( SHELL-MODE )
  159. mail=cmd @@ use `cmd' instead of the default command
  160. nn=cmd @@ use `cmd' instead of the default command
  161. @fi
  162. @ref-end-tbl
  163.  
  164. The following mark sets are predefined for Origami Option `-m':
  165. @ref-start-tbl Name 8 Open 5 Line 5 Close 5 File 5
  166. pascal @@ <<< @@ ... @@ >>> @@ :::
  167. script @@ ##@ @@ ... @@ ##$ @@ ##:
  168. @ref-end-tbl
  169. ;OCL}}}
  170.  
  171. Some of the commands need a correct initialized environment. The needed
  172. resources are:
  173.  
  174. @if-using ( W-GET-X-SEL )
  175. ;OCL{{{  selection
  176. @ref-start-item environment-variable: GETSELECTION
  177. Calling $GETSELECTION must write the selection of your window-system to the
  178. standard-output.
  179. @ref-end-item
  180. ;OCL}}}
  181. @fi
  182. @ref-see-also C-> %s.
  183. ;OCL{{{  @tags-mac-ref Tags file
  184. ;OCL}}}
  185. @ref-see-also See also in %s.
  186. ;OCL{{{  library path
  187. @ref-start-item environement-variable ORIGAMILIBPATH
  188. This variable contains a `:' separated list of directories, used by
  189. `enter-fold' in extended mode for include-lines.
  190. @ref-end-item
  191. ;OCL}}}
  192. ;OCL{{{  make command
  193. @ref-start-item environment-variable: MAKE_CMD
  194. You have to set this environment-variable to your favourite make-command, to
  195. use the `call-make' function (default is `make').
  196. @if-using ( SHELL-MODE )
  197. This command is also used by the Make item in the ModeOriShell.
  198. @fi
  199.  
  200. ;OCL{{{  using -O
  201. ;OCL}}}
  202. @ref-end-item
  203. ;OCL}}}
  204. ;OCL{{{  spell command
  205. @ref-start-item environment-variable: SPELL_CMD
  206. You have to set this environment-variable to your favourite
  207. spell-checking-command, to use the `spell' function (default is `spell').
  208.  
  209. ;OCL{{{  using -O
  210. ;OCL}}}
  211. @ref-end-item
  212. ;OCL}}}
  213. ;OCL{{{  mail command
  214. @ref-start-item environment-variable: MAIL_CMD
  215. You have to set this environment-variable to your favourite mail processing
  216. command, to use the Postbox item in the ModeOriShell.
  217.  
  218. ;OCL{{{  using -O
  219. ;OCL}}}
  220. @ref-end-item
  221. ;OCL}}}
  222. @if-using ( SHELL-MODE )
  223. ;OCL{{{  @shell-mode nn command
  224. @ref-start-item environment-variable: NN_CMD
  225. You have to set this environment-variable to your favourite news reader, to use
  226. the News item in the ModeOriShell.
  227.  
  228. ;OCL{{{  using -O
  229. ;OCL}}}
  230. @ref-end-item
  231. ;OCL}}}
  232. ;OCL{{{  @shell-mode edit command
  233. @ref-start-item environment-variable: EDIT_CMD
  234. Set this variable to your favourite editor, if you do not want to use ModeOri.
  235. @ref-end-item
  236. ;OCL}}}
  237. @fi
  238. ;OCL}}}
  239. ;OCL}}}
  240. ;OCL{{{  Keyboard and Key Usage
  241. ;OCL{{{  how to reach commands
  242. ;OCL{{{  escape key followed by 2 character code
  243. The letters are a short-representations of the command, eg:
  244. @ref-start-tbl Keysequence 12 Function 32
  245. esc a t @@ toggle-attach-file-to-fold
  246. esc + v @@ add view-mode
  247. esc - v @@ delete view-mode
  248. @ref-end-tbl
  249. ;OCL}}}
  250. ;OCL{{{  cursor keypad
  251. Normal cursor movement is supported.
  252.  
  253. The right keypad can be used as a function keypad. Key R13 is used as a `Meta'
  254. key. Keys, which are used with a leading R13 are represented by
  255. `R13/Meta-<key>'. For example:
  256. @ref-start-tbl Keysequence 12 Representation 14 Function 16
  257. R8 @@ R8 @@ previous-line
  258. R13 R8 @@ R13/Meta-R8 @@ mtool-top
  259. R13 g @@ R13/Meta-g @@ goto-line
  260. @ref-end-tbl
  261.  
  262. ;OCL{{{  general layout of the keypad
  263. @ref-start-tbl Key/f/meta-f 19 Key/f/meta-f 19 Key/f/meta-f 19
  264. R1 @@ R2 @@ R3
  265. beginning-of-fold @@ kill-line @@ end-of-fold
  266. previous-page @@ move-line @@ next-page
  267.  
  268. R4 @@ R5 @@ R6
  269. open-fold @@ copy-to-kill-buf @@ close-fold
  270. enter-fold @@ double-line @@ exit-fold
  271.  
  272. R7 @@ R8 @@ R9
  273. beginning-of-line @@ previous-line @@ end-of-line
  274. undo-delete-line @@ mtool-top @@ delete-line
  275.  
  276. R10 @@ R11 @@ R12
  277. backward-character @@ ins-folded-kill-b @@ forward-character
  278. backward-word @@ toggle-file-fold @@ forward-word
  279.  
  280. R13 @@ R14 @@ R15
  281. (*) @@ next-line @@ create-fold
  282. center-and-redraw @@ mtool-bot @@ unfold-fold
  283. @ref-end-tbl
  284.  
  285. The first command is activated by pressing the corresponding key.
  286.  
  287. The second command is activated, by pressing R13, followed by the corresponding
  288. key. Because of this (*) does not call any command!
  289.  
  290. The meaning of the above mentioned commands is explained in the following
  291. chapters!
  292.  
  293. The above given bindings is for normal editing. In some modes, other or no
  294. commands are bound to the keys.
  295.  
  296. ;OCL{{{  keysequences used for ORIGAMITERM="sun"
  297. Redefining the terminal definition in your environement (for example xterm
  298. translation tables) enable the usage of ORITERM="sun" for other terminals.
  299.  
  300. Modeori expects the following keysequences, if ORIGAMITERM is set to "sun":
  301. @ref-start-tbl Keyname 9 Sequence 16 @@ Keyname 9 Sequence 16
  302. backspace @@ C-H @@ f1 @@ C-[ [ 2 2 4 z
  303. delete @@ C-? @@ f2 @@ C-[ [ 2 2 5 z
  304. tab @@ C-I @@ f3 @@ C-[ [ 2 2 6 z
  305. down @@ C-[ [ B @@ f4 @@ C-[ [ 2 2 7 z
  306. left @@ C-[ [ D @@ f5 @@ C-[ [ 2 2 8 z
  307. right @@ C-[ [ C @@ f6 @@ C-[ [ 2 2 9 z
  308. up @@ C-[ [ A @@ f7 @@ C-[ [ 2 3 0 z
  309. R1 @@ C-[ [ 2 0 8 z @@ f8 @@ C-[ [ 2 3 1 z
  310. R2 @@ C-[ [ 2 0 9 z @@ f9 @@ C-[ [ 2 3 2 z
  311. R3 @@ C-[ [ 2 1 0 z @@ f10 @@ C-[ [ 2 3 3 z
  312. R4 @@ C-[ [ 2 1 1 z @@ L1 @@ C-[ [ 1 9 2
  313. R5 @@ C-[ [ 2 1 2 z @@ L2 @@ C-[ [ 1 9 3
  314. R6 @@ C-[ [ 2 1 3 z @@ L3 @@ C-[ [ 1 9 4
  315. R7 @@ C-[ [ 2 1 4 z @@ L4 @@ C-[ [ 1 9 5
  316. R8 @@ C-[ [ 2 1 5 z @@ L5 @@ C-[ [ 1 9 6
  317. R9 @@ C-[ [ 2 1 6 z @@ L6 @@ C-[ [ 1 9 7
  318. R10 @@ C-[ [ 2 1 7 z @@ L7 @@ C-[ [ 1 9 8
  319. R11 @@ C-[ [ 2 1 8 z @@ L8 @@ C-[ [ 1 9 9
  320. R12 @@ C-[ [ 2 1 9 z @@ L9 @@ C-[ [ 2 0 0
  321. R13 @@ C-[ [ 2 2 0 z @@ L10 @@ C-[ [ 2 0 1
  322. @@ C-[ [ 2 z @@ help @@ C-[ [ 1 9 6
  323. R14 @@ C-[ [ 2 2 1 z
  324. R15 @@ C-[ [ 2 2 2 z
  325. @ref-end-tbl
  326.  
  327. The second sequence for R13 is the one, sent by the Insert key, which some sun
  328. keyborads have below the R-keys.
  329. ;OCL}}}
  330. ;OCL}}}
  331. @if-using ( AMIGA amiga )
  332. ;OCL{{{  Using a Amiga
  333. Mapping of the keypad to R?? keys:
  334. @ref-start-tbl Col.1 5 Col.2 5 Col.3 5 Col.4 5
  335. R4 @@ R5 @@ R6 @@ R1
  336. R7 @@ R8 @@ R9 @@ R2
  337. R10 @@ R11 @@ R12 @@ R3
  338. R13 @@ R14 @@ R15 @@ Enter
  339. R13 @@ @@ tab @@ Enter
  340. @ref-end-tbl
  341.  
  342. Instead of pressing R13 followed by a key, you can also use the one of the
  343. amiga-keys together with the following key.
  344.  
  345. Sorry, but amiga-[left/right] and cursor keys cannot be used!
  346. ;OCL}}}
  347. @fi
  348. @if-using ( linux )
  349. ;OCL{{{  Using a linux console
  350. If using ModeOri on a standard linux console, the following mapping of the
  351. keypad is used:
  352. @ref-start-tbl - 9 - 9 - 9 @@ Col.1 5 Col.2 6 Col.3 6 Col.4 6
  353. ins.-char @@ home @@ prev-page @@ NumL. @@ R1 @@ R2 @@ R3
  354. delete @@ home-down @@ next-page @@ R4 @@ R5 @@ R6 @@ unused
  355. - @@ - @@ - @@ R7 @@ R8 @@ R9 @@ R15
  356. - @@ up @@ - @@ R10 @@ R11 @@ R12 @@ R15
  357. left @@ down @@ right @@ R13 @@ R13 @@ R14 @@ R15
  358. @ref-end-tbl
  359. ;OCL}}}
  360. @fi
  361. ;OCL}}}
  362. ;OCL{{{  function keys
  363. The function-keys f1..f10 are used for some commands as a replacement for the
  364. SUN-like usage of the cursorblock.
  365.  
  366. All function-keys can be simulated by typing:
  367. @ref-start-tbl Keysequence 12 Simulation 32
  368. fx @@ esc f x, x=1..9
  369. f10 @@ esc f 0
  370. @ref-end-tbl
  371.  
  372. This is usefull, if your terminal does not support function keys.
  373. ;OCL}}}
  374. ;OCL{{{  control sequences
  375. Some wordstar oriented sequences for control and movement are also supported.
  376.  
  377. Other commands can be reached by pressing C-Q and a following single character;
  378. these keys are similar to those, used by R13/Meta!
  379. ;OCL}}}
  380. @if-using (MOUSY)
  381. ;OCL{{{  mouse
  382. If ModeOri supports the mouse (xterm,...), the mouse-buttons are used as
  383. follows:
  384. @ref-start-tbl Button 6 Function 32
  385. 1 @@ move to point and open the fold (if any)
  386. 2 @@ move to point and close fold
  387. 3 @@ move to point and show fold informations
  388. @ref-end-tbl
  389. ;OCL}}}
  390. @fi
  391. @if-using ( AMIGA amiga )
  392. ;OCL{{{  amiga menu
  393. If you are using ModeOri on a Amiga, the following 3 Menus are defined:
  394. @ref-start-tbl ? 14 File 14 Parameter 14
  395. Bindings @@ Save @@ Language
  396. Help @@ Unchange @@ Fold Marks
  397. Info @@ Read @@ DirEdit Filter
  398. ModeOri menu @@ Insert @@ Commands
  399. @@ Exit ModeOri @@
  400. @ref-end-tbl
  401. ;OCL}}}
  402. @fi
  403. ;OCL}}}
  404. @ref-see-also
  405. ;OCL{{{  which keyboards can be used
  406. ;OCL}}}
  407. @ref-see-also See also in %s.
  408. ;OCL}}}
  409. ;OCL{{{  Used Command Description
  410. The format for this reference card is:
  411.  
  412. ;OCL{{{  command
  413. @ref-start-item keysequence(s)
  414. short comment to the command
  415. @ref-end-item
  416. ;OCL}}}
  417.  
  418. The command name can be reached by pressing one of the keysequences. Except of
  419. the first mentioned sequence, all following sequences may be invalid, depending
  420. on the terminal, you are using (value for $TERM / $ORIGAMITERM). Different
  421. keysequences are limited by `|'. describe-bindings shows all currently
  422. available bindings.
  423. ;OCL}}}
  424. ;OCL{{{  Buffers
  425. You can edit multiple files with ModeOri. Each file is displayed in a region
  426. on the screen. Each of this windows/buffers contains a complete editor
  427. session. The histories for prompts and the following buffers are shared over
  428. these file buffers.
  429.  
  430. There are three text buffers, which can be used for editing:
  431. @ref-start-tbl Buffer 6 Usage 32
  432. kill @@ collect lines, insert all as a new fold
  433. move @@ can take one line, to move it to another place
  434. delete @@ store the last deleted lines for undo
  435. @ref-end-tbl
  436.  
  437. The contents of this buffers will not be saved when leaving ModeOri (unless
  438. mode buffer-save is active) but will stay on filechanges (`read-file',
  439. `enter-filed-fold', .. ). You can use some macros, to write the contents of
  440. move-, kill- and delete-buffer to file `~/.origamibuf' (or read it from this
  441. file).
  442.  
  443. You can use up to 10 position registers (named 0..9).
  444. ;OCL}}}
  445. ;OCL{{{  @regexp Origami Regular Expressions
  446. ;OCL}}}
  447. ;OCL}}}
  448. ;OCL{{{  abort
  449. @ref-start-item C-C
  450. Pressing C-C will abort most commands in a save way and brings you back to
  451. Edit-Mode.
  452. @ref-end-item
  453. ;OCL}}}
  454. ;OCL{{{  Edit-Mode
  455. This mode is marked with `Edit' or `E' in the statusline. It is the
  456. standard-mode for editing and activated at startuptime.
  457.  
  458. ;OCL{{{  Moving Around
  459. ;OCL{{{  backward/upward
  460. ;OCL{{{  backward-character
  461. @ref-start-item esc l e  |  C-S  |  R10  |  left
  462. Move the cursor one character to the left on current line. Do not go to
  463. previous line when reaching the beginning of the line.
  464.  
  465. ;OCL{{{  general layout of the keypad
  466. ;OCL}}}
  467. @ref-end-item
  468. ;OCL}}}
  469. ;OCL{{{  backward-word
  470. @ref-start-item esc l w  |  C-Q C-S  |  R13/Meta-R10
  471. Move one word to the left and skip lines, if needed.
  472.  
  473. ;OCL{{{  general layout of the keypad
  474. ;OCL}}}
  475. @ref-end-item
  476. ;OCL}}}
  477. ;OCL{{{  beginning-of-line
  478. @ref-start-item esc s l  |  C-A  |  R7  |  begin
  479. Move to first non-space character on line.
  480.  
  481. ;OCL{{{  general layout of the keypad
  482. ;OCL}}}
  483. @ref-end-item
  484. ;OCL}}}
  485. ;OCL{{{  previous-line
  486. @ref-start-item esc u p  |  C-E  |  R8  |  up
  487. Go to the previous line on the screen. If file-based mode is active, folds will
  488. be opened to reach the previous line in the file.
  489.  
  490. ;OCL{{{  general layout of the keypad
  491. ;OCL}}}
  492. @ref-end-item
  493. ;OCL}}}
  494. ;OCL{{{  previous-page
  495. @ref-start-item esc p u  |  R13/Meta-R1  |  prev_page
  496. Move one screen up.
  497.  
  498. ;OCL{{{  general layout of the keypad
  499. ;OCL}}}
  500. @ref-end-item
  501. ;OCL}}}
  502. ;OCL{{{  mtool-top
  503. @ref-start-item esc s f  |  C-Q C-E  |  R13/Meta-R8
  504. Move to the start-fold-comment of the currently opened fold. Do not open or
  505. close any folds. If the cursor is on the beginning of a fold, it's moved to the
  506. beginning of the surrounding fold.
  507.  
  508. ;OCL{{{  general layout of the keypad
  509. ;OCL}}}
  510. @ref-end-item
  511. ;OCL}}}
  512. ;OCL{{{  beginning-of-fold
  513. @ref-start-item esc s F  |  R1  |  home
  514. Go to begin-fold-comment of currently entered fold. Do not open or close any
  515. folds. If the cursor is on the end of a fold, it's moved to the end of the
  516. surrounding fold.
  517.  
  518. ;OCL{{{  general layout of the keypad
  519. ;OCL}}}
  520. @ref-end-item
  521. ;OCL}}}
  522. ;OCL}}}
  523. ;OCL{{{  forward/downward
  524. ;OCL{{{  forward-character
  525. @ref-start-item esc r i  |  C-D  |  R12  |  right
  526. Move one character to the right and do not go to the next line at end of line.
  527.  
  528. ;OCL{{{  general layout of the keypad
  529. ;OCL}}}
  530. @ref-end-item
  531. ;OCL}}}
  532. ;OCL{{{  forward-word
  533. @ref-start-item esc r w  |  C-Q C-D  |  R13/Meta-R12
  534. Move one word to the right and skip lines, if needed.
  535.  
  536. ;OCL{{{  general layout of the keypad
  537. ;OCL}}}
  538. @ref-end-item
  539. ;OCL}}}
  540. ;OCL{{{  end-of-line
  541. @ref-start-item esc e l  |  C-F  |  R9  |  end
  542. Move to last character on line.
  543.  
  544. ;OCL{{{  general layout of the keypad
  545. ;OCL}}}
  546. @ref-end-item
  547. ;OCL}}}
  548. ;OCL{{{  next-line
  549. @ref-start-item esc d n  |  C-X  |  R14  |  down
  550. Go to the next line on the screen. If file-based mode is active, folds will be
  551. opened to reach the next line in the file.
  552.  
  553. ;OCL{{{  general layout of the keypad
  554. ;OCL}}}
  555. @ref-end-item
  556. ;OCL}}}
  557. ;OCL{{{  next-page
  558. @ref-start-item esc p d  |  R13/Meta-R3  |  next_page
  559. Move on screen down.
  560.  
  561. ;OCL{{{  general layout of the keypad
  562. ;OCL}}}
  563. @ref-end-item
  564. ;OCL}}}
  565. ;OCL{{{  mtool-bot
  566. @ref-start-item esc b o  |  C-Q C-X  |  R13/Meta-R14
  567. Go to the bottom of the currently opened fold. Do not open or close any folds.
  568.  
  569. ;OCL{{{  general layout of the keypad
  570. ;OCL}}}
  571. @ref-end-item
  572. ;OCL}}}
  573. ;OCL{{{  end-of-fold
  574. @ref-start-item esc b O  |  R3  |  home-down
  575. Go to end-fold-comment of the currently entered fold. Do not open or close any
  576. folds.
  577.  
  578. ;OCL{{{  general layout of the keypad
  579. ;OCL}}}
  580. @ref-end-item
  581. ;OCL}}}
  582. ;OCL}}}
  583. ;OCL{{{  goto-line
  584. @ref-start-item esc g o  |  C-Q g  |  R13/Meta-g  |  f2 g
  585. ModeOri prompts for a line-number and goes to it. All folds are closed, except
  586. the ones needed to reach the line.
  587. @ref-end-item
  588. ;OCL}}}
  589. ;OCL{{{  searching
  590. ;OCL{{{  goto-matching-brace
  591. @ref-start-item C-B  |  esc m b
  592. ModeOri tries to find the match for the following brace types (Skip1 -> Skip2
  593. [ -> Skip3 ] -> Skip1 .. ):
  594. @ref-start-tbl Language 8 Skip1 10 Skip2 10 Skip3 10
  595. all @@ ( @@ )
  596. all @@ [ @@ ]
  597. all @@ { @@ }
  598. all @@ #ifdef @@ #else @@ #endif
  599. all @@ #if @@ #else @@ #endif
  600. OCL @@ @if-using @@ @fi
  601. @ref-end-tbl
  602. @ref-end-item
  603. ;OCL}}}
  604. ;OCL{{{  search-forward
  605. @ref-start-item esc f i
  606. ModeOri prompts for a pattern and moves to next occurance. Mark 0 is set to the
  607. search start position.
  608. @ref-end-item
  609. ;OCL}}}
  610. ;OCL{{{  incremental-search-forward
  611. @ref-start-item esc i s  |  C-Q f  |  R13/Meta-f  |  L9  |  find  |  f2 f
  612. Start the incremental-search-function. ModeOri prompts for characters and moves
  613. to the next matching position. The following actions are supported:
  614.  
  615. @ref-start-item backward-character/forward-character
  616. look for last/next occurance. If this is the first input after starting
  617. incremental-search-forward, the last given pattern is used.
  618. @ref-end-item
  619. @ref-start-item previous-line/next-line
  620. look for a new search pattern in search history.
  621. @ref-end-item
  622. @ref-start-item delete-previous-character
  623. remove the last character from the pattern and go to the position, this
  624. character was added to the pattern.
  625. @ref-end-item
  626. @ref-start-item any text character
  627. add it to the pattern and look for next/previous occurance.
  628. @ref-end-item
  629.  
  630. Mark 0 is set to the search start position.
  631. @ref-end-item
  632. ;OCL}}}
  633. ;OCL{{{  tags
  634. ModeOri can handle the standard tags format, used by vi:
  635.  
  636. ;OCL{{{  find-or-enter-and-go-tags-buffer
  637. @ref-start-item esc t a  |  C-Q t  |  R13/Meta-t
  638. Use the word under the cursor (starting with a letter, containing letters,
  639. digits and `_'), and open a buffer with the tagged file. If this file is
  640. already edited, go to this buffer.
  641.  
  642. If the given tag is not valid, or if ModeOri can not find a corresponding
  643. position, ModeOri prompts for a tag and searches again. `filename-completion'
  644. can be used to omit the end of a tag name.
  645.  
  646. ;OCL{{{  @tags-mac-ref Tags file
  647. ;OCL}}}
  648. @ref-end-item
  649. ;OCL}}}
  650. ;OCL{{{  quit-unchanged-to-other-buffer
  651. @ref-start-item esc q t
  652. If the current buffer contains an unchanged file, edited also in an other
  653. buffer, quit this buffer and go to same position in other buffer!
  654. @ref-end-item
  655. ;OCL}}}
  656. ;OCL{{{  search-next-incorrect-tag-entry
  657. @ref-start-item esc f T
  658. Search for the next line, containing a line, which cannot be handled as a
  659. tags-line by the used tags-library.
  660.  
  661. ;OCL{{{  @tags-mac-ref Tags file
  662. ;OCL}}}
  663. @ref-end-item
  664. ;OCL}}}
  665. ;OCL}}}
  666. ;OCL}}}
  667. ;OCL{{{  marks
  668. ;OCL{{{  set-mark-x
  669. @ref-start-item esc s x (x=0,1,..,9)
  670. Store the current file and current line as position for mark x.
  671. @ref-end-item
  672. ;OCL}}}
  673. ;OCL{{{  go-mark-x
  674. @ref-start-item esc g x (x=0,1,..,9)
  675. Goto mark x. If the mark is in another file and the current file is changed,
  676. save the current file.
  677. @ref-end-item
  678. ;OCL}}}
  679. ;OCL{{{  push-mark-x
  680. @ref-start-item esc g x (x=0,1,..,9)
  681. Combines enter-fold and go-mark-x.
  682. @ref-end-item
  683. ;OCL}}}
  684. ;OCL{{{  swap-mark-x
  685. @ref-start-item esc w x (x=0,1,..,9)
  686. Change current position and mark x.
  687. @ref-end-item
  688. ;OCL}}}
  689. ;OCL{{{  go-last-mark
  690. @ref-start-item esc g m
  691. Go to the mark, used in the last go-mark-x command. If the mark is in another
  692. file and the current file is changed, save the current file.
  693. @ref-end-item
  694. ;OCL}}}
  695. ;OCL}}}
  696. ;OCL}}}
  697. ;OCL{{{  Editing
  698. ;OCL{{{  newline-and-indent
  699. @ref-start-item return
  700. Opens the current line at cursor-position. If mode auto-indent is active, the
  701. new line gets same indentation as the old.
  702.  
  703. ;OCL{{{  using -O
  704. ;OCL}}}
  705. @ref-end-item
  706. ;OCL}}}
  707. ;OCL{{{  Deleting
  708. ;OCL{{{  delete-previous-character
  709. @ref-start-item esc b s  |  backspace
  710. Delete the character left from the cursor. Maybe join the current line and the
  711. previous line. If this is used in front of a open-fold-line, the complete fold
  712. will be moved one character to the left.
  713. @ref-end-item
  714. ;OCL}}}
  715. ;OCL{{{  append-to-previous-line
  716. @ref-start-item esc j o  |  esc backspace
  717. Join the current and the previous line.
  718. @ref-end-item
  719. ;OCL}}}
  720. ;OCL{{{  delete-character
  721. @ref-start-item esc d c  |  C-G  |  delete
  722. Delete the character under the cursor. Maybe join the current and the next
  723. line. If this is used in front of a open-fold-line, the complete fold will be
  724. moved one character to the left.
  725. @ref-end-item
  726. ;OCL}}}
  727. ;OCL{{{  delspaces
  728. @ref-start-item esc d s  |  esc delete  |  clreol
  729. Delete all spaces from cursorposition to next non-space or end-of-line.
  730. @ref-end-item
  731. ;OCL}}}
  732. ;OCL{{{  delete-to-end-of-line
  733. @ref-start-item esc d e  |  C-Y
  734. Delete all characters on the current line from cursor-position to end. The
  735. deleted part is appended to the delete-buffer. If the cursor is in front of a
  736. closed fold, the complete fold is deleted.
  737.  
  738. ;OCL{{{  Buffers
  739. ;OCL}}}
  740. @ref-end-item
  741. ;OCL}}}
  742. ;OCL{{{  undo-delete-character
  743. @ref-start-item esc u c
  744. Put the last deleted character at cursor-position in the text.
  745. @ref-end-item
  746. ;OCL}}}
  747. ;OCL{{{  delete-line
  748. @ref-start-item esc d l  |  C-L  |  R13/Meta-R9  |  delline
  749. Delete the current line.
  750.  
  751. ;OCL{{{  Buffers
  752. ;OCL}}}
  753. ;OCL{{{  general layout of the keypad
  754. ;OCL}}}
  755. @ref-end-item
  756. ;OCL}}}
  757. ;OCL{{{  undo-delete-line
  758. @ref-start-item esc u l  |  C-Q C-L  |  R13/Meta-R7  |  L4
  759. Put the last deleted line at cursor position into the text. This can only be
  760. done for once for each line!
  761.  
  762. ;OCL{{{  Buffers
  763. ;OCL}}}
  764. ;OCL{{{  general layout of the keypad
  765. ;OCL}}}
  766. @ref-end-item
  767. ;OCL}}}
  768. ;OCL}}}
  769. ;OCL{{{  quote-character
  770. @ref-start-item C-V
  771. The next character from input will be used directly. If you have bound it to a
  772. function, this binding will be ignored.
  773. @ref-end-item
  774. ;OCL}}}
  775. ;OCL{{{  transpose-character
  776. @ref-start-item C-T
  777. Transpose the current and the character left from the cursor. Move one step to
  778. the right.
  779. @ref-end-item
  780. ;OCL}}}
  781. ;OCL{{{  query-replace-string
  782. @ref-start-item esc r p  |  C-Q r  |  R13/Meta-r  |  replace  |  f2 r
  783. Prompt for search and replace pattern and replace them (ask for permission).
  784. Mark 0 is set to the search start position.
  785. @ref-end-item
  786. ;OCL}}}
  787. ;OCL{{{  double-line
  788. @ref-start-item esc c o  |  C-O  |  R13/Meta-R5  |  copy
  789. A copy of the current line will be put into the text. Folds can also be copied.
  790.  
  791. ;OCL{{{  general layout of the keypad
  792. ;OCL}}}
  793. @ref-end-item
  794. ;OCL}}}
  795.  
  796. ;OCL{{{  Edit Buffers
  797. ;OCL{{{  move-line
  798. @ref-start-item esc m o  |  C-Q C-O  |  R13/Meta-R2  |  move
  799. If the move-buffer is empty, move current line into the move-buffer. Otherwise
  800. the move-buffer is moved into the text.
  801.  
  802. ;OCL{{{  Buffers
  803. ;OCL}}}
  804. ;OCL{{{  general layout of the keypad
  805. ;OCL}}}
  806. @ref-end-item
  807. ;OCL}}}
  808. ;OCL{{{  kill-line
  809. @ref-start-item esc p i  |  C-K  |  R2  |  L10
  810. Kills the current line and appends it to the kill-buffer. For historical
  811. reasons the TDS/Multitool-name `PICK'-buffer is used for the
  812. escape-keysequence.
  813.  
  814. ;OCL{{{  Buffers
  815. ;OCL}}}
  816. ;OCL{{{  general layout of the keypad
  817. ;OCL}}}
  818. @ref-end-item
  819. ;OCL}}}
  820. ;OCL{{{  copy-to-kill-buffer
  821. @ref-start-item esc c p  |  C-Q C-K  |  R5  |  L6
  822. Puts a copy of the current line at the end of the kill-buffer. For historical
  823. reasons the TDS/Multitool-name `COPY-PICK'-buffer is used for the
  824. escape-keysequence.
  825.  
  826. ;OCL{{{  Buffers
  827. ;OCL}}}
  828. ;OCL{{{  general layout of the keypad
  829. ;OCL}}}
  830. @ref-end-item
  831. ;OCL}}}
  832. ;OCL{{{  insert-folded-kill-buffer
  833. @ref-start-item esc p p  |  C-P  |  R11  |  L8
  834. If the kill-buffer isn't empty, ModeOri inserts a new fold containing all
  835. killed lines into the text.
  836.  
  837. ;OCL{{{  Buffers
  838. ;OCL}}}
  839. ;OCL{{{  general layout of the keypad
  840. ;OCL}}}
  841. @ref-end-item
  842. ;OCL}}}
  843. ;OCL}}}
  844.  
  845. ;OCL{{{  Complex Editing Commands
  846. ;OCL{{{  wrap-word
  847. @ref-start-item space
  848. Add a space at current position. Using this in front of a open-fold-line moves
  849. the complete fold one space to the right. If wrap-mode is active and the cursor
  850. is at the end of a long line, it will be broken.
  851. @ref-end-item
  852. ;OCL}}}
  853. ;OCL{{{  change character cases
  854. @ref-start-item toggle-case-word: esc t w  |  C-Q !  |  R13/Meta-!
  855. Toggles the case of all characters of the current word and moves behind it. If
  856. the cursor is not on a word, the cursor is moved to the next word first.
  857. @ref-end-item
  858.  
  859. @ref-start-item uppercase-word: esc u w  |  C-Q u  |  R13/Meta-u
  860. Change all characters of the current word to uppercase and moves the cursor
  861. behind it. If the cursor is not on a word, the cursor is moved to the next word
  862. first.
  863. @ref-end-item
  864.  
  865. @ref-start-item capitalize-word: esc c w  |  C-Q c  |  R13/Meta-c
  866. Capitalizes the current word to uppercase and moves the cursor behind it. If
  867. the cursor is not on a word, the cursor is moved to the next word first.
  868. @ref-end-item
  869.  
  870. @ref-start-item lowercase-word: esc v w  |  C-Q v  |  R13/Meta-v
  871. Change all characters of the current word to lowercase and moves the cursor
  872. behind it. If the cursor is not on a word, the cursor is moved to the next word
  873. first.
  874.  
  875. For historical reasons, this function does not use the binding `esc l
  876. w',`C-Q l' or `R13/Meta-l', because these sequences are already in use.
  877. @ref-end-item
  878. ;OCL}}}
  879. ;OCL{{{  spell-buffer
  880. @ref-start-item esc s p
  881. Show a buffer containing all misspelled words.
  882.  
  883. ;OCL{{{  spell command
  884. ;OCL}}}
  885.  
  886. If view-mode is not active, an interactive search and replace will be started.
  887. In this case, the buffer will be removed when leaving the search and replace
  888. loop.
  889.  
  890. The currently handled word is marked with a `+' in the spell error buffer.
  891.  
  892. During the search and replace, the following menu appears. There is no marked
  893. active item, because the cursor is used to mark the current position in the
  894. text (menu items are selected by typing their first character, for example `o'
  895. or `O' for Ok).
  896.  
  897. @ref-start-item Ok Next Replace Edit  Mark   Quit
  898. ;OCL{{{  @spelling Ok
  899. Ignore all occurances of the current word. Start handling the next misspelled
  900. word or return to editing environment.
  901. ;OCL}}}
  902. ;OCL{{{  @spelling Next
  903. Ignore this occurance of the misspelled word.
  904. ;OCL}}}
  905. ;OCL{{{  @spelling Replace
  906. Specify a new correction, replace this occurance and move to the next one.
  907. ;OCL}}}
  908. ;OCL{{{  @spelling Edit
  909. Suspend the spell checking and return to editing. Using `spell-buffer' will
  910. continue the spell-check. Changing the buffer or changing the buffer
  911. containing the list of spell-errors makes it impossible, to continue the spell
  912. checking! In this case, a new spell check will be started!
  913.  
  914. During spell-edit, `SpellPause' will be displayed in the status- line.
  915. ;OCL}}}
  916. ;OCL{{{  @spelling Mark
  917. The handled word will not be removed from the spell error list and the buffer
  918. containing the spell errors will not be removed, at the end of the spell
  919. checking. A marked word uses a `*' instead of a `+' to indicate the currently
  920. handled word.
  921. ;OCL}}}
  922. ;OCL{{{  @spelling Quit
  923. Exit spell-buffer and return to editing environment.
  924. ;OCL}}}
  925. @ref-end-item
  926.  
  927. If you specified a correction with Replace, the menu will be extended:
  928.  
  929. @ref-start-item Ok Next Replace Substitute(correction) All Edit  Mark   Quit
  930. ;OCL{{{  @spelling Substitute
  931. Replace the misspelled word using the last correction and move to its next
  932. occurance.
  933.  
  934. This command can only be used, if you have specified a correction for the
  935. misspelled word.
  936. ;OCL}}}
  937. ;OCL{{{  @spelling All
  938. Replace all occurances.
  939.  
  940. This command can only be used, if you have specified a correction for the
  941. misspelled word.
  942. ;OCL}}}
  943. @ref-end-item
  944. @ref-end-item
  945. ;OCL}}}
  946. @if-using ( L-EXT )
  947. ;OCL{{{  language-struct
  948. @ref-start-item esc l s  |  C-U
  949. Generates some control structures in language OCL/C/Pascal. Available commands
  950. are shown in a menu. Not all languages support all entries!
  951. @ref-end-item
  952. ;OCL}}}
  953. @fi
  954. @if-using ( L-EXT )
  955. ;OCL{{{  Extended Mode
  956. The following inputs will generate more than themselves, if used in extended
  957. mode:
  958.  
  959. ;OCL{{{  (
  960. in languages C OCL Pascal Occam Inmos TeX, the string `()' is generated and
  961. the cursor is moved to the `)' (`[' analogue)
  962. ;OCL}}}
  963. ;OCL{{{  {
  964. in language C,OCL,Occam or Pascal, a block is put at the right position:
  965.  
  966. @ref-start-item Occam:
  967. @ref-start-picture
  968. SEQ
  969.   foo1
  970.   SEQ
  971.     foo2
  972. @ref-end-picture
  973. @ref-end-item
  974. @ref-start-item C
  975. @ref-start-picture
  976. @if-using not(MY-C-CB)
  977. main (...)
  978.  { char foo;
  979.  
  980.    if (argc)
  981.     { foo='m';
  982.     }
  983.  }
  984. @fi
  985. @if-using (MY-C-CB)
  986. using your indentation
  987. @fi
  988. @ref-end-picture
  989. @ref-end-item
  990. @ref-start-item Pascal:
  991. @ref-start-picture
  992. @if-using not(MY-P-CB)
  993. procedure main(int argc);
  994.   begin
  995.     if (argc>0) then
  996.       begin
  997.         foo:='m';
  998.       end;
  999.   end;
  1000. @fi
  1001. @if-using (MY-P-CB)
  1002. using your indentation
  1003. @fi
  1004. @ref-end-picture
  1005. @ref-end-item
  1006. @ref-start-item OCL:
  1007. @ref-start-picture
  1008. ( deffun test
  1009.    ( if x
  1010.       ( ...
  1011.       )
  1012.      fi
  1013.    )
  1014. )
  1015. @ref-end-picture
  1016. @ref-end-item
  1017. ;OCL}}}
  1018. ;OCL{{{  "
  1019. in language C Pascal Occam Inmos, the string `""' is generated and the cursor
  1020. is moved to the second `"' (`'' analogue).
  1021. ;OCL}}}
  1022. ;OCL{{{  ;
  1023. In languages C and Pascal, the statement-delimiter `;' is generated at
  1024. end-of-line (if needed). The cursor is moved to the next line.
  1025.  
  1026. In language OCL move the cursor to the next command place, maybe create a new
  1027. line.
  1028. ;OCL}}}
  1029.  
  1030. Language OCL is: language User, start comment starts with `;OCL'!
  1031. ;OCL}}}
  1032. @fi
  1033. ;OCL{{{  tag-completion
  1034. @ref-start-item esc t c  |  esc tab
  1035. Try to complete the word left from the cursor to a full tag name.
  1036.  
  1037. ;OCL{{{  @tags-mac-ref Tags file
  1038. ;OCL}}}
  1039. @ref-end-item
  1040. ;OCL}}}
  1041. ;OCL{{{  filename-completion
  1042. @ref-start-item esc f c  |  tab
  1043. Complete the string left to the cursor to a valid filename.
  1044. @if-using ( L-EXT )
  1045.  
  1046. If Extended-Mode is active, the word will be completed as tag, if no filename
  1047. completion can be done.
  1048.  
  1049. ;OCL{{{  tag-completion
  1050. ;OCL}}}
  1051. @fi
  1052. @ref-end-item
  1053. ;OCL}}}
  1054. ;OCL}}}
  1055. ;OCL}}}
  1056. ;OCL{{{  Folding
  1057. ;OCL{{{  Fold Moving
  1058. ;OCL{{{  enter-fold
  1059. @ref-start-item esc e n  |  C-Q C-W  |  R13/Meta-R4  |  f2 f3
  1060. Enter the fold under the cursor. If there is a normal textline, ModeOri tries
  1061. to open the file, named like the current word (starting at cursorposition,
  1062. ending at single-quote, double-quote or space).
  1063.  
  1064. Entering filed folds adds the file to the list of edited files.
  1065.  
  1066. If extended mode is active, ModeOri tries to read the following include
  1067. directives. The standard action will be activated, if no include can be found.
  1068. @ref-start-tbl Language 9 Include 48
  1069. all @@ #include "name"
  1070. all @@ #include <name>
  1071. OCL @@ @lib name
  1072. OCL @@ @include name
  1073. Roff @@ .so
  1074. @ref-end-tbl
  1075.  
  1076. If the file cannot be found in the current-working directory or the directory
  1077. of the current file, the first not empty file in one of the directories in
  1078. ORIGAMILIBPATH (left-to-right, default is `/usr/include:fun') is used.
  1079.  
  1080. ;OCL{{{  library path
  1081. ;OCL}}}
  1082. ;OCL{{{  general layout of the keypad
  1083. ;OCL}}}
  1084. @ref-end-item
  1085. ;OCL}}}
  1086. ;OCL{{{  open-fold
  1087. @ref-start-item esc o p  |  C-W  |  R4  |  open  |  f3
  1088. Open the closed fold under the cursor. Filed folds cannot be opened.
  1089.  
  1090. Using the function twice on the same fold will enter it.
  1091.  
  1092. ;OCL{{{  enter-fold
  1093. ;OCL}}}
  1094. ;OCL{{{  general layout of the keypad
  1095. ;OCL}}}
  1096. @ref-end-item
  1097. ;OCL}}}
  1098. ;OCL{{{  exit fold
  1099. @ref-start-item esc e x  |  C-Q C-R  |  R13/Meta-R6  |  f2 f4
  1100. Exit the currently entered fold, saving the file, if exiting a changed file
  1101. fold. Exiting the toplevel fold will show you the list of edited files.
  1102.  
  1103. ;OCL{{{  general layout of the keypad
  1104. ;OCL}}}
  1105. @ref-end-item
  1106. ;OCL}}}
  1107. ;OCL{{{  close-fold
  1108. @ref-start-item esc c l  |  C-R  |  R6  |  close  |  f4
  1109. Close the opened fold the cursor is in.
  1110.  
  1111. Using this function twice without surrounding opened fold will exit a fold.
  1112.  
  1113. ;OCL{{{  exit-fold
  1114. ;OCL}}}
  1115. ;OCL{{{  general layout of the keypad
  1116. ;OCL}}}
  1117. @ref-end-item
  1118. ;OCL}}}
  1119. ;OCL}}}
  1120. ;OCL{{{  Fold Editing
  1121. ;OCL{{{  auto-header
  1122. @ref-start-item esc a h
  1123. The fold-comment is set to the text of the first line in the fold.
  1124. @ref-end-item
  1125. ;OCL}}}
  1126. ;OCL{{{  create-fold
  1127. @ref-start-item esc c r  |  C-\  |  R15
  1128. First use enters Move-Mode. Second use in Move-Mode folds the selected region.
  1129. Using create-fold twice on the same position creates an empty fold.
  1130.  
  1131. If Raw-mode is active, the original Origami `create-fold' is used. In this case
  1132. the first use shows a new fold-open line and the second use folds the text from
  1133. this line to current line. The indentation of the fold will be defined by the
  1134. cursor position at the first `create-fold' call.
  1135.  
  1136. ;OCL{{{  general layout of the keypad
  1137. ;OCL}}}
  1138. @ref-end-item
  1139. ;OCL}}}
  1140. ;OCL{{{  toggle-file-fold
  1141. @ref-start-item esc f f  |  R13/Meta-R11
  1142. If the current line is a filed-fold, the file is included, so that the fold is
  1143. a normal text-fold. Otherwise ModeOri creates a file (filename is the
  1144. fold-comment) containing the contents of the fold. The current line is replaced
  1145. by a filed-fold for this file.
  1146.  
  1147. ;OCL{{{  general layout of the keypad
  1148. ;OCL}}}
  1149. @ref-end-item
  1150. ;OCL}}}
  1151. ;OCL{{{  toggle-attach-file-to-fold
  1152. @ref-start-item esc a t
  1153. If the cursor stands on an empty and closed fold, ModeOri tries to link a file
  1154. to this fold. On success you have a filed-fold, named like the fold-comment.
  1155.  
  1156. Using this function on a filed fold will detach the file from the fold.
  1157. @ref-end-item
  1158. ;OCL}}}
  1159. ;OCL{{{  unfold-fold
  1160. @ref-start-item esc r e  |  R13/Meta-R15
  1161. Remove a fold, not its contents. The (opened or closed) fold under the cursor
  1162. is used. If the cursor is on a filed fold, this is unfiled using
  1163. toggle-file-fold first, the filename is stored in the file history.
  1164.  
  1165. ;OCL{{{  toggle-file-fold
  1166. ;OCL}}}
  1167. ;OCL{{{  general layout of the keypad
  1168. ;OCL}}}
  1169. @ref-end-item
  1170. ;OCL}}}
  1171. ;OCL}}}
  1172. ;OCL{{{  set-language
  1173. @ref-start-item esc l a  |  C-Q l  |  R13/Meta-l  |  f2 l
  1174. Change the patterns to hide fold-comments. ModeOri displays a menu of known
  1175. patterns. If the extended mode is active, this will also change the behaviour
  1176. of the language-dependent commands.
  1177.  
  1178. @ref-start-item None Occam Pascal C Lisp Roff TeX Script  User  Inmos
  1179. ;OCL{{{  @lang-types None Occam Pascal C Lisp Roff TeX Script
  1180. These are predefined comments, using the normal text format:
  1181. @ref-start-tbl Language 8 Comment-Start 13 Comment-End 13
  1182. None @@ @@
  1183. Occam @@ -- @@
  1184. Pascal @@ (* @@ *)
  1185. C @@ /* @@ */
  1186. Lisp @@ ; @@
  1187. Roff @@ .\" @@
  1188. TeX @@ % @@
  1189. Script @@ # @@
  1190. @ref-end-tbl
  1191. ;OCL}}}
  1192. ;OCL{{{  @lang-types User
  1193. Prompts for comment start and end strings.
  1194. ;OCL}}}
  1195. ;OCL{{{  @lang-types Inmos
  1196. Use the binary file format of TDS (the Transputer Development System).
  1197. ;OCL}}}
  1198. @ref-end-item
  1199.  
  1200. ;OCL{{{  Select an Menu Item
  1201. You can choose an item by:
  1202.  
  1203. @ref-start-item cursor-motion
  1204. move left/right and return
  1205. @ref-end-item
  1206. @ref-start-item code
  1207. typing the first letter of the item
  1208. @ref-end-item
  1209. @ref-start-item mouse
  1210. click on th menu entry
  1211. @ref-end-item
  1212. ;OCL}}}
  1213. @ref-end-item
  1214. ;OCL}}}
  1215. ;OCL{{{  fold-mark-menu
  1216. @ref-start-item esc f m
  1217. Change the current marks for folds to other strings. You can use the standard
  1218. strings (Default `{{{:::...}}}', Pascal `<<<:::...>>>', and Script `##@##:...##$') or
  1219. enter a new coding.
  1220.  
  1221. ;OCL{{{  using default command line options
  1222. ;OCL}}}
  1223. @ref-end-item
  1224. ;OCL}}}
  1225. ;OCL}}}
  1226. ;OCL{{{  Files
  1227. ;OCL{{{  insert-file
  1228. @ref-start-item esc i n  |  C-Q i  |  R13/Meta-i  |  f2 i  |  f8
  1229. Prompts for a file, which should be included at current cursorposition.
  1230. @ref-end-item
  1231. ;OCL}}}
  1232. ;OCL{{{  insert-tags-file
  1233. @ref-start-item esc i T
  1234. Like insert-file, uses the current tags file.
  1235.  
  1236. ;OCL{{{  @tags-mac-ref Tags file
  1237. ;OCL}}}
  1238. @ref-end-item
  1239. ;OCL}}}
  1240. ;OCL{{{  buffers
  1241. ;OCL{{{  open-buffer
  1242. @ref-start-item esc o b
  1243. Split the current window and ask for the new file, to be edited in the new
  1244. window. The new file will be added to the list of edited files.
  1245. @ref-end-item
  1246. ;OCL}}}
  1247. ;OCL{{{  open-list-buffer
  1248. @ref-start-item esc o B
  1249. Like `open-buffer', but asks for the file number in the list of edited files.
  1250.  
  1251. ;OCL{{{  open-buffer
  1252. ;OCL}}}
  1253. @ref-end-item
  1254. ;OCL}}}
  1255. ;OCL{{{  open-adjacent-buffer
  1256. @ref-start-item esc a b
  1257. Like `open-buffer', but the buffers are adjacent.
  1258.  
  1259. ;OCL{{{  open-buffer
  1260. ;OCL}}}
  1261. @ref-end-item
  1262. ;OCL}}}
  1263. ;OCL{{{  open-list-adjacent-buffer
  1264. @ref-start-item esc a B
  1265. Like `open-list-buffer', but the buffers are adjacent.
  1266.  
  1267. ;OCL{{{  open-list-buffer
  1268. ;OCL}}}
  1269. @ref-end-item
  1270. ;OCL}}}
  1271. ;OCL{{{  previous-buffer
  1272. @ref-start-item esc n b
  1273. Skip to previous buffer.
  1274. @ref-end-item
  1275. ;OCL}}}
  1276. ;OCL{{{  next-buffer
  1277. @ref-start-item esc n b
  1278. Skip to next buffer.
  1279. @ref-end-item
  1280. ;OCL}}}
  1281. ;OCL{{{  list-buffers
  1282. @ref-start-item esc l b
  1283. Display a screen sized window, containing a list of all active buffers and
  1284. offer a menu, for selecting the next buffer to edit.
  1285. @ref-end-item
  1286. ;OCL}}}
  1287. ;OCL{{{  Special Buffers
  1288. ;OCL{{{  open-buffer-tags-file
  1289. @ref-start-item esc o T
  1290. Like `open-buffer', but uses the current tags-file.
  1291.  
  1292. ;OCL{{{  open-buffer
  1293. ;OCL}}}
  1294. ;OCL{{{  tags-file
  1295. ;OCL}}}
  1296. @ref-end-item
  1297. ;OCL}}}
  1298. ;OCL{{{  open-adjacent-buffer-tags-file
  1299. @ref-start-item esc a T
  1300. Like `open-buffer-tags-file', but the buffers are adjacent.
  1301.  
  1302. ;OCL{{{  open-buffer-tags-file
  1303. ;OCL}}}
  1304. ;OCL{{{  tags-file
  1305. ;OCL}}}
  1306. @ref-end-item
  1307. ;OCL}}}
  1308. ;OCL{{{  open-error-buffer
  1309. @ref-start-item esc o e
  1310. Show the message history. Offers a menu for controlling the display.
  1311. @ref-end-item
  1312. ;OCL}}}
  1313. ;OCL}}}
  1314. ;OCL}}}
  1315. ;OCL{{{  unchange-and-reread-file
  1316. @ref-start-item esc r r
  1317. Cancel all changes and read the file again.
  1318. @ref-end-item
  1319. ;OCL}}}
  1320. ;OCL{{{  save-file
  1321. @ref-start-item esc s a  |  C-Q s  |  R13/Meta-s  |  f2 s  |  f6
  1322. Saves the current file. If buffer-save mode is active, kill-, delete- and
  1323. move-buffer are stored.
  1324.  
  1325. ;OCL{{{  Buffers
  1326. ;OCL}}}
  1327. @ref-end-item
  1328. ;OCL}}}
  1329. ;OCL{{{  write-file
  1330. @ref-start-item esc w f  |  C-Q w  |  R13/Meta-w  |  f2 w
  1331. Prompts for a filename and write the current text to this files. If not using
  1332. folding-language TDS, ModeOri prompts, whether fold marks should be written or
  1333. not.
  1334. @ref-end-item
  1335. ;OCL}}}
  1336. ;OCL{{{  change current file
  1337. ;OCL{{{  read-file
  1338. @ref-start-item esc o f  |  C-Q o  |  R13/Meta-o  |  f2 o  |  f7
  1339. Prompts for the next file to be edited. If the current one was changed, ModeOri
  1340. prompts for permission to change the file. The new file will be added to the
  1341. list of edited files.
  1342. @ref-end-item
  1343. ;OCL}}}
  1344. ;OCL{{{  read-list-file
  1345. @ref-start-item esc r F
  1346. Prompt for a number and open the file number in the list of edited files.
  1347. @ref-end-item
  1348. ;OCL}}}
  1349. ;OCL{{{  change-buffername
  1350. @ref-start-item esc c b  |  f9
  1351. Prompts for a new name for the file in the currently edited buffer. Does not
  1352. save the file under the new name and does not remove the old file
  1353. autmomaticlly!
  1354. @ref-end-item
  1355. ;OCL}}}
  1356. ;OCL{{{  previous-file
  1357. @ref-start-item esc p f
  1358. Switch to previous file, given on command line or in the list of edited files.
  1359. @ref-end-item
  1360. ;OCL}}}
  1361. ;OCL{{{  next-file
  1362. @ref-start-item esc n f
  1363. Switch to the next file given on command line or in the list of edited files.
  1364. @ref-end-item
  1365. ;OCL}}}
  1366. ;OCL{{{  enter-list-file
  1367. @ref-start-item esc p l
  1368. Prompt for a number and enters the file number in the list of edited files
  1369. (like `enter-fold').
  1370. @ref-end-item
  1371. ;OCL}}}
  1372. ;OCL}}}
  1373. ;OCL{{{  set-file-unchanged
  1374. @ref-start-item esc - c
  1375. The status of the current file will be unchanged, even if you have made
  1376. changes!
  1377.  
  1378. This is NO undo-all-edits!
  1379. @ref-end-item
  1380. ;OCL}}}
  1381. ;OCL}}}
  1382. ;OCL{{{  Helps and Exits
  1383. ;OCL{{{  center-and-redraw-display
  1384. @ref-start-item esc r f  |  C-Q C-Q  |  R13/Meta-R13  |  refresh  |  f2 f2
  1385. Refresh the screen and show the current line in the middle of your display.
  1386.  
  1387. ;OCL{{{  general layout of the keypad
  1388. ;OCL}}}
  1389. @ref-end-item
  1390. ;OCL}}}
  1391. ;OCL{{{  describe-fold
  1392. @ref-start-item esc f ?
  1393. Show the following information:
  1394.  
  1395. @ref-start-item Line Column Character Entered-folds Entered-Spaces
  1396. If the cursor stands on a foldline, additional information about
  1397. foldtype/-contents (in TDS-coding) is given.
  1398. @ref-end-item
  1399. @ref-end-item
  1400. ;OCL}}}
  1401. ;OCL{{{  describe-bindings
  1402. @ref-start-item esc h b  |  C-Q ?  |  R13/Meta-?  |  help
  1403. Show all known functions and their key sequences.
  1404.  
  1405. ;OCL{{{  @hcmd help-menu
  1406. The display is controlled by the following menu:
  1407.  
  1408. @ref-start-item space(next-page) newline(next-line) Back Quit Filter Search Kill
  1409. ;OCL{{{  space(next-page)
  1410. Show next screen of information
  1411. ;OCL}}}
  1412. ;OCL{{{  newline(next-line)
  1413. Scroll up one line.
  1414. ;OCL}}}
  1415. ;OCL{{{  Back
  1416. Show previous screen of information
  1417. ;OCL}}}
  1418. ;OCL{{{  Quit
  1419. End the display and return to editing.
  1420. ;OCL}}}
  1421. ;OCL{{{  Filter
  1422. Prompts for a string. From now on, only lines matching this string are
  1423. displayed. This filtering ignores the state of the regular expression mode.
  1424. ;OCL}}}
  1425. ;OCL{{{  Search
  1426. Skip to the next line, matching the given search string.
  1427. ;OCL}}}
  1428. ;OCL{{{  Kill
  1429. Copy the actual information to the kill-buffer and return to editing.
  1430.  
  1431. ;OCL{{{  Buffers
  1432. ;OCL}}}
  1433. ;OCL}}}
  1434. @ref-end-item
  1435. ;OCL}}}
  1436. @ref-end-item
  1437. ;OCL}}}
  1438. @if-using not( NO-HELP-BROWSER )
  1439. ;OCL{{{  info
  1440. @ref-start-item esc i f
  1441. Start the interactive ModeOri information display. The reference card is
  1442. generated automagically, using the same data. The used menu contains:
  1443.  
  1444. @ref-start-item Quit Back space(Next) Back Kill 1 2 ..
  1445. ;OCL{{{  @info-ref Quit
  1446. Leave the reference browser.
  1447. ;OCL}}}
  1448. ;OCL{{{  @info-ref Up
  1449. Return to previously viewed reference page.
  1450. ;OCL}}}
  1451. ;OCL{{{  @info-ref space(Next)
  1452. Move one page down.
  1453. ;OCL}}}
  1454. ;OCL{{{  @info-ref Back
  1455. Move one page up.
  1456. ;OCL}}}
  1457. ;OCL{{{  @info-ref Kill
  1458. Copy the current page to the kill-buffer.
  1459.  
  1460. ;OCL{{{  Buffers
  1461. ;OCL}}}
  1462. ;OCL}}}
  1463. ;OCL{{{  @info-ref 1 2 ..
  1464. Enter the selected reference page. These menu entries only exist, if there are
  1465. corresponding reference pages!
  1466. ;OCL}}}
  1467. @ref-end-item
  1468.  
  1469. ;OCL{{{  Select an Menu Item
  1470. ;OCL}}}
  1471. @ref-end-item
  1472. ;OCL}}}
  1473. @fi
  1474. ;OCL{{{  help
  1475. @ref-start-item esc h e  |  C-Q h  |  R13/Meta-h  |  f2 h
  1476. Show the help file. There is no default file for it. You can put anything you
  1477. want into this textfile.
  1478.  
  1479. ;OCL{{{  @hcmd help-menu
  1480. ;OCL}}}
  1481. @if-using not( NO-HELP-BROWSER )
  1482.  
  1483. In verbose-mode, a missing help file will be replaced by the interactive
  1484. ModeOri information display, or if language C is active, the C-Operator
  1485. precedence will be displayed. If verbose-mode is not active, a missing help
  1486. file will be replaced by the list of used paths. In this case, you can enter
  1487. the interactive ModeOri information display by pressing `I'!
  1488.  
  1489. ;OCL{{{  info
  1490. ;OCL}}}
  1491. @fi
  1492. @ref-end-item
  1493. ;OCL}}}
  1494.  
  1495. ;OCL{{{  exit-buffer
  1496. @ref-start-item esc q u  |  C-Q q  |  R13/Meta-q  |  exit  |  f2 q  |  f10
  1497. This functions leaves the current buffer. If the current file was changed,
  1498. ModeOri prompts for permission to leave. If the current buffer is the only one,
  1499. the command leaves ModeOri. If buffer-save mode is active, kill-, delete- and
  1500. move-buffer are stored to file.
  1501. @if-using ( SHELL-MODE )
  1502.  
  1503. ;OCL{{{  @exit-buffer Restrictions in shell mode
  1504. Exiting the last buffer will restart the shell mode, if command line options
  1505. -Oshell or -Oxshell are active.
  1506.  
  1507. ;OCL{{{  using -O
  1508. ;OCL}}}
  1509. ;OCL}}}
  1510. @fi
  1511. @ref-end-item
  1512. ;OCL}}}
  1513. ;OCL{{{  save-and-exit-buffer
  1514. @ref-start-item esc s e  |  C-K C-D
  1515. Leave the current buffer, and save the file, if it's changed. If the current
  1516. buffer is the last one, this Command leaves ModeOri. If buffer-save mode is
  1517. active, kill-, delete and move-buffer are stored to file.
  1518. @if-using ( SHELL-MODE )
  1519.  
  1520. ;OCL{{{  @exit-buffer Restrictions in shell mode
  1521. ;OCL}}}
  1522. @fi
  1523. @ref-end-item
  1524. ;OCL}}}
  1525. ;OCL{{{  exit-origami
  1526. @ref-start-item esc q a
  1527. Repeat exit-buffer, while the current buffer is unchanged.
  1528. @if-using ( SHELL-MODE )
  1529.  
  1530. ;OCL{{{  @exit-origami Restrictions in shell mode
  1531. This command is disabled, if command line options -Oshell or -Oxshell are
  1532. active.
  1533.  
  1534. ;OCL{{{  using -O
  1535. ;OCL}}}
  1536. ;OCL}}}
  1537. @fi
  1538. ;OCL{{{  exit-buffer
  1539. ;OCL}}}
  1540. @ref-end-item
  1541. ;OCL}}}
  1542. ;OCL}}}
  1543. ;OCL{{{  Macros
  1544. ;OCL{{{  define-macro
  1545. @ref-start-item esc d m  |  C-Q d  |  R13/Meta-d
  1546. Start or stop the storing of keyboard inputs in keyboard macro.
  1547. @ref-end-item
  1548. ;OCL}}}
  1549. ;OCL{{{  execute-macro
  1550. @ref-start-item esc c m  |  C-Q m  |  R13/Meta-m
  1551. Call keyboard macro.
  1552. @ref-end-item
  1553. ;OCL}}}
  1554. ;OCL{{{  user-macro-x,x=0..9
  1555. @ref-start-item esc m x  (x=0,1,..,9)
  1556. Call the user macro x.
  1557. @ref-end-item
  1558. ;OCL}}}
  1559. ;OCL{{{  def-user-macro
  1560. @ref-start-item esc d u
  1561. Prompt for a user macro and save the keyboard macro to it.
  1562. @ref-end-item
  1563. ;OCL}}}
  1564. ;OCL}}}
  1565. ;OCL{{{  Advanced Commands
  1566. ;OCL{{{  Shell
  1567. ;OCL{{{  shell
  1568. @ref-start-item esc s h
  1569. ModeOri will start a shell for you. Exiting the shell will start ModeOri again.
  1570. @ref-end-item
  1571. ;OCL}}}
  1572. ;OCL{{{  shell-command
  1573. @ref-start-item esc s c
  1574. ModeOri prompts for a shell command. This command will be executed.
  1575. @ref-end-item
  1576. ;OCL}}}
  1577. ;OCL{{{  suspend-origami
  1578. @ref-start-item esc s u  |  C-Z  |  suspend
  1579. ModeOri stops and you are back in your shell.
  1580.  
  1581. ;OCL{{{  using default command line options
  1582. ;OCL}}}
  1583. @ref-end-item
  1584. ;OCL}}}
  1585. ;OCL{{{  filter-line
  1586. @ref-start-item esc f l
  1587. Filter the contents of the current textline or fold through the given filter.
  1588. @ref-end-item
  1589. ;OCL}}}
  1590. ;OCL{{{  filter-buffer
  1591. @ref-start-item esc f b
  1592. ModeOri prompts for a filter and pipes the current text through it. Files in
  1593. language Inmos cannot be filtered.
  1594. @ref-end-item
  1595. ;OCL}}}
  1596. ;OCL{{{  pipe-from-command
  1597. @ref-start-item esc < p
  1598. Prompt for a command and add the output of this command to the text.
  1599. @ref-end-item
  1600. ;OCL}}}
  1601. ;OCL{{{  pipe-to-command
  1602. @ref-start-item esc > p
  1603. Prompt for a command and run it with current text as input.
  1604. @ref-end-item
  1605. ;OCL}}}
  1606. ;OCL{{{  call-make
  1607. @ref-start-item esc m a  |  f5
  1608. Call make. This will be done in the directory of the currently edited file.
  1609.  
  1610. ;OCL{{{  make command
  1611. ;OCL}}}
  1612. @ref-end-item
  1613. ;OCL}}}
  1614. ;OCL{{{  call-postbox
  1615. @ref-start-item esc p o
  1616. Call your mail handling utility. This will be done in the directory of the
  1617. currently edited file.
  1618.  
  1619. ;OCL{{{  mail command
  1620. ;OCL}}}
  1621. @ref-end-item
  1622. ;OCL}}}
  1623. ;OCL}}}
  1624. ;OCL{{{  get-buffers-from-file
  1625. @ref-start-item esc < b
  1626. Get kill-, move- and delete-buffer from file `~/.origamibuff'.
  1627. @ref-end-item
  1628. ;OCL}}}
  1629. ;OCL{{{  dump-buffers-to-file
  1630. @ref-start-item esc > b
  1631. Save kill-, move- and delete-buffer to file `~/.origamibuff'.
  1632. @ref-end-item
  1633. ;OCL}}}
  1634. @if-using ( W-GET-X-SEL )
  1635. ;OCL{{{  get-selection
  1636. @ref-start-item esc g s
  1637. Paste the selection of your window environment before current line into the
  1638. text.
  1639.  
  1640. ;OCL{{{  selection
  1641. ;OCL}}}
  1642. @ref-end-item
  1643. ;OCL}}}
  1644. @fi
  1645. ;OCL{{{  fill-paragraph
  1646. @ref-start-item esc s space
  1647. fill-paragraph beautifies normal text. It splitts long lines. It can fill the
  1648. lines, to have all the same length. The functions `set-fill-column' and
  1649. `set-fill-mode' control, how this wil be done.
  1650.  
  1651. Filling can be done in two modes:
  1652.  
  1653. @ref-start-item Shrink
  1654. reduce the size of the lines to minimum
  1655. @ref-end-item
  1656. @ref-start-item Block
  1657. fill lines with spaces, to match the right margin
  1658. @ref-end-item
  1659.  
  1660. The filling modifies all lines, up to the first line
  1661.  
  1662. @ref-start-item
  1663. using another indentation
  1664. @ref-end-item
  1665. @ref-start-item or
  1666. non text line
  1667. @ref-end-item
  1668. @ref-start-item or
  1669. starting with begin-fold-comment string
  1670. @ref-end-item
  1671. @ref-start-item or
  1672. starting with `.', if shrink and language Roff are active
  1673. @ref-end-item
  1674. @ref-start-item or
  1675. starting with `\', if shrink and language TeX are active
  1676. @ref-end-item
  1677. @ref-end-item
  1678.  
  1679. ;OCL{{{  set-fill-mode
  1680. @ref-start-item esc s m
  1681. Offer a menu, for selecting Shrink or Block and defining the right margin for
  1682. filling.
  1683. @ref-end-item
  1684. ;OCL}}}
  1685. ;OCL{{{  set-fill-column
  1686. @ref-start-item esc s .
  1687. Set the right fill margin
  1688. @ref-start-item
  1689. to set-argument value, if used
  1690. @ref-end-item
  1691. @ref-start-item or
  1692. to cursor position, if behind column 20
  1693. @ref-end-item
  1694. @ref-start-item or
  1695. prompt fot the new value
  1696. @ref-end-item
  1697. @ref-end-item
  1698. ;OCL}}}
  1699. ;OCL}}}
  1700. ;OCL{{{  set-argument-x
  1701. @ref-start-item esc x  |  R13/Meta-x     (x=0..9)
  1702. All number inputs will be appended to x and the following command will be
  1703. repeated according to x.
  1704. @ref-end-item
  1705. ;OCL}}}
  1706. ;OCL{{{  no-overstrike
  1707. @ref-start-item esc n o
  1708. Remove all overstrikes in the text. These are backspace-characters, which are
  1709. used in roff/man, to print bold or underlined characters.
  1710. @ref-end-item
  1711. ;OCL}}}
  1712. ;OCL}}}
  1713. ;OCL{{{  Modes
  1714. ;OCL{{{  switch-to-move-mode
  1715. @ref-start-item esc esc
  1716. Switches to Move-Mode and uses current position as start-mark.
  1717.  
  1718. ;OCL{{{  Edit-Mode and Move-Mode
  1719. ;OCL}}}
  1720. @ref-end-item
  1721. ;OCL}}}
  1722. ;OCL{{{  switch-on-buffer-handling
  1723. @ref-start-item esc b u  | C-Q b  |  R13/Meta-b
  1724. Switch to Buffer-Handling-Mode.
  1725.  
  1726. ;OCL{{{  Buffers
  1727. ;OCL}}}
  1728. @ref-end-item
  1729. ;OCL}}}
  1730. ;OCL{{{  set-display-mode
  1731. @ref-start-item esc + d
  1732. Show a menu for selecting the character display mode:
  1733.  
  1734. @ref-start-item Quit  Octal Decimal Hex  Mark Invers Number  Tab(n)  Plain 8-Bit All
  1735. ;OCL{{{  @set-dsp Quit
  1736. Leave the menu
  1737. ;OCL}}}
  1738. ;OCL{{{  @set-dsp Octal
  1739. Numbered character display uses octal format `\xxx'.
  1740. ;OCL}}}
  1741. ;OCL{{{  @set-dsp Decimal
  1742. Numbered character display uses decimal format `\dxxx'.
  1743. ;OCL}}}
  1744. ;OCL{{{  @set-dsp Hex
  1745. Numbered character display uses hexadecimal format `\xx'.
  1746. ;OCL}}}
  1747. ;OCL{{{  @set-dsp Mark
  1748. Show control characters with `^' followed by the code (C-A -> ^A).
  1749. ;OCL}}}
  1750. ;OCL{{{  @set-dsp Invers
  1751. Show control characters as inverse code (C-A -> invers A).
  1752. ;OCL}}}
  1753. ;OCL{{{  @set-dsp Number
  1754. Show control characters numbered (C-A -> \01 in hexadecimal mode).
  1755. ;OCL}}}
  1756. ;OCL{{{  @set-dsp Tab(n)  -  n is the active size
  1757. Prompts for the width of a tab. Negative values and the value 0 will show the
  1758. tab as a normal control character.
  1759. ;OCL}}}
  1760. ;OCL{{{  @set-dsp Plain
  1761. Show normal characters by themselves. If the terminal supports this, characters
  1762. with set highbit will also be displayed by themselves.
  1763. ;OCL}}}
  1764. ;OCL{{{  @set-dsp 8-Bit
  1765. Show characters with set highbit numbered.
  1766. ;OCL}}}
  1767. ;OCL{{{  @set-dsp All
  1768. Show all characters numbered.
  1769. ;OCL}}}
  1770. @ref-end-item
  1771.  
  1772. ;OCL{{{  Select an Menu Item
  1773. ;OCL}}}
  1774. @ref-end-item
  1775. ;OCL}}}
  1776. ;OCL{{{  mode-extended
  1777. This mode is controlled by the functions:
  1778.  
  1779. @ref-start-item set-mode-raw  esc + r
  1780. @ref-end-item
  1781. @ref-start-item add-mode-extended  esc + x  |  esc - r
  1782. @ref-end-item
  1783. @ref-start-item delete-mode-extended  esc - x
  1784. @ref-end-item
  1785. Enables or disables the extended mode. If mode raw (marked with `Raw' or `R')
  1786. is activated, `create-fold' does not switch to Move-Mode! `add-mode-extended'
  1787. and `delete-mode-extended' switch off mode raw.
  1788. @if-using not( L-EXT )
  1789.  
  1790. There is no difference between add-mode-extended and delete-mode-extended,
  1791. because this version of ModeOri does not support the extended mode!
  1792. @fi
  1793.  
  1794. @if-using ( L-EXT )
  1795. ;OCL{{{  Extended-Mode
  1796. ;OCL}}}
  1797. @fi
  1798. ;OCL{{{  using -O
  1799. ;OCL}}}
  1800. ;OCL{{{  create-fold
  1801. ;OCL}}}
  1802. ;OCL}}}
  1803. ;OCL{{{  mode-autosave
  1804. @ref-start-item esc + a
  1805. Prompt for a autosave time (in minutes). When active, `AutoSave' or `S' are
  1806. displayed in the statusline.
  1807.  
  1808. ;OCL{{{  using default command line options
  1809. ;OCL}}}
  1810. @ref-end-item
  1811. @ref-start-item esc - a
  1812. Disable automatic file saving.
  1813.  
  1814. ;OCL{{{  using default command line options
  1815. ;OCL}}}
  1816. @ref-end-item
  1817. ;OCL}}}
  1818. ;OCL{{{  mode-[basic|extended]-regular-expression
  1819. @ref-start-item add-mode-basic-regular-expression  esc + m
  1820. @ref-end-item
  1821. @ref-start-item add-mode-extended-regular-expression  esc + M
  1822. @ref-end-item
  1823. @ref-start-item delete-mode-regular-expression  esc - m  |  esc - M
  1824. @ref-end-item
  1825. `query-replace', `search-forward' and `incremental-search-forward' read the
  1826. search- and replace-pattern as regular expressions. You choose between extended
  1827. regular expressions (like egrep) or basic regular expressions (like vi).
  1828.  
  1829. Marks in the statusline are `Magic' or `Ma' for basic and `XMagic' or`XM' for
  1830. extended regular expression mode.
  1831.  
  1832. ;OCL{{{  using -O
  1833. ;OCL}}}
  1834. ;OCL{{{  origami regular expressions
  1835. ;OCL}}}
  1836. ;OCL}}}
  1837. ;OCL{{{  easy modes
  1838. All other modes are controlled by typing:
  1839.  
  1840. @ref-start-item on:
  1841. esc + code
  1842. @ref-end-item
  1843. @ref-start-item off:
  1844. esc - code
  1845. @ref-end-item
  1846. @ref-start-item toggle:
  1847. esc ! code (only possible for modes, marked with (!) )
  1848. @ref-end-item
  1849. @ref-start-tbl Code 4 Name 12 Tag 10 Mode 35
  1850. b @@ buffer-save @@ BuSa @@ kill/move/delete:
  1851. @@ @@ @@ save on file-save
  1852. @@ @@ @@ read on startup
  1853. c @@ center @@ @@ Center current line
  1854. e @@ echo @@ @@ Show keysequences
  1855. f @@ full-shift @@ @@ Shift whole screen
  1856. h @@ hash-shift @@ @@ Shift leading `#' to
  1857. @@ @@ @@ line start on write
  1858. @@ @@ @@ first nonspace on read
  1859. H @@ highlight @@ @@ Highlight in Move-Mode
  1860. i @@ auto-indent @@ > @@ newline use old indent
  1861. l @@ autolanguage @@ AutoLang @@ Automatic language set
  1862. L(!) @@ diredit-long @@ @@ diredit: show filetypes..
  1863. o(!) @@ overwrite @@ Over @@ Replace chars, no insert
  1864. p(*) @@ parse @@ NoParse @@ Parse folds on file read
  1865. P(!) @@ position @@ @@ Show line/column
  1866. s @@ statusline @@ @@ Show statusline
  1867. @if-using ( SHELL-MODE )
  1868. S(-) @@ shell @@ @@ like -Oshell or -Oxshell
  1869. @fi
  1870. t @@ time @@ @@ Show actual time
  1871. v @@ view @@ View @@ Disable file-changes
  1872. V @@ verbose @@ @@ Additional error messages
  1873. w @@ wrap @@ Wrap @@ Automatic wrap around
  1874. % @@ file-based @@ % @@ up/down open/close folds
  1875. @ref-end-tbl
  1876.  
  1877. @ref-start-item (*)
  1878. The tag is displayed, while the mode is not active.
  1879. @ref-end-item
  1880. @ref-start-item (!)
  1881. The mode can be toggled.
  1882. @ref-end-item
  1883. @if-using ( SHELL-MODE )
  1884. @ref-start-item (+)
  1885. The mode can only be switched on.
  1886. @ref-end-item
  1887. @fi
  1888.  
  1889. ;OCL{{{  using default command line options
  1890. ;OCL}}}
  1891. ;OCL{{{  using -O
  1892. ;OCL}}}
  1893. ;OCL{{{  wrap around
  1894. ;OCL}}}
  1895. ;OCL{{{  Line-Movement-Mode
  1896. ;OCL}}}
  1897. ;OCL{{{  @autolang-ref auto-language switching
  1898. ;OCL}}}
  1899. ;OCL}}}
  1900. ;OCL}}}
  1901. ;OCL{{{  main-menu
  1902. @ref-start-item esc m m  |  f1
  1903. Show a menu under the statusline.
  1904.  
  1905. Pressing f1 twice will display the binding-list. The menu offers the following
  1906. functions and sub menus:
  1907.  
  1908. @ref-start-item Ok Bindings Info Help File MoveMode Para ToggleModes Window Exit
  1909. ;OCL{{{  @main-menu Ok
  1910. Leave the menu.
  1911. ;OCL}}}
  1912. ;OCL{{{  @main-menu Bindings
  1913. Display currently available keybindings.
  1914.  
  1915. ;OCL{{{  describe-bindings
  1916. ;OCL}}}
  1917. ;OCL}}}
  1918. ;OCL{{{  @main-menu Info
  1919. @if-using ( NO-HELP-BROWSER )
  1920. This version does not support the interactive ModeOri information display. info
  1921. calls help.
  1922.  
  1923. @fi
  1924. @if-using not( NO-HELP-BROWSER )
  1925. Start interactive ModeOri information display
  1926.  
  1927. ;OCL{{{  info
  1928. ;OCL}}}
  1929. @fi
  1930. ;OCL}}}
  1931. ;OCL{{{  @main-menu Help
  1932. Display your helpfile.
  1933.  
  1934. ;OCL{{{  help
  1935. ;OCL}}}
  1936. ;OCL}}}
  1937. ;OCL{{{  @main-menu File
  1938. Show a menu for file handling. You can choose:
  1939.  
  1940. @ref-start-item Ok Save Unchange Read Insert List-of-edited-files
  1941. @ref-see-also C-> %s.
  1942. ;OCL{{{  @main-menu Ok
  1943. ;OCL}}}
  1944. @ref-see-also See also in %s.
  1945. ;OCL{{{  @main-menu-file Save
  1946. Save the current file.
  1947.  
  1948. ;OCL{{{  save-file
  1949. ;OCL}}}
  1950. ;OCL}}}
  1951. ;OCL{{{  @main-menu-file Unchange
  1952. Set the status of the current file to unchanged.
  1953.  
  1954. ;OCL{{{  set-file-unchanged
  1955. ;OCL}}}
  1956. ;OCL}}}
  1957. ;OCL{{{  @main-menu-file Read
  1958. Prompts for a filename and changes the currently edited file.
  1959.  
  1960. ;OCL{{{  read-file
  1961. ;OCL}}}
  1962. ;OCL}}}
  1963. ;OCL{{{  @main-menu-file Insert
  1964. Prompts for a filename to be inserted at the current position.
  1965.  
  1966. ;OCL{{{  insert-file
  1967. ;OCL}}}
  1968. ;OCL}}}
  1969. ;OCL{{{  @main-menu-file List-of-edited-files
  1970. Changes the current file to the list of edited files.
  1971. ;OCL}}}
  1972. @ref-end-item
  1973. ;OCL}}}
  1974. ;OCL{{{  @main-menu MoveMode
  1975. Enter Move-Mode.
  1976.  
  1977. ;OCL{{{  switch-to-move-mode
  1978. ;OCL}}}
  1979. ;OCL}}}
  1980. ;OCL{{{  @main-menu Para
  1981. Show a menu for switching some parameters. Display `SetParameter' in the status
  1982. line. You can choose:
  1983.  
  1984. @ref-start-item Ok FileParameter DirEdit CommandParameter set-display-mode
  1985. @ref-see-also C-> %s.
  1986. ;OCL{{{  @main-menu Ok
  1987. ;OCL}}}
  1988. @ref-see-also See also in %s.
  1989. ;OCL{{{  @main-menu-para FileParameter
  1990. Show a menu for changing some parameters of the current file. You can choose:
  1991.  
  1992. @ref-start-item Ok Language Fold-marks
  1993. ;OCL{{{  @main-menu-f-para Ok
  1994. Leave the menu.
  1995. ;OCL}}}
  1996. ;OCL{{{  @main-menu-f-para Language
  1997. Change the current fold language.
  1998.  
  1999. ;OCL{{{  set-language
  2000. ;OCL}}}
  2001. ;OCL}}}
  2002. ;OCL{{{  @main-menu-f-para Fold-marks
  2003. Change the current fold mark strings.
  2004.  
  2005. ;OCL{{{  fold-mark-menu
  2006. ;OCL}}}
  2007. ;OCL}}}
  2008. @ref-end-item
  2009.  
  2010. ;OCL{{{  Select an Menu Item
  2011. ;OCL}}}
  2012. ;OCL}}}
  2013. ;OCL{{{  @main-menu-para Diredit
  2014. Display the following menu for changing the directory filters:
  2015.  
  2016. @ref-start-item Ok ToggleLong Match(e1) NoMatch(e2)
  2017. ;OCL{{{  @main-menu-d-para Ok
  2018. Leave the menu.
  2019. ;OCL}}}
  2020. ;OCL{{{  @main-menu-d-para ToggleLong
  2021. Toggle the long display mode for directory editing.
  2022.  
  2023. ;OCL{{{  easy modes
  2024. ;OCL}}}
  2025. ;OCL}}}
  2026. ;OCL{{{  @main-menu-d-para Match
  2027. Change the regular expression, which is used to specify allowed diredit files
  2028. (e1 is the active expression).
  2029.  
  2030. ;OCL{{{  using default command line options
  2031. ;OCL}}}
  2032. ;OCL{{{  spaces in old menu item values
  2033. If the old value for the menu item contains spaces, ModeOri displays them as _
  2034. in the brackets.
  2035. ;OCL}}}
  2036. ;OCL}}}
  2037. ;OCL{{{  @main-menu-d-para NoMatch
  2038. Change the regular expression, which is used to specify the not allowed diredit
  2039. files (e2 is the active expression).
  2040.  
  2041. ;OCL{{{  using default command line options
  2042. ;OCL}}}
  2043. ;OCL{{{  spaces in old menu item values
  2044. ;OCL}}}
  2045. ;OCL}}}
  2046. @ref-end-item
  2047.  
  2048. ;OCL{{{  Select an Menu Item
  2049. ;OCL}}}
  2050. ;OCL}}}
  2051. ;OCL{{{  @main-menu-para CommandParameter
  2052. Display a menu for changing some ModeOri function parameters:
  2053.  
  2054. @ref-start-item Ok Spell(s) Make(m) Postbox(p) TagsFile(f)
  2055. ;OCL{{{  @main-menu-c-para Ok
  2056. Leave the menu.
  2057. ;OCL}}}
  2058. ;OCL{{{  @main-menu-c-para Spell(s)
  2059. Change the spell checker command (s is the active one).
  2060.  
  2061. ;OCL{{{  using -O
  2062. ;OCL}}}
  2063. ;OCL{{{  spaces in old menu item values
  2064. ;OCL}}}
  2065. ;OCL}}}
  2066. ;OCL{{{  @main-menu-c-para Make(m)
  2067. Change the make command (m is the active one).
  2068.  
  2069. ;OCL{{{  using -O
  2070. ;OCL}}}
  2071. ;OCL{{{  spaces in old menu item values
  2072. ;OCL}}}
  2073. ;OCL}}}
  2074. ;OCL{{{  @main-menu-c-para Postbox(p)
  2075. Change the mail handling command (p is the active one).
  2076.  
  2077. ;OCL{{{  using -O
  2078. ;OCL}}}
  2079. ;OCL{{{  spaces in old menu item values
  2080. ;OCL}}}
  2081. ;OCL}}}
  2082. ;OCL{{{  @main-menu-f-para TagsFile(f)
  2083. Change the current tags file (f is the active one - default is displayed, if
  2084. the default file list is used).
  2085.  
  2086. ;OCL{{{  using -O
  2087. ;OCL}}}
  2088. ;OCL{{{  @tags-mac-ref Tags file
  2089. ;OCL}}}
  2090. ;OCL{{{  spaces in old menu item values
  2091. ;OCL}}}
  2092. ;OCL}}}
  2093. @ref-end-item
  2094. @if-using ( SHELL-MODE )
  2095.  
  2096. This version of ModeOri supports the additional menu entires:
  2097.  
  2098. @ref-start-item Nn(n) EnableShell
  2099. ;OCL{{{  @main-menu-c-para Nn(n)
  2100. Change the news reader command (n is the active one).
  2101.  
  2102. ;OCL{{{  using -O
  2103. ;OCL}}}
  2104. ;OCL{{{  spaces in old menu item values
  2105. ;OCL}}}
  2106. ;OCL}}}
  2107. ;OCL{{{  @main-menu-c-para EnableShell
  2108. Switch on the ModeOriShell after exiting the last buffer.
  2109.  
  2110. ;OCL{{{  add-mode-shell
  2111. ;OCL}}}
  2112. ;OCL}}}
  2113. @ref-end-item
  2114. @fi
  2115.  
  2116. ;OCL{{{  Select an Menu Item
  2117. ;OCL}}}
  2118. ;OCL}}}
  2119. ;OCL{{{  set-display-mode
  2120. ;OCL}}}
  2121. @ref-end-item
  2122.  
  2123. ;OCL{{{  Select an Menu Item
  2124. ;OCL}}}
  2125. ;OCL}}}
  2126. ;OCL{{{  @main-menu ToggleModes
  2127. Show a menu for switching modes. Display ToggleModes in the status line. You
  2128. can choose:
  2129.  
  2130. @ref-start-item Ok View Extend Autosave Write-over Position
  2131. @ref-see-also C-> %s.
  2132. ;OCL{{{  @main-menu Ok
  2133. ;OCL}}}
  2134. @ref-see-also See also in %s.
  2135. ;OCL{{{  @main-menu-mode View
  2136. Toggle the view mode.
  2137.  
  2138. ;OCL{{{  easy modes
  2139. ;OCL}}}
  2140. ;OCL}}}
  2141. ;OCL{{{  @main-menu-mode Extend
  2142. Toggle the extended mode.
  2143.  
  2144. ;OCL{{{  mode-extended
  2145. ;OCL}}}
  2146. ;OCL}}}
  2147. ;OCL{{{  @main-menu-mode Autosave
  2148. Toggle auto-save mode.
  2149.  
  2150. ;OCL{{{  mode-autosave
  2151. ;OCL}}}
  2152. ;OCL}}}
  2153. ;OCL{{{  @main-menu-mode Write-over
  2154. Toggle overwrite mode.
  2155.  
  2156. ;OCL{{{  easy modes
  2157. ;OCL}}}
  2158. ;OCL}}}
  2159. ;OCL{{{  @main-menu-mode Position
  2160. Toggle the position display in the statusline.
  2161.  
  2162. ;OCL{{{  easy modes
  2163. ;OCL}}}
  2164. ;OCL}}}
  2165. @ref-end-item
  2166.  
  2167. ;OCL{{{  Select an Menu Item
  2168. ;OCL}}}
  2169. ;OCL}}}
  2170. ;OCL{{{  @main-menu Window
  2171. Activate the buffer handling menu. Displays `BufferCmd' in the statusline. You
  2172. can choose:
  2173.  
  2174. @ref-start-item Ok-BUFFERNUMBER Size Change New Quit
  2175. ;OCL{{{  @main-menu-window Ok-BUFFERNUMBER
  2176. Leave the menu.
  2177. ;OCL}}}
  2178. ;OCL{{{  @main-menu-window Size
  2179. Show a menu for changing the size of the current buffer window. displays
  2180. `BufferSize' in the statusline. You can choose:
  2181.  
  2182. @ref-start-item Ok-BUFFERNUMBER[LINESxCOLUMNS] Grow Shrink Widen Narrow
  2183. ;OCL{{{  @main-menu-window-size Ok-BUFFERNUMBER[LINESxCOLUMNS]
  2184. Return to buffer handling menu.
  2185. ;OCL}}}
  2186. ;OCL{{{  @main-menu-window-size Grow
  2187. Increases the height of the window. Stay in the size menu.
  2188. ;OCL}}}
  2189. ;OCL{{{  @main-menu-window-size Shrink
  2190. Decrease the height of the window. Stay in the size menu.
  2191. ;OCL}}}
  2192. ;OCL{{{  @main-menu-window-size Widen
  2193. Increase the width of the window. Stay in the size menu.
  2194. ;OCL}}}
  2195. ;OCL{{{  @main-menu-window-size Narrow
  2196. Decrease the width of the window. Stay in the size menu.
  2197. ;OCL}}}
  2198. @ref-end-item
  2199.  
  2200. ;OCL{{{  Select an Menu Item
  2201. ;OCL}}}
  2202. ;OCL}}}
  2203. ;OCL{{{  @main-menu-window Change
  2204. Show a menu for changing the active buffer. Displays `BufferChg' in the
  2205. statusline. You can choose:
  2206.  
  2207. @ref-start-item Ok-BUFFERNUMBER Up Down Left Right Previous Next Select
  2208. ;OCL{{{  @main-menu-window-sub Ok-BUFFERNUMBER
  2209. Return to buffer handling menu.
  2210. ;OCL}}}
  2211. ;OCL{{{  @main-menu-window-change Up
  2212. Change to the buffer above the active one. Stay in buffer change menu.
  2213. ;OCL}}}
  2214. ;OCL{{{  @main-menu-window-change Down
  2215. Change to the buffer under the active one. Stay in buffer change menu.
  2216. ;OCL}}}
  2217. ;OCL{{{  @main-menu-window-change Left
  2218. Change to the buffer to the left of the active one. Stay in buffer change menu.
  2219. ;OCL}}}
  2220. ;OCL{{{  @main-menu-window-change Right
  2221. Change to the buffer to the right of the active one. Stay in buffer change
  2222. menu.
  2223. ;OCL}}}
  2224. ;OCL{{{  @main-menu-window-change Previous
  2225. Switch to the buffer with id n-1, n is the id of the current buffer. Stay in
  2226. the buffer change menu.
  2227. ;OCL}}}
  2228. ;OCL{{{  @main-menu-window-change Next
  2229. Switch to the buffer with id n+1, n is the id of the current buffer. Stay in
  2230. the buffer change menu.
  2231. ;OCL}}}
  2232. ;OCL{{{  @main-menu-window-change Select
  2233. Show a list of all buffers for selecting the next buffer. Returns to buffer
  2234. handling menu afterwards.
  2235. ;OCL}}}
  2236. @ref-end-item
  2237.  
  2238. ;OCL{{{  Select an Menu Item
  2239. ;OCL}}}
  2240. ;OCL}}}
  2241. ;OCL{{{  @main-menu-window New
  2242. Show a menu for creating new buffers. Displays `BufferNew' in the statusline.
  2243. You can choose:
  2244.  
  2245. @ref-start-item Ok-BUFFERNUMBER Buffer Adjacent-buffer
  2246. @ref-see-also C-> %s.
  2247. ;OCL{{{  @main-menu-window-sub Ok-BUFFERNUMBER
  2248. ;OCL}}}
  2249. @ref-see-also See also in %s.
  2250. ;OCL{{{  @main-menu-window-new Buffer
  2251. Prompt for a filename and open a new buffer.
  2252.  
  2253. ;OCL{{{  open-buffer
  2254. ;OCL}}}
  2255. ;OCL}}}
  2256. ;OCL{{{  @main-menu-window-new Adjacent-buffer
  2257. Prompt for a filename and open a new buffer.
  2258.  
  2259. ;OCL{{{  open-adjacent-buffer
  2260. ;OCL}}}
  2261. ;OCL}}}
  2262. @ref-end-item
  2263.  
  2264. ;OCL{{{  Select an Menu Item
  2265. ;OCL}}}
  2266. ;OCL}}}
  2267. ;OCL{{{  @main-menu-window Quit
  2268. If there are more than 1 buffer, leave the active one and stay in buffer
  2269. handling menu. Otherwise return to Edit-Mode.
  2270.  
  2271. ;OCL{{{  exit-buffer
  2272. ;OCL}}}
  2273. ;OCL}}}
  2274. @ref-end-item
  2275.  
  2276. ;OCL{{{  Select an Menu Item
  2277. ;OCL}}}
  2278. ;OCL}}}
  2279. ;OCL{{{  @main-menu Exit
  2280. Prompt for permission and ends the editing session if permitted.
  2281.  
  2282. ;OCL{{{  @exit-origami Restrictions in shell mode
  2283. ;OCL}}}
  2284. ;OCL}}}
  2285. @ref-end-item
  2286.  
  2287. ;OCL{{{  Select an Menu Item
  2288. ;OCL}}}
  2289. @ref-end-item
  2290. ;OCL}}}
  2291. ;OCL}}}
  2292. ;OCL{{{  Move-Mode
  2293. The following commands can be used in Move-Mode. Moving around is like in
  2294. Edit-Mode. The edit-functions use the marked region instead of the current
  2295. line. The region is set by:
  2296.  
  2297. @ref-start-item *
  2298. the entry-point to Move-Mode
  2299. @ref-end-item
  2300. @ref-start-item *
  2301. the position, where the command is called
  2302. @ref-end-item
  2303.  
  2304. You can return to Edit-Mode by pressing the abort-key or a region-command. The
  2305. bindings are very close to the bindings in Edit-Mode, though they are much more
  2306. powerfull.
  2307.  
  2308. ;OCL{{{  @move Moving Around
  2309. ;OCL{{{  @move backward/upward
  2310. @ref-see-also C-> %s.
  2311. ;OCL{{{  backward-character
  2312. ;OCL}}}
  2313. ;OCL{{{  backward-word
  2314. ;OCL}}}
  2315. ;OCL{{{  beginning-of-line
  2316. ;OCL}}}
  2317. ;OCL{{{  previous-line
  2318. ;OCL}}}
  2319. ;OCL{{{  previous-page
  2320. ;OCL}}}
  2321. ;OCL{{{  mtool-top
  2322. ;OCL}}}
  2323. ;OCL{{{  beginning-of-fold
  2324. ;OCL}}}
  2325. @ref-see-also See also in %s.
  2326. ;OCL}}}
  2327. ;OCL{{{  @move forward/downward
  2328. @ref-see-also C-> %s.
  2329. ;OCL{{{  forward-character
  2330. ;OCL}}}
  2331. ;OCL{{{  forward-word
  2332. ;OCL}}}
  2333. ;OCL{{{  end-of-line
  2334. ;OCL}}}
  2335. ;OCL{{{  next-line
  2336. ;OCL}}}
  2337. ;OCL{{{  next-page
  2338. ;OCL}}}
  2339. ;OCL{{{  mtool-bot
  2340. ;OCL}}}
  2341. ;OCL{{{  end-of-fold
  2342. ;OCL}}}
  2343. @ref-see-also See also in %s.
  2344. ;OCL}}}
  2345. ;OCL{{{  @move go-local-line
  2346. @ref-start-item esc g o  |  C-Q g  |  R13/Meta-g  |  f2 g
  2347. Same as go-line in Edit-Mode, except that it opens only folds and does not
  2348. close any folds.
  2349. @ref-end-item
  2350. ;OCL}}}
  2351. ;OCL{{{  @move searching
  2352. @ref-see-also C-> %s.
  2353. ;OCL{{{  goto-matching-brace
  2354. ;OCL}}}
  2355. ;OCL{{{  search-forward
  2356. ;OCL}}}
  2357. ;OCL{{{  search-reverse
  2358. ;OCL}}}
  2359. ;OCL{{{  incremental-search-forward
  2360. ;OCL}}}
  2361. @ref-see-also See also in %s.
  2362. ;OCL}}}
  2363. ;OCL{{{  @move marks
  2364. @ref-see-also C-> %s.
  2365. ;OCL{{{  set-mark-x
  2366. ;OCL}}}
  2367. @ref-see-also See also in %s.
  2368. ;OCL{{{  @move go-mark-x
  2369. @ref-start-item esc g x (x=0,1,..,9)
  2370. Goto mark x. The command fails, if the mark is in another file.
  2371. @ref-end-item
  2372. ;OCL}}}
  2373. ;OCL{{{  @move swap-mark-x
  2374. @ref-start-item esc w x (x=0,1,..,9)
  2375. Like in Edit-Mode, but cannot change files.
  2376. @ref-end-item
  2377. ;OCL}}}
  2378. ;OCL{{{  @move go-last-mark
  2379. @ref-start-item esc g m
  2380. Go to the mark, used in the last go-mark-x command. The command
  2381. fails, if the mark is in another file.
  2382. @ref-end-item
  2383. ;OCL}}}
  2384. ;OCL{{{  @move go-start-mark
  2385. @ref-start-item esc esc  |  R13/Meta-R13  |  f2
  2386. Move the cursor back to the start of the region.
  2387.  
  2388. ;OCL{{{  general layout of the keypad
  2389. ;OCL}}}
  2390. @ref-end-item
  2391. ;OCL}}}
  2392. ;OCL{{{  @move set-start-mark
  2393. @ref-start-item .
  2394. The current position is used as beginning of the region.
  2395. @ref-end-item
  2396. ;OCL}}}
  2397. ;OCL}}}
  2398. ;OCL{{{  @move change-position
  2399. @ref-start-item -
  2400. The current position becomes start of the region and the cursor is moved to the
  2401. old start-position.
  2402. @ref-end-item
  2403. ;OCL}}}
  2404. ;OCL}}}
  2405. ;OCL{{{  @move Editing
  2406. ;OCL{{{  @move delete-mark-region
  2407. @ref-start-item esc d l  |  C-L  |  R13/Meta-R9  |  delline
  2408. The marked region will be deleted from the text.
  2409.  
  2410. ;OCL{{{  Buffers
  2411. ;OCL}}}
  2412. ;OCL{{{  general layout of the keypad
  2413. ;OCL}}}
  2414. @ref-end-item
  2415. ;OCL}}}
  2416. ;OCL{{{  @move undo-delete-line-unfolded-at
  2417. @ref-start-item esc u l  |  C-Q C-L  |  R13/Meta-R7  |  L4
  2418. Try to undelete a line at cursor position inside a line.
  2419.  
  2420. ;OCL{{{  Buffers
  2421. ;OCL}}}
  2422. ;OCL{{{  general layout of the keypad
  2423. ;OCL}}}
  2424. @ref-end-item
  2425. ;OCL}}}
  2426. ;OCL{{{  @move copy-mark-region
  2427. @ref-start-item esc c o  |  C-O  |  R13/Meta-R2  |  copy
  2428. The marked region will be copied in the text.
  2429.  
  2430. ;OCL{{{  general layout of the keypad
  2431. ;OCL}}}
  2432. @ref-end-item
  2433. ;OCL}}}
  2434.  
  2435. ;OCL{{{  @move Edit Buffers
  2436. ;OCL{{{  @move kill-mark-region
  2437. @ref-start-item esc p i  |  C-K  |  R2  |  L10
  2438. The region is moved to the end of the kill-buffer.
  2439.  
  2440. ;OCL{{{  Buffers
  2441. ;OCL}}}
  2442. ;OCL{{{  general layout of the keypad
  2443. ;OCL}}}
  2444. @ref-end-item
  2445. ;OCL}}}
  2446. ;OCL{{{  @move copy-kill-mark-region
  2447. @ref-start-item esc c p  |  C-Q C-K  |  R5  |  L6
  2448. The region will be copied to the end of the kill-buffer.
  2449.  
  2450. ;OCL{{{  Buffers
  2451. ;OCL}}}
  2452. ;OCL{{{  general layout of the keypad
  2453. ;OCL}}}
  2454. @ref-end-item
  2455. ;OCL}}}
  2456. ;OCL{{{  @move unkill-unfolded-at
  2457. @ref-start-item esc p p  |  C-P  |  R11  |  L8
  2458. If needed, split the current line and insert the contents of the kill-buffer
  2459. into the text.
  2460.  
  2461. ;OCL{{{  Buffers
  2462. ;OCL}}}
  2463. ;OCL{{{  general layout of the keypad
  2464. ;OCL}}}
  2465. @ref-end-item
  2466. ;OCL}}}
  2467. ;OCL{{{  @move move-mark-region
  2468. @ref-start-item esc m o  |  C-Q C-O  |  R13/Meta-R2  |  move
  2469. If the move-buffer is empty, fold the marked region and move the new fold into
  2470. the move-buffer. Otherwise the move-buffer is moved into the text at current
  2471. position.
  2472.  
  2473. ;OCL{{{  Buffers
  2474. ;OCL}}}
  2475. ;OCL{{{  general layout of the keypad
  2476. ;OCL}}}
  2477. @ref-end-item
  2478. ;OCL}}}
  2479. ;OCL}}}
  2480.  
  2481. ;OCL{{{  @move shift-?-region
  2482. The following commands change the indentation of all selected lines. The
  2483. commands do not return to Edit-Mode, but stay in a loop,where only the
  2484. shift-???-region commands and switch-to-edit-mode (press i or return) are valid
  2485. commands. Mouse-clicks inside the current window call shift-to-region with the
  2486. corresponding x position. Clicking on the message-line returns to Edit-Mode.
  2487.  
  2488. @ref-start-item shift-in-region: space
  2489. Increment indentation level by 1.
  2490. @ref-end-item
  2491. @ref-start-item shift-out-region: esc b s  |  esc d c  |  backspace
  2492. Decrement indentation level by 1.
  2493. @ref-end-item
  2494. @ref-start-item shift-x-region: +
  2495. Prompts for the number of additional spaces (negativ values decrease the
  2496. indentation level.
  2497. @ref-end-item
  2498. @ref-start-item shift-to-region: t
  2499. Prompt for the indentation level.
  2500. @ref-end-item
  2501. ;OCL}}}
  2502. ;OCL{{{  @move character cases
  2503. @ref-start-item toggle-case-mark-region: !
  2504. Toggle the case of all characters in the selected region.
  2505. @ref-end-item
  2506. @ref-start-item uppercase-mark-region: u
  2507. Make all letters in the selected region uppercase.
  2508. @ref-end-item
  2509. @ref-start-item lowercase-mark-region: v
  2510. Make all letters in the selected region lowercase.
  2511. @ref-end-item
  2512. ;OCL}}}
  2513. ;OCL}}}
  2514. ;OCL{{{  @move Folding
  2515. @ref-see-also C-> %s.
  2516. ;OCL{{{  open-fold
  2517. ;OCL}}}
  2518. ;OCL{{{  close-fold
  2519. ;OCL}}}
  2520. @ref-see-also See also in %s.
  2521. ;OCL{{{  @move fold-mark-region
  2522. @ref-start-item f  |  esc c r  |  C-\  |  R15
  2523. The region will be folded. If needed, the start- and endline are broken.
  2524.  
  2525. ;OCL{{{  general layout of the keypad
  2526. ;OCL}}}
  2527. @ref-end-item
  2528. ;OCL}}}
  2529. ;OCL}}}
  2530. ;OCL{{{  @move Helps and Exits
  2531. @ref-see-also C-> %s.
  2532. ;OCL{{{  describe-fold
  2533. ;OCL}}}
  2534. ;OCL{{{  help
  2535. ;OCL}}}
  2536. ;OCL{{{  describe-bindings
  2537. ;OCL}}}
  2538. @ref-see-also See also in %s.
  2539. ;OCL}}}
  2540. ;OCL{{{  set-argument-y
  2541. @ref-start-item esc y  |  R13/Meta-y  (y=0..9)
  2542. All number inputs will be appended to y and the following command will be
  2543. repeated according to y.
  2544. @ref-end-item
  2545. ;OCL}}}
  2546. ;OCL{{{  move-menu
  2547. @ref-start-item esc m m  |  f1
  2548. Pressing f1 twice will display the binding-list.
  2549.  
  2550. Offers the menu:
  2551.  
  2552. @ref-start-item Ok Bindings Help Fold Indent Edit
  2553. ;OCL{{{  Ok
  2554. Leave the menu without any action.
  2555. ;OCL}}}
  2556. ;OCL{{{  Bindings
  2557. Show the list of bound keys.
  2558.  
  2559. ;OCL{{{  describe-bindings
  2560. ;OCL}}}
  2561. ;OCL}}}
  2562. ;OCL{{{  Help
  2563. Show the help file.
  2564.  
  2565. ;OCL{{{  help
  2566. ;OCL}}}
  2567. ;OCL}}}
  2568. ;OCL{{{  Fold
  2569. Fold the selected region and return to Edit-Mode.
  2570.  
  2571. ;OCL{{{  @move fold-mark-region
  2572. ;OCL}}}
  2573. ;OCL}}}
  2574. ;OCL{{{  Indent
  2575. Start indenting the selected region. Selecting this item will not change the
  2576. text, but you can use the mouse to determine the new position of the block.
  2577. Keyboard controlled indenting is also allowed.
  2578.  
  2579. Clicking on the status- or message-line will leave the indenting mode.
  2580. ;OCL{{{  @move shift-?-region
  2581. ;OCL}}}
  2582. ;OCL}}}
  2583. ;OCL{{{  Edit
  2584. Return to Edit-Mode.
  2585. ;OCL}}}
  2586. @ref-end-item
  2587.  
  2588. ;OCL{{{  Select an Menu Item
  2589. ;OCL}}}
  2590. @ref-end-item
  2591. ;OCL}}}
  2592. ;OCL}}}
  2593. ;OCL{{{  Buffer-Handling-Mode
  2594. This mode is marked with `BufferCmd' in the statusline. It is used to control
  2595. multiple buffers during a editor session. Available commands are:
  2596.  
  2597. ;OCL{{{  buffer-menu
  2598. @ref-start-item m
  2599. Call the window handling menu and return to Edit-Mode, after leaving it.
  2600.  
  2601. ;OCL{{{  @main-menu Window
  2602. ;OCL}}}
  2603. @ref-end-item
  2604. ;OCL}}}
  2605. ;OCL{{{  switch-off-buffer-handling
  2606. @ref-start-item return
  2607. Return to Edit-Mode.
  2608. @ref-end-item
  2609. ;OCL}}}
  2610. ;OCL{{{  open new buffers
  2611. ;OCL{{{  @buff open-buffer
  2612. @ref-start-item o
  2613. Like in Edit-Mode.
  2614. @ref-end-item
  2615. ;OCL}}}
  2616. ;OCL{{{  @buff open-list-buffer
  2617. @ref-start-item O
  2618. Like in Edit-Mode.
  2619. @ref-end-item
  2620. ;OCL}}}
  2621. ;OCL{{{  @buff open-adjacent-buffer
  2622. @ref-start-item a
  2623. Like in Edit-Mode.
  2624. @ref-end-item
  2625. ;OCL}}}
  2626. ;OCL{{{  @buff open-list-adjacent-buffer
  2627. @ref-start-item A
  2628. Like in Edit-Mode.
  2629. @ref-end-item
  2630. ;OCL}}}
  2631. ;OCL}}}
  2632. ;OCL{{{  change current buffer
  2633. ;OCL{{{  @buff next-buffer
  2634. @ref-start-item n
  2635. Like in Edit-Mode.
  2636. @ref-end-item
  2637. ;OCL}}}
  2638. ;OCL{{{  @buff previous-buffer
  2639. @ref-start-item p
  2640. Like in Edit-Mode.
  2641. @ref-end-item
  2642. ;OCL}}}
  2643. ;OCL{{{  go-buffer
  2644. @ref-start-item g
  2645. Prompt for a buffer number and switch to it. If set-argument was used, the
  2646. prompt will be omitted and the argument will be used!
  2647. @ref-end-item
  2648. ;OCL}}}
  2649. ;OCL{{{  right-buffer
  2650. @ref-start-item D  |  R12  |  right
  2651. Go to buffer right from cursor position.
  2652.  
  2653. ;OCL{{{  general layout of the keypad
  2654. ;OCL}}}
  2655. @ref-end-item
  2656. ;OCL}}}
  2657. ;OCL{{{  left-buffer
  2658. @ref-start-item S  |  R10  |  left
  2659. Go to buffer left from cursor position.
  2660.  
  2661. ;OCL{{{  general layout of the keypad
  2662. ;OCL}}}
  2663. @ref-end-item
  2664. ;OCL}}}
  2665. ;OCL{{{  up-buffer
  2666. @ref-start-item E  |  R8  |  up
  2667. Go to buffer above cursor position.
  2668.  
  2669. ;OCL{{{  general layout of the keypad
  2670. ;OCL}}}
  2671. @ref-end-item
  2672. ;OCL}}}
  2673. ;OCL{{{  down-buffer
  2674. @ref-start-item X  |  R14  |  down
  2675. Go to buffer under cursor position.
  2676.  
  2677. ;OCL{{{  general layout of the keypad
  2678. ;OCL}}}
  2679. @ref-end-item
  2680. ;OCL}}}
  2681. ;OCL}}}
  2682. ;OCL{{{  change layout
  2683. ;OCL{{{  full-size-buffer
  2684. @ref-start-item f
  2685. Make buffer as big as possible.
  2686. @ref-end-item
  2687. ;OCL}}}
  2688.  
  2689. The following commands, can be repeated by typing the number of repeats before
  2690. typing the command.
  2691.  
  2692. ;OCL{{{  widen-buffer
  2693. @ref-start-item d  |  R12  |  right
  2694. Increment the width off current window by 1.
  2695.  
  2696. ;OCL{{{  general layout of the keypad
  2697. ;OCL}}}
  2698. @ref-end-item
  2699. ;OCL}}}
  2700. ;OCL{{{  narrow-buffer
  2701. @ref-start-item s  |  R10  |  left
  2702. Decrement the width of the current window by 1.
  2703.  
  2704. ;OCL{{{  general layout of the keypad
  2705. ;OCL}}}
  2706. @ref-end-item
  2707. ;OCL}}}
  2708. ;OCL{{{  grow-buffer
  2709. @ref-start-item e  |  R8  |  up
  2710. Increase the height of the current window by 1.
  2711.  
  2712. ;OCL{{{  general layout of the keypad
  2713. ;OCL}}}
  2714. @ref-end-item
  2715. ;OCL}}}
  2716. ;OCL{{{  shrink-buffer
  2717. @ref-start-item x  |  R14  |  down
  2718. Decrement the height of the current window by 1.
  2719.  
  2720. ;OCL{{{  general layout of the keypad
  2721. ;OCL}}}
  2722. @ref-end-item
  2723. ;OCL}}}
  2724. ;OCL}}}
  2725. ;OCL{{{  @buff exit-buffer
  2726. @ref-start-item q  |  exit  |  f10
  2727. Like in Edit-Mode, but returns to Edit-Mode, if only one buffer is left!
  2728. @ref-end-item
  2729. ;OCL}}}
  2730. ;OCL{{{  @buff describe-bindings
  2731. @ref-start-item ?
  2732. like in Edit-Mode, but show commands for Buffer-Handling-Mode.
  2733. @ref-end-item
  2734. ;OCL}}}
  2735. ;OCL{{{  @buff help
  2736. @ref-start-item h
  2737. like in Edit-Mode.
  2738. @ref-end-item
  2739. ;OCL}}}
  2740. ;OCL{{{  @buff center-and-redraw-display
  2741. @ref-start-item r  |  R13/Meta-R13  |  refresh  |  f2 f2
  2742. Center and redraw screen.
  2743.  
  2744. ;OCL{{{  general layout of the keypad
  2745. ;OCL}}}
  2746. @ref-end-item
  2747. ;OCL}}}
  2748.  
  2749. Mouse clicks switch to the given window. Clicks on message-line activate the
  2750. buffer handling menu.
  2751. ;OCL}}}
  2752. @if-using ( SHELL-MODE )
  2753. ;OCL{{{  @shell-mode Shell Mode
  2754. ModeOri starts in shell mode, if Option -Oshell is active. If the given file
  2755. argument is a regular file, ModeOri activates automatically the command edit
  2756. for the given file.
  2757.  
  2758. The mode displays a special window below the text, which is used to display
  2759. some of the most important available commands. The text window is used to
  2760. display the files in the active directory. Selected files/directories are
  2761. marked with *. You can choose:
  2762.  
  2763. ;OCL{{{  @shell-mode Moving Around
  2764. ;OCL{{{  @shell-mode previous-line
  2765. @ref-start-item esc u p  |  C-E  |  R8  |  up
  2766. Go to the previous line on the screen.
  2767.  
  2768. ;OCL{{{  general layout of the keypad
  2769. ;OCL}}}
  2770. @ref-end-item
  2771. ;OCL}}}
  2772. ;OCL{{{  @shell-mode previous-page
  2773. @ref-start-item esc p u  |  esc l e  |  C-S  |  R13/Meta-R1  |  R10  |  prev_page  |  left
  2774. Move one screen up.
  2775.  
  2776. ;OCL{{{  general layout of the keypad
  2777. ;OCL}}}
  2778. @ref-end-item
  2779. ;OCL}}}
  2780. ;OCL{{{  mtool-top
  2781. ;OCL}}}
  2782. ;OCL{{{  @shell-mode next-line
  2783. @ref-start-item esc d n  |  C-X  |  R14  |  down
  2784. Go to the next line on the screen.
  2785.  
  2786. ;OCL{{{  general layout of the keypad
  2787. ;OCL}}}
  2788. @ref-end-item
  2789. ;OCL}}}
  2790. ;OCL{{{  @shell-mode next-page
  2791. @ref-start-item esc p d  |  esc r i  |  C-D  |  R13/Meta-R3  |  R12  |  next_page  |  right
  2792. Move one page down.
  2793.  
  2794. ;OCL{{{  general layout of the keypad
  2795. ;OCL}}}
  2796. @ref-end-item
  2797. ;OCL}}}
  2798. ;OCL{{{  mtool-bot
  2799. ;OCL}}}
  2800. ;OCL}}}
  2801. ;OCL{{{  @shell-mode Folding
  2802. ;OCL{{{  @shell-mode open-fold
  2803. @ref-start-item esc o p  |  C-W  |  R4  |  f3
  2804. Open the closed fold under the cursor. Can be used to show the dot files.
  2805.  
  2806. ;OCL{{{  general layout of the keypad
  2807. ;OCL}}}
  2808. @ref-end-item
  2809. ;OCL}}}
  2810. ;OCL{{{  @shell-mode close-fold
  2811. @ref-start-item esc c l  |  C-R  |  R6  |  f4
  2812. Close the currently opened fold. Can be used to hide the dot files.
  2813.  
  2814. ;OCL{{{  general layout of the keypad
  2815. ;OCL}}}
  2816. @ref-end-item
  2817. ;OCL}}}
  2818. ;OCL}}}
  2819. ;OCL{{{  @shell-mode Helps and Exits
  2820. ;OCL{{{  describe-bindings
  2821. ;OCL}}}
  2822. @if-using not( NO-HELP-BROWSER )
  2823. ;OCL{{{  @shell-mode info
  2824. @ref-start-item esc i f  |  esc h e  |  i  |  C-Q h  |  R13/Meta-h  |  f1  |  f2 h
  2825. Like in Edit-Mode, start the interactive ModeOri information display.
  2826.  
  2827. ;OCL{{{  info
  2828. ;OCL}}}
  2829. @ref-end-item
  2830. ;OCL}}}
  2831. @fi
  2832.  
  2833. ;OCL{{{  @shell-mode quit-shell
  2834. @ref-start-item  q  |  Q  |  esc q u  |  C-Q  |  R13/Meta-q  |  f10  |  exit
  2835. Leave ModeOriShell.
  2836. @ref-end-item
  2837. ;OCL}}}
  2838. ;OCL}}}
  2839. ;OCL{{{  @shell-mode Selections
  2840. ;OCL{{{  @shell-mode action-select
  2841. @ref-start-item return  |  esc e n  |  C-Q C-W  |  R13/Meta-R4  |  f2 f3
  2842. Open the closed fold under the cursor. Can be used to show the dot files.
  2843.  
  2844. Depending on the cursor position, the following actions are started:
  2845.  
  2846. @ref-start-itemclosed fold
  2847. open fold and move down one line
  2848. @ref-end-item
  2849. @ref-start-item directory
  2850. change the directory
  2851. @ref-end-item
  2852. @ref-start-item file
  2853. switch to editing for this file
  2854. @ref-end-item
  2855.  
  2856. ;OCL{{{  @shell-mode edit command
  2857. ;OCL}}}
  2858. ;OCL{{{  general layout of the keypad
  2859. ;OCL}}}
  2860. @ref-end-item
  2861. ;OCL}}}
  2862. ;OCL{{{  @shell-mode change-directory
  2863. @ref-start-item  d  |  D  |  f9
  2864. Change the displayed directory. If no selection is made, ModeOriShell prompts
  2865. for a directory, otherwise the first of the selected files is used.
  2866. @ref-end-item
  2867. ;OCL}}}
  2868. ;OCL{{{  @shell-mode edit
  2869. @ref-start-item  e  |  E
  2870. Switch to editing for the first of the selected files. ModeOriShell prompts for
  2871. a filename, if no selections are made and uses /dev/null on empty input.
  2872.  
  2873. ;OCL{{{  @shell-mode edit command
  2874. ;OCL}}}
  2875. @ref-end-item
  2876. ;OCL}}}
  2877. ;OCL{{{  @shell-mode toggle-select
  2878. @ref-start-item s  |  S  |  space
  2879. Change the selection status of the file under the cursor and moves the cursor
  2880. one line down.
  2881. @ref-end-item
  2882. ;OCL}}}
  2883. ;OCL{{{  @shell-mode browser
  2884. @ref-start-item b  |  B
  2885. Start the information browser for the first of the selected files. If no
  2886. selections are done, use ~/.oriinfo instead. The number of entered nodes is
  2887. shown in the statusline (Sublevel:no).
  2888.  
  2889. ;OCL{{{  @shell-mode-browser Moving Around
  2890. ;OCL{{{  @shell-mode-browser previous-line
  2891. @ref-start-item esc u p  |  C-E  |  R8  |  up
  2892. Go to the previous line on the screen.
  2893.  
  2894. ;OCL{{{  general layout of the keypad
  2895. ;OCL}}}
  2896. @ref-end-item
  2897. ;OCL}}}
  2898. ;OCL{{{  @shell-mode-browser previous-page
  2899. @ref-start-item  esc p u  |  esc l e  |  C-S  |  R10  |  R13/Meta-R1  |  prev_page  |  left
  2900. Move one screen up.
  2901.  
  2902. ;OCL{{{  general layout of the keypad
  2903. ;OCL}}}
  2904. @ref-end-item
  2905. ;OCL}}}
  2906. ;OCL{{{  @shell-mode-browser next-line
  2907. @ref-start-item esc d n  |  C-X  |  R14  |  down
  2908. Go to the next line on the screen.
  2909.  
  2910. ;OCL{{{  general layout of the keypad
  2911. ;OCL}}}
  2912. @ref-end-item
  2913. ;OCL}}}
  2914. ;OCL{{{  @shell-mode-browser next-page
  2915. @ref-start-item esc p d  |  esc r i  |  space  |  C-D  |  R12  |  R13/Meta-R3  |  next_page  |  right
  2916. Move one screen down.
  2917.  
  2918. ;OCL{{{  general layout of the keypad
  2919. ;OCL}}}
  2920. @ref-end-item
  2921. ;OCL}}}
  2922. ;OCL}}}
  2923. ;OCL{{{  @shell-mode-browser Folding
  2924. ;OCL{{{  @shell-mode-browser info-enter
  2925. @ref-start-item return  |  esc o p  |  C-W  |  R4  |  f3
  2926. Enter the node on the current line.
  2927.  
  2928. ;OCL{{{  general layout of the keypad
  2929. ;OCL}}}
  2930. @ref-end-item
  2931. ;OCL}}}
  2932. ;OCL{{{  @shell-mode-browser info-exit
  2933. @ref-start-item esc o p  |  esc b s  |  esc d c  |  C-G  |  C-R  |  backspace  |  delete  |  R4  |  f3
  2934. Leave the current node.
  2935.  
  2936. ;OCL{{{  general layout of the keypad
  2937. ;OCL}}}
  2938. @ref-end-item
  2939. ;OCL}}}
  2940. ;OCL}}}
  2941. ;OCL{{{  @shell-mode-browser center-and-redraw-display
  2942. @ref-start-item esc r f  |  C-Q C-Q  |  R13/Meta-R13  |  refresh  |  left
  2943. Redraw screen.
  2944.  
  2945. ;OCL{{{  general layout of the keypad
  2946. ;OCL}}}
  2947. @ref-end-item
  2948. ;OCL}}}
  2949. ;OCL{{{  @shell-mode-browser Helps
  2950. ;OCL{{{  describe-bindings
  2951. ;OCL}}}
  2952. @if-using not( NO-HELP-BROWSER )
  2953. ;OCL{{{  @shell-mode info
  2954. ;OCL}}}
  2955. @fi
  2956. ;OCL}}}
  2957. ;OCL{{{  @shell-mode-browser quit-browser
  2958. @ref-start-item q  |  Q  |  esc q u  |  C-Q  |  R13/Meta-q  |  f10  |  exit
  2959. Leave ModeOriShell browser and return to ModeOriShell.
  2960. @ref-end-item
  2961. ;OCL}}}
  2962. @ref-end-item
  2963. ;OCL}}}
  2964. ;OCL{{{  @shell-mode file-menu
  2965. @ref-start-item f  |  F
  2966. Show a menu for file handling. Available functions are:
  2967.  
  2968. ;OCL{{{  @shell-mode Moving Around
  2969. ;OCL}}}
  2970. ;OCL{{{  @shell-mode Folding
  2971. ;OCL}}}
  2972. ;OCL{{{  @shell-mode toggle-select
  2973. ;OCL}}}
  2974. ;OCL{{{  @shell-mode-file Helps
  2975. ;OCL{{{  describe-bindings
  2976. ;OCL}}}
  2977. @if-using not( NO-HELP-BROWSER )
  2978. ;OCL{{{  @shell-mode info
  2979. ;OCL}}}
  2980. @fi
  2981. ;OCL}}}
  2982. ;OCL{{{  @shell-mode-browser center-and-redraw-display
  2983. ;OCL}}}
  2984. ;OCL{{{  @shell-mode-file copy-file
  2985. @ref-start-item c  |  C
  2986. Prompt for a destination file/directory and copies all selected files to this.
  2987. If there are no selections, ModeOriShell prompts for a source file first.
  2988. Directories cannot be copied.
  2989.  
  2990. ;OCL{{{  ~ expansion
  2991. A leading ~ will be handled:
  2992.  
  2993. @ref-start-item  ~/file
  2994. is replaced by $HOME/file
  2995. @ref-end-item
  2996. @ref-start-item
  2997. ~user/file is not changed, it depends on your shell, if this will be expanded!
  2998. @ref-end-item
  2999. ;OCL}}}
  3000. @ref-end-item
  3001. ;OCL}}}
  3002. ;OCL{{{  @shell-mode-file move-file
  3003. @ref-start-item m  |  M
  3004. Prompt for a destination file/directory and moves all selected files to this.
  3005. If there are no selections, ModeOriShell prompts for a source file first.
  3006.  
  3007. ;OCL{{{  ~ expansion
  3008. ;OCL}}}
  3009. @ref-end-item
  3010. ;OCL}}}
  3011. ;OCL{{{  @shell-mode-file remove-file
  3012. @ref-start-item r  |  R
  3013. Removes all selected files, prompting for permission for each file. If there
  3014. are no selections, ModeOriShell prompts for a filename. Directories can not be
  3015. removed.
  3016.  
  3017. ;OCL{{{  ~ expansion
  3018. ;OCL}}}
  3019. @ref-end-item
  3020. ;OCL}}}
  3021. ;OCL{{{  @shell-mode quit-file-menu
  3022. @ref-start-item q  |  Q  |  esc q u  |  C-Q  |  R13/Meta-q  |  f10  |  exit
  3023. Leave ModeOriShell file handling and return to ModeOriShell.
  3024. @ref-end-item
  3025. ;OCL}}}
  3026. @ref-end-item
  3027. ;OCL}}}
  3028. ;OCL{{{  @shell-mode make
  3029. @ref-start-item m  |  M
  3030. Call make in the currently handled directory.
  3031.  
  3032. ;OCL{{{  make command
  3033. ;OCL}}}
  3034. @ref-end-item
  3035. ;OCL}}}
  3036. ;OCL{{{  @shell-mode mail
  3037. @ref-start-item p  |  P
  3038. Call your mail command in the currently handled directory.
  3039.  
  3040. ;OCL{{{  mail command
  3041. ;OCL}}}
  3042. @ref-end-item
  3043. ;OCL}}}
  3044. ;OCL{{{  @shell-mode nn
  3045. @ref-start-item n  |  N
  3046. Call your news reader in the currently handled directory.
  3047.  
  3048. ;OCL{{{  @shell-mode nn command
  3049. ;OCL}}}
  3050. @ref-end-item
  3051. ;OCL}}}
  3052.  
  3053. ;OCL{{{  @shell-mode change-commands
  3054. @ref-start-item esc m m
  3055. Call the command menu from main menu.
  3056.  
  3057. ;OCL{{{  @main-menu-para CommandParameter
  3058. ;OCL}}}
  3059. @ref-end-item
  3060. ;OCL}}}
  3061. ;OCL}}}
  3062. ;OCL{{{  @shell-mode refresh-directory
  3063. @ref-start-item esc r f  |  C-Q C-Q  |  R13/Meta-R13  |  f7  |  f8  |  refresh  |  left
  3064. Redraw screen and read directory data again.
  3065.  
  3066. ;OCL{{{  general layout of the keypad
  3067. ;OCL}}}
  3068. @ref-end-item
  3069. ;OCL}}}
  3070. ;OCL{{{  @shell-mode toggle-expert-mode
  3071. @ref-start-item x
  3072. Switch on/off the display of the help window below the directory view. Modes
  3073. are displayed in the statusline, if the window is switched off.
  3074.  
  3075. ;OCL{{{  using -O
  3076. ;OCL}}}
  3077. @ref-end-item
  3078. ;OCL}}}
  3079. ;OCL}}}
  3080. @fi
  3081. @if-using ( GAMES )
  3082. ;OCL{{{  Funny functions
  3083. ;OCL{{{  Towers of Hanoi
  3084. ;OCL{{{  tower-display
  3085. @ref-start-item esc t o 1
  3086. Play the game at the bottom of the current buffer. Use set-argument, to get
  3087. another height than the default 5.
  3088. @ref-end-item
  3089. ;OCL}}}
  3090. ;OCL{{{  towers-of-hanoi
  3091. @ref-start-item esc t o 2
  3092. Play the game with the string of the current line. This may not contain spaces
  3093. or tabs!
  3094. @ref-end-item
  3095. ;OCL}}}
  3096. ;OCL}}}
  3097. ;OCL{{{  Sokoban
  3098. @ref-start-item esc s o
  3099. Play the game!
  3100.  
  3101. ;OCL{{{  @sokoban-ref sokoban
  3102. ;OCL}}}
  3103.  
  3104. In addition to the default vi based control, normal cursor movement is also
  3105. supported! Use describe bindings for detailed information.
  3106. @ref-end-item
  3107. ;OCL}}}
  3108. ;OCL}}}
  3109. @fi
  3110. @if-using ( SUNEDT linuxEDT )
  3111.  
  3112. ;OCL{{{  EDT Special keypad usage
  3113. @if-using ( SUNEDT )
  3114. If the environement variable ORIGAMITERM is set to SUNEDT, the sun keypad keys
  3115. R1,.. are used and named in a different way.
  3116. @fi
  3117. @if-using ( linuxEDT )
  3118. If the environement variable ORIGAMITERM is set to con80x25EDT, the keypad keys
  3119. are used and named in a different way.
  3120. @fi
  3121.  
  3122. ;OCL{{{  @EDT keypad mapping
  3123. @ref-start-tbl R-Key 5 EDT-Key 8 @@ R-Key 5 EDT-Key 8
  3124. R1 @@ DelLine @@ R9 @@ Append
  3125. R2 @@ DelWord @@ R10 @@ Advance
  3126. R3 @@ DelChar @@ R11 @@ Backup
  3127. R4 @@ Gold @@ R12 @@ Cut
  3128. R5 @@ Help @@ R13 @@ Word
  3129. R6 @@ Find @@ R14 @@ EOL
  3130. R7 @@ Page @@ R15 @@ Char
  3131. R8 @@ Section
  3132. @ref-end-tbl
  3133.  
  3134. The additional keys on the sun keyboard `Ins' and `.' (sending `esc [ 2 2 3 z')
  3135. are used as SOL and Select.
  3136.  
  3137. ;OCL{{{  cursor keypad
  3138. ;OCL}}}
  3139. ;OCL}}}
  3140. ;OCL{{{  @EDT Edit-Mode
  3141. ;OCL{{{  @EDT Moving Around
  3142. ;OCL{{{  @EDT backward/upward
  3143. ;OCL{{{  @EDT set-direction-backward
  3144. @ref-start-item Backup
  3145. Switch current move direction to backward. This is marked with <- in the
  3146. statusline.
  3147. @ref-end-item
  3148. ;OCL}}}
  3149. ;OCL{{{  @EDT page-begin
  3150. @ref-start-item Page
  3151. Move the cursor to the top of the current window.
  3152. @ref-end-item
  3153. ;OCL}}}
  3154. ;OCL{{{  @EDT beginning-of-line
  3155. @ref-start-item SOL
  3156. ;OCL{{{  beginning-of-line
  3157. ;OCL}}}
  3158. @ref-end-item
  3159. ;OCL}}}
  3160. ;OCL{{{  @EDT beginning-of-fold
  3161. @ref-start-item Gold t o p  |  Gold Backup
  3162. ;OCL{{{  beginning-of-fold
  3163. ;OCL}}}
  3164. @ref-end-item
  3165. ;OCL}}}
  3166. ;OCL}}}
  3167. ;OCL{{{  @EDT forward/downward
  3168. ;OCL{{{  @EDT set-direction-forward
  3169. @ref-start-item Advance
  3170. Switch current move direction to forward.
  3171. @ref-end-item
  3172. ;OCL}}}
  3173. ;OCL{{{  @EDT end-of-line
  3174. @ref-start-item EOL
  3175. ;OCL{{{  end-of-line
  3176. ;OCL}}}
  3177. @ref-end-item
  3178. ;OCL}}}
  3179. ;OCL{{{  @EDT end-of-fold
  3180. @ref-start-item  Gold b o t t o m  |  Gold Advance
  3181. ;OCL{{{  end-of-fold
  3182. ;OCL}}}
  3183. @ref-end-item
  3184. ;OCL}}}
  3185. ;OCL}}}
  3186. ;OCL{{{  @EDT direction
  3187. ;OCL{{{  @EDT section-move
  3188. @ref-start-item Section
  3189. Move the cursor 16 lines in current direction.
  3190. @ref-end-item
  3191. ;OCL}}}
  3192. ;OCL{{{  @EDT word-move
  3193. @ref-start-item Word
  3194. Move one word in current direction.
  3195. @ref-end-item
  3196. ;OCL}}}
  3197. ;OCL{{{  @EDT char-move
  3198. @ref-start-item Word
  3199. Move one character in current direction.
  3200. @ref-end-item
  3201. ;OCL}}}
  3202. ;OCL}}}
  3203. ;OCL{{{  @EDT searching
  3204. ;OCL{{{  @EDT find-next-direction
  3205. @ref-start-item Find
  3206. Search for the last searched pattern in current direction.
  3207. @ref-end-item
  3208. ;OCL}}}
  3209. ;OCL{{{  @EDT find-direction
  3210. @ref-start-item Gold Find
  3211. Prompt for a pattern and search in current direction.
  3212. @ref-end-item
  3213. ;OCL}}}
  3214. ;OCL}}}
  3215. ;OCL{{{  @EDT goto-line
  3216. @ref-start-item Gold Page space
  3217. ;OCL{{{  goto-line
  3218. ;OCL}}}
  3219. @ref-end-item
  3220. ;OCL}}}
  3221. ;OCL}}}
  3222. ;OCL{{{  @EDT Editing
  3223. ;OCL{{{  @EDT Deleting
  3224. ;OCL{{{  @EDT delete-line
  3225. @ref-start-item DelLine
  3226. ;OCL{{{  delete-line
  3227. ;OCL}}}
  3228. @ref-end-item
  3229. ;OCL}}}
  3230. ;OCL{{{  @EDT undelete-line
  3231. @ref-start-item GoldDelLine
  3232. Put the last deleted line back to the text. This function is not the same as
  3233. undo-delete-line, because the line stays in the delete-buffer!
  3234. @ref-end-item
  3235. ;OCL}}}
  3236. ;OCL{{{  @EDT delete-to-end-of-line
  3237. @ref-start-item Gold EOL
  3238. ;OCL{{{  delete-to-end-of-line
  3239. ;OCL}}}
  3240. @ref-end-item
  3241. ;OCL}}}
  3242. ;OCL{{{  @EDT delete-to-beginning-of-line
  3243. @ref-start-item Gold SOL
  3244. Remove all characters left from the cursor.
  3245. @ref-end-item
  3246. ;OCL}}}
  3247. ;OCL}}}
  3248. ;OCL{{{  insert-number-char
  3249. @ref-start-item Gold Char
  3250. Prompt for a number and insert the corresponding character.
  3251. @ref-end-item
  3252. ;OCL}}}
  3253. ;OCL{{{  toggle-case-char
  3254. @ref-start-item Gold Word
  3255. Toggle the case of the character under the cursor and move to the right.
  3256. @ref-end-item
  3257. ;OCL}}}
  3258. ;OCL}}}
  3259. ;OCL{{{  @EDT Folding
  3260. ;OCL{{{  @EDT enter-fold
  3261. @ref-start-item DelChar
  3262. ;OCL{{{  enter-fold
  3263. ;OCL}}}
  3264. @ref-end-item
  3265. ;OCL}}}
  3266. ;OCL{{{  @EDT open-fold
  3267. @ref-start-item DelWord
  3268. ;OCL{{{  open-fold
  3269. ;OCL}}}
  3270. @ref-end-item
  3271. ;OCL}}}
  3272. ;OCL{{{  @EDT exit-fold
  3273. @ref-start-item Gold DelChar
  3274. ;OCL{{{  exit-fold
  3275. ;OCL}}}
  3276. @ref-end-item
  3277. ;OCL}}}
  3278. ;OCL{{{  @EDT close-fold
  3279. @ref-start-item Gold DelWord
  3280. ;OCL{{{  close-fold
  3281. ;OCL}}}
  3282. @ref-end-item
  3283. ;OCL}}}
  3284. ;OCL{{{  @EDT create-fold
  3285. @ref-start-item Select
  3286. ;OCL{{{  create-fold
  3287. ;OCL}}}
  3288. @ref-end-item
  3289. ;OCL}}}
  3290. ;OCL{{{  @EDT unfold-fold
  3291. @ref-start-item Gold Select
  3292. ;OCL{{{  unfold-fold
  3293. ;OCL}}}
  3294. @ref-end-item
  3295. ;OCL}}}
  3296. ;OCL}}}
  3297. ;OCL{{{  @EDT Line Handling
  3298. ;OCL{{{  @EDT kill-line
  3299. @ref-start-item Append
  3300. ;OCL{{{  kill-line
  3301. ;OCL}}}
  3302. @ref-end-item
  3303. ;OCL}}}
  3304. ;OCL{{{  @EDT clear-kill-and-cut-line
  3305. @ref-start-item Cut
  3306. Clear the kill buffer and copy the current line to the kill-buffer.
  3307. @ref-end-item
  3308. ;OCL}}}
  3309. ;OCL{{{  @EDT paste-and-rekill-line
  3310. @ref-start-item Gold Cut
  3311. Copy the contents of the kill buffer folded to the text.
  3312. @ref-end-item
  3313. ;OCL}}}
  3314. ;OCL{{{  @EDT replace-line-by-kill
  3315. @ref-start-item Gold Append
  3316. Replace the current line by a copy of the kill buffer.
  3317. @ref-end-item
  3318. ;OCL}}}
  3319. ;OCL}}}
  3320. ;OCL{{{  @EDT save-file
  3321. @ref-start-item Gold Page s a v e
  3322. ;OCL{{{  save-file
  3323. ;OCL}}}
  3324. @ref-end-item
  3325. ;OCL}}}
  3326. ;OCL{{{  @EDT Helps
  3327. ;OCL{{{  @EDT center-and-redraw-display
  3328. @ref-start-item Gold Gold
  3329. ;OCL{{{  center-and-redraw-display
  3330. ;OCL}}}
  3331. @ref-end-item
  3332. ;OCL}}}
  3333. ;OCL{{{  @EDT describe-bindings
  3334. @ref-start-item Gold Help
  3335. ;OCL{{{  describe-bindings
  3336. ;OCL}}}
  3337. @ref-end-item
  3338. ;OCL}}}
  3339. ;OCL{{{  @EDT info
  3340. @ref-start-item Help
  3341. ;OCL{{{  info
  3342. ;OCL}}}
  3343. @ref-end-item
  3344. ;OCL}}}
  3345. ;OCL}}}
  3346. ;OCL{{{  @EDT Exits
  3347. ;OCL{{{  @EDT quit-buffer
  3348. @ref-start-item Gold Page q u i t
  3349. Ignore changes and quit the current buffer.
  3350. @ref-end-item
  3351. ;OCL}}}
  3352. ;OCL{{{  @EDT exit-buffer
  3353. @ref-start-item Gold Page e x i t
  3354. Save the current file and quit the current buffer.
  3355. @ref-end-item
  3356. ;OCL}}}
  3357. ;OCL}}}
  3358. ;OCL{{{  @EDT shell
  3359. @ref-start-item Gold x
  3360. ;OCL{{{  shell
  3361. ;OCL}}}
  3362. @ref-end-item
  3363. ;OCL}}}
  3364. ;OCL{{{  @EDT fill-paragraph
  3365. @ref-start-item Gold Section
  3366. ;OCL{{{  fill-paragraph
  3367. ;OCL}}}
  3368. @ref-end-item
  3369. ;OCL}}}
  3370. ;OCL{{{  @EDT toggle-mode-overwrite
  3371. @ref-start-item Gold Page i n s e r t
  3372. Switch on/off mode overwrite.
  3373.  
  3374. ;OCL{{{  easy modes
  3375. ;OCL}}}
  3376. @ref-end-item
  3377. ;OCL}}}
  3378. ;OCL}}}
  3379. ;OCL{{{  @EDT Move-Mode
  3380. ;OCL{{{  @EDT Moving Around
  3381. ;OCL}}}
  3382. ;OCL{{{  @EDT-M Folding
  3383. ;OCL{{{  @EDT open-fold
  3384. ;OCL}}}
  3385. ;OCL{{{  @EDT close-fold
  3386. ;OCL}}}
  3387. ;OCL{{{  @EDT fold-mark-region
  3388. @ref-start-item Select
  3389. ;OCL{{{  @move fold-mark-region
  3390. ;OCL}}}
  3391. @ref-end-item
  3392. ;OCL}}}
  3393. ;OCL}}}
  3394. ;OCL{{{  @EDT-M Editing
  3395. ;OCL{{{  @EDT delete-mark-region
  3396. @ref-start-item DelLine
  3397. ;OCL{{{  @move delete-mark-region
  3398. ;OCL}}}
  3399. @ref-end-item
  3400. ;OCL}}}
  3401. ;OCL{{{  @EDT undo-delete-line-unfolded-at-position
  3402. @ref-start-item Gold DelLine
  3403. Copy kill buffer to current position.
  3404. @ref-end-item
  3405. ;OCL}}}
  3406. ;OCL{{{  @EDT-M toggle-case-region
  3407. @ref-start-item Gold Word
  3408. ;OCL{{{  @move toggle-case-mark-region
  3409. ;OCL}}}
  3410. @ref-end-item
  3411. ;OCL}}}
  3412. ;OCL}}}
  3413. ;OCL{{{  @EDT-M Line Handling
  3414. ;OCL{{{  @EDT-M kill-mark-region
  3415. @ref-start-item Append
  3416. ;OCL{{{  @move kill-mark-region
  3417. ;OCL}}}
  3418. @ref-end-item
  3419. ;OCL}}}
  3420. ;OCL{{{  @EDT-M replace-region-by-kill
  3421. @ref-start-item Gold Append
  3422. Replace the selected by region by a copy of the kill buffer.
  3423. @ref-end-item
  3424. ;OCL}}}
  3425. ;OCL{{{  @EDT-M clear-kill-and-cut-region
  3426. @ref-start-item Cut
  3427. Clear the kill buffer and copy the selected region to it.
  3428. @ref-end-item
  3429. ;OCL}}}
  3430. ;OCL{{{  @EDT paste-and-rekill-region
  3431. @ref-start-item Gold Cut
  3432. Insert a copy of the kill buffer at current cursor position.
  3433. @ref-end-item
  3434. ;OCL}}}
  3435. ;OCL}}}
  3436. ;OCL{{{  @EDT describe-bindings
  3437. ;OCL}}}
  3438. ;OCL}}}
  3439. ;OCL}}}
  3440. @fi
  3441. ;OCL}}}
  3442. ;OCL{{{  C-Operators
  3443. @ref-start-tbl Operator 34 Precedence 13
  3444. () [] -> .                           @@  left to right
  3445. ! ~ ++ -- + - * & (type) sizeof      @@  right to left
  3446. * / %                                @@  left to right
  3447. + -                                  @@  left to right
  3448. << >>                                @@  left to right
  3449. < <= > >=                            @@  left to right
  3450. == !=                                @@  left to right
  3451. &                                    @@  left to right
  3452. ^                                    @@  left to right
  3453. |                                    @@  left to right
  3454. &&                                   @@  left to right
  3455. ||                                   @@  left to right
  3456. ?:                                   @@  right to left
  3457. = += -= *= /= %= &= ^= |= <<= >>=    @@  right to left
  3458. ,                                    @@  left to right
  3459. @ref-end-tbl
  3460. Unary +, -, and * have higher precedence than the binary forms.
  3461.  
  3462. ;OCL{{{  ModeOri-Reference-Card
  3463. ;OCL}}}
  3464. ;OCL}}}
  3465. @end-reference-copy
  3466. ;OCL}}}
  3467. @fi
  3468.