home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 3 / CD ACTUAL 3.iso / linux / incoming / jstools-.6v3 / jstools- / jstools-tk3.6v3.0 / lib / jdoc / jstools / bindvi.jdoc < prev    next >
Encoding:
Text File  |  1995-03-14  |  6.3 KB  |  166 lines

  1. {vi Bindings
  2. Note: I haven't yet written a real version of this document.  In lieu of that, what follows is a listing of the vi keyboard editing bindings, converted mechanically from the tables in the code.
  3.  
  4. Text Windows
  5. Command Mode
  6.       Control-slash - select_all
  7.       Control-backslash - clear_selection
  8.     
  9.       Delete - vi:left
  10.       BackSpace - vi:left
  11.       space - vi:right
  12.       minus - vi:minus
  13.       plus - vi:plus
  14.       Return - vi:plus
  15.     
  16.       Up - vi:up
  17.       Down - vi:down
  18.       Left - vi:left
  19.       Right - vi:right
  20.     
  21.       Control-p - vi:up
  22.       Control-n - vi:down
  23.     
  24.       k - vi:up
  25.       j - vi:down
  26.       h - vi:left
  27.       l - vi:right
  28.  
  29.       Control-k - vi:up
  30.       Control-j - vi:down
  31.       Control-h - vi:left
  32.       Control-l - vi:right
  33.     
  34.       Control-b - scroll_up
  35.       Control-f - scroll_down
  36.     
  37.       x - delete_right
  38.       X - delete_left
  39.       b - word_left
  40.       B - word_left
  41.       e - vi:word_end
  42.       w - word_right
  43.       W - word_right
  44.       G - eof
  45.     
  46.       i - vi:insert
  47.       I - vi:Insert
  48.       a - vi:append
  49.       A - vi:Append
  50.       o - vi:open
  51.       O - vi:Open
  52.     
  53.       d - new_mode vi-delete
  54.       c - new_mode vi-change
  55.     
  56.       D - vi:d-eol
  57.       C - vi:c-eol
  58.  
  59.       Home - bol
  60.       End - eol
  61.     
  62.       asciicircum - vi:bol
  63.       dollar - vi:eol
  64.     
  65.       Next - scroll_down
  66.       Prior - scroll_up
  67.     
  68.       d - vi:dd
  69.       w - vi:dw
  70.       W - vi:dw
  71.       dollar - vi:d-eol
  72.     
  73.       c - vi:cd
  74.       w - vi:cw
  75.       W - vi:cw
  76.       dollar - vi:c-eol
  77.     
  78.       Escape - vi:clear_count
  79.       Control-bracketleft - vi:clear_count
  80.     
  81.       0-9 - continue_number
  82.  
  83. Insert Mode
  84.       Delete - delete_left
  85.       BackSpace - delete_left
  86.       Return - insert_newline
  87.     
  88.       Control-i - self_insert
  89.       Control-j - self_insert
  90.       Control-h - delete_left
  91.     
  92.       Control-w - delete_left_word
  93.       Control-u - vi:delete_left_line
  94.     
  95.       Escape - vi:command
  96.       Control-bracketleft - vi:command
  97.     
  98.       Control-v - new_mode vi-literal
  99.  
  100. Text Entry Fields
  101. Text entry fields, unlike multi¡line text windows, start off in insert mode; you can press Escape to get to command mode.
  102.  
  103. Insert Mode
  104.       Control-slash - select_all
  105.       Control-backslash - clear_selection
  106.     
  107.       Delete - delete_left
  108.       BackSpace - delete_left
  109.     
  110.       Control-i - self_insert
  111.       Control-j - self_insert
  112.       Control-h - delete_left
  113.     
  114.       Control-w - delete_word_left
  115.       Control-u - vi:delete_left_line
  116.     
  117.       Escape - vi:command
  118.       Control-bracketleft - vi:command
  119.     
  120.       Control-v - new_mode vi-literal
  121.  
  122. Command Mode
  123.       Control-slash - select_all
  124.       Control-backslash - clear_selection
  125.     
  126.       Delete - left
  127.       BackSpace - left
  128.       space - right
  129.     
  130.       Left - left
  131.       Right - right
  132.     
  133.       h - left
  134.       l - right
  135.  
  136.       Control-h - left
  137.       Control-l - right
  138.  
  139.       x - delete_right
  140.       X - delete_left
  141.       b - word_left
  142.       B - word_left
  143.       w - word_right
  144.       W - word_right
  145.     
  146.       i - vi:insert
  147.       a - vi:append
  148.       I - vi:insert-bol
  149.       A - vi:append-eol
  150.     
  151.       asciicircum - bol
  152.       dollar - vi:eol
  153.       Home - bol
  154.       End - vi:eol
  155.  
  156. Bugs
  157. * The circumflex doesn't work properly in entry widgets.
  158.  
  159. * The vi bindings don't distinguish between vi's two notions of a word (contiguous alphanumerics vs. contiguous non¡blank characters).
  160.  
  161. See Also
  162.     Mouse Bindings
  163.     Emacs Bindings
  164.     Basic Bindings
  165.     Compose¡Key Combinations
  166. } {{{jdoc:xref:link {162.1 162.15 163.1 163.15 164.1 164.15 165.1 165.25}} {richtext:font:roman {2.5 2.112 2.114 4.0 6.0 6.3 6.16 7.3 7.20 9.3 9.9 10.3 10.12 11.3 11.8 12.3 12.8 13.3 13.7 14.3 14.9 16.3 16.5 17.3 17.7 18.3 18.7 19.3 19.8 21.3 21.12 22.3 22.12 24.3 24.4 25.3 25.4 26.3 26.4 27.3 27.4 29.3 29.12 30.3 30.12 31.3 31.12 32.3 32.12 34.3 34.12 35.3 35.12 37.3 37.4 38.3 38.4 39.3 39.4 40.3 40.4 41.3 41.4 42.3 42.4 43.3 43.4 44.3 44.4 46.3 46.4 47.3 47.4 48.3 48.4 49.3 49.4 50.3 50.4 51.3 51.4 53.3 53.4 54.3 54.4 56.3 56.4 57.3 57.4 59.3 59.7 60.3 60.6 62.3 62.14 63.3 63.9 65.3 65.7 66.3 66.8 68.3 68.4 69.3 69.4 70.3 70.4 71.3 71.9 73.3 73.4 74.3 74.4 75.3 75.4 76.3 76.9 78.3 78.9 79.3 79.22 81.3 81.4 81.5 81.6 83.0 84.0 84.3 84.9 85.3 85.12 86.3 86.9 88.3 88.12 89.3 89.12 90.3 90.12 92.3 92.12 93.3 93.12 95.3 95.9 96.3 96.22 98.3 98.12 100.0 101.0 101.91 101.97 103.0 104.0 104.3 104.16 105.3 105.20 107.3 107.9 108.3 108.12 110.3 110.12 111.3 111.12 112.3 112.12 114.3 114.12 115.3 115.12 117.3 117.9 118.3 118.22 120.3 120.12 122.0 123.0 123.3 123.16 124.3 124.20 126.3 126.9 127.3 127.12 128.3 128.8 130.3 130.7 131.3 131.8 133.3 133.4 134.3 134.4 136.3 136.12 137.3 137.12 139.3 139.4 140.3 140.4 141.3 141.4 142.3 142.4 143.3 143.4 144.3 144.4 146.3 146.4 147.3 147.4 148.3 148.4 149.3 149.4 151.3 151.14 152.3 152.9 153.3 153.7 154.3 154.6 156.0 157.0 159.6 159.8 159.44 159.46 161.0 162.0 162.1 162.15 163.1 163.15 164.1 164.15 165.1 165.25 166.0}} {richtext:font:bold {2.0 2.5 6.3 6.16 7.3 7.20 9.3 9.9 10.3 10.12 11.3 11.8 12.3 12.8 13.3 13.7 14.3 14.9 16.3 16.5 17.3 17.7 18.3 18.7 19.3 19.8 21.3 21.12 22.3 22.12 24.3 24.4 25.3 25.4 26.3 26.4 27.3 27.4 29.3 29.12 30.3 30.12 31.3 31.12 32.3 32.12 34.3 34.12 35.3 35.12 37.3 37.4 38.3 38.4 39.3 39.4 40.3 40.4 41.3 41.4 42.3 42.4 43.3 43.4 44.3 44.4 46.3 46.4 47.3 47.4 48.3 48.4 49.3 49.4 50.3 50.4 51.3 51.4 53.3 53.4 54.3 54.4 56.3 56.4 57.3 57.4 59.3 59.7 60.3 60.6 62.3 62.14 63.3 63.9 65.3 65.7 66.3 66.8 68.3 68.4 69.3 69.4 70.3 70.4 71.3 71.9 73.3 73.4 74.3 74.4 75.3 75.4 76.3 76.9 78.3 78.9 79.3 79.22 81.3 81.4 81.5 81.6 84.3 84.9 85.3 85.12 86.3 86.9 88.3 88.12 89.3 89.12 90.3 90.12 92.3 92.12 93.3 93.12 95.3 95.9 96.3 96.22 98.3 98.12 101.91 101.97 104.3 104.16 105.3 105.20 107.3 107.9 108.3 108.12 110.3 110.12 111.3 111.12 112.3 112.12 114.3 114.12 115.3 115.12 117.3 117.9 118.3 118.22 120.3 120.12 123.3 123.16 124.3 124.20 126.3 126.9 127.3 127.12 128.3 128.8 130.3 130.7 131.3 131.8 133.3 133.4 134.3 134.4 136.3 136.12 137.3 137.12 139.3 139.4 140.3 140.4 141.3 141.4 142.3 142.4 143.3 143.4 144.3 144.4 146.3 146.4 147.3 147.4 148.3 148.4 149.3 149.4 151.3 151.14 152.3 152.9 153.3 153.7 154.3 154.6}} {richtext:font:bolditalic {162.1 162.15 163.1 163.15 164.1 164.15 165.1 165.25}} {richtext:font:typewriter {2.112 2.114 159.6 159.8 159.44 159.46}} {richtext:font:heading0 {1.0 2.0}} {richtext:font:heading1 {4.0 5.0 100.0 101.0 156.0 157.0 161.0 162.0}} {richtext:font:heading2 {5.0 6.0 83.0 84.0 103.0 104.0 122.0 123.0}} {jdoc:link:jstools/bindemacs.jdoc {163.1 163.15}} {jdoc:link:jstools/bindbasic.jdoc {164.1 164.15}} {jdoc:link:jstools/bindmouse.jdoc {162.1 162.15}} {jdoc:link:jstools/bindcompose.jdoc {165.1 165.25}}} {{abbrevstart 166.0} {abbrevend 166.0} {insert 1.0} {anchor 159.47} {current 1.0}}}