Updated README.
This commit is contained in:
@@ -13,21 +13,32 @@ mode and supports:
|
||||
- `w` move forward by word
|
||||
- `b` move backward by word
|
||||
- `e` move to the end of the current or next word
|
||||
- `ge` move backward to the end of the previous word
|
||||
- `G` go to the last line, or a counted line such as `10G`
|
||||
- `gg` go to the first line, or a counted line such as `10gg`
|
||||
- `^` move to the first non-blank character on the line
|
||||
- `x` delete the character under the cursor
|
||||
- `dd` delete the current line
|
||||
- `d$` or `D` delete from the cursor to the end of the line
|
||||
- `dw` delete forward by word
|
||||
- `db` delete backward by word
|
||||
- `yw` yank forward by word
|
||||
- `yb` yank backward by word
|
||||
- `y$` yank from the cursor to the end of the line
|
||||
- `cw` change word
|
||||
- `cc` change the current line
|
||||
- `C` change from the cursor to the end of the line
|
||||
- `s` substitute the character under the cursor
|
||||
- `r` replace the character under the cursor
|
||||
- `yy` yank the current line
|
||||
- `p` paste the yanked or deleted line below the cursor
|
||||
- `p` paste line-wise yanks/deletes below the cursor, or character-wise
|
||||
yanks/deletes after the cursor
|
||||
- `J` join the current line with the next line
|
||||
- `o` open a new line below and enter insert mode
|
||||
- `O` open a new line above and enter insert mode
|
||||
- `u` undo the last change
|
||||
- `.` repeat the last change
|
||||
- `/pattern`, `?pattern`, `n`, and `N` for literal text search
|
||||
- numeric prefixes for common commands, such as `2dd`, `20yy`, `3p`, `5j`,
|
||||
`4x`, `5w`, `5dw`, `3rX`, and `2s`
|
||||
- `Esc` return to command mode
|
||||
|
||||
Reference in New Issue
Block a user