mirror of
https://github.com/iggredible/Learn-Vim
synced 2024-11-23 19:13:03 +00:00
Merge pull request #4 from forkmantis/ch4-fix-dw
Chapter 4 Example Fixes
This commit is contained in:
commit
4d449a8725
1 changed files with 2 additions and 2 deletions
|
@ -65,8 +65,8 @@ Now that you know basic nouns and verbs, let's apply our grammar rule! Suppose y
|
|||
const learn = "vim";
|
||||
```
|
||||
- To yank everything from your current location to the end of the line: `y$`.
|
||||
- To delete one word from current location: `dw`.
|
||||
- To change the next paragraph, say `c}`.
|
||||
- To delete from your current location to the beginning of the next word: `dw`.
|
||||
- To change from your current location to the end of the current paragraph, say `c}`.
|
||||
|
||||
Motions also accept count number as arguments *(I will discuss this further in the next chapter)*. If you need to go up 3 lines, instead of pressing `k` 3 times, you can do `3k`. Count works with Vim grammar.
|
||||
|
||||
|
|
Loading…
Reference in a new issue