Changes between Version 1 and Version 2 of KeyBindings

Show
Ignore:
Timestamp:
09/22/08 18:46:29 (6 years ago)
Author:
judah (IP: 76.170.234.70)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • KeyBindings

    v1 v2  
    2929|| || `^D` is treated as an EOF if the input line is empty and the last character pressed was not also `^D`.|| 
    3030||`M-F`|| move forwards one word|| 
    31 ||`M-b`|| move backward one word|| 
    32 ||`M-w`|| delete backwards one "big word"|| 
    33 ||`M-backspace`|| delete backwards one word|| 
     31||`M-B`|| move backward one word|| 
     32||`M-W`|| delete backwards one "big word"|| 
     33||`M-Backspace`|| delete backwards one word|| 
    3434||`M-D`|| delete forwards one word|| 
    3535||`^K`|| delete until  the end of the line|| 
    3636 
     37== Vi-specific bindings == 
     38The `Vi` bindings start in "insert mode" allowing all of the shared commands listed above.  Pressing `ESCAPE` enters the "command mode" which provides all of the shared commands except 
     39for {{{[printable char]}}} and Tab, allowing instead the following commands: 
    3740 
     41||i|| enter insert mode|| 
     42||I||  enter insert mode at the start of the line|| 
     43||a|| enter insert mode after the current character|| 
     44||A|| enter insert mode at end of the line|| 
     45||s|| delete the char under the cursor and enter insert mode|| 
     46||S|| clear the line and enter insert mode|| 
     47||r|| replace one character|| 
     48||R|| replace many characters|| 
     49||[n][movement]|| do a movement, repeated n times|| 
     50||[n]d[movement]|| delete the characters the movement would move past|| 
     51||[n]c[movement]|| delete the characters the movement would move past, and enter insert mode|| 
     52||[n]x|| delete the character under the cursor (repeated n times)|| 
     53||dd|| delete the whole line|| 
     54||cc|| delete the whole line and enter insertmode|| 
    3855 
     56The movement commands are: 
     57||h||left one character|| 
     58||l||right one character|| 
     59||{{{[space]}}}||right one character|| 
     60||w||right one word|| 
     61||b||left one word|| 
     62||W||right one bigword|| 
     63||B||left one bigword|| 
     64||0||move to the start of the line|| 
     65||$||move to the end of the line||