mirror of https://github.com/chzyer/readline.git
Support backward/forward by word with ctrl+<-/->
This commit is contained in:
parent
2972be24d4
commit
2ce07eb6d6
|
@ -7,16 +7,16 @@ Notice: `Meta`+`B` is equals with `Alt`+`B` in windows.
|
|||
* Shortcut in normal mode
|
||||
|
||||
| Shortcut | Comment |
|
||||
| ------------------ | --------------------------------- |
|
||||
| ------------------------- | --------------------------------- |
|
||||
| `Ctrl`+`A` | Beginning of line |
|
||||
| `Ctrl`+`B` / `←` | Backward one character |
|
||||
| `Meta`+`B` | Backward one word |
|
||||
| `Meta`+`B` / `Ctrl`+`←` | Backward one word |
|
||||
| `Ctrl`+`C` | Send io.EOF |
|
||||
| `Ctrl`+`D` | Delete one character |
|
||||
| `Meta`+`D` | Delete one word |
|
||||
| `Ctrl`+`E` | End of line |
|
||||
| `Ctrl`+`F` / `→` | Forward one character |
|
||||
| `Meta`+`F` | Forward one word |
|
||||
| `Meta`+`F` / `Ctrl`+`→` | Forward one word |
|
||||
| `Ctrl`+`G` | Cancel |
|
||||
| `Ctrl`+`H` | Delete previous character |
|
||||
| `Ctrl`+`I` / `Tab` | Command line completion |
|
||||
|
|
Loading…
Reference in New Issue