Changes between Version 1 and Version 2 of KeyBindings
- Timestamp:
- 09/22/08 18:46:29 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
KeyBindings
v1 v2 29 29 || || `^D` is treated as an EOF if the input line is empty and the last character pressed was not also `^D`.|| 30 30 ||`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|| 34 34 ||`M-D`|| delete forwards one word|| 35 35 ||`^K`|| delete until the end of the line|| 36 36 37 == Vi-specific bindings == 38 The `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 39 for {{{[printable char]}}} and Tab, allowing instead the following commands: 37 40 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|| 38 55 56 The 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||
