Swap the current character (the character under the cursor) with the next: xp Swap the current character with the previous: Xp Swap the current line with the next (but see below for a better method): ddp Swap the current line with the previous: ddkP or ddkkp Swap the current word with the next (see note): dawwP dawelp hdeep (works at start of first word, useful if your separators aren't spaces) "xdiwdwep"xp (works with most punctuations too) Swap the current word with the previous (see note): dawbP
| Attributes | Values |
|---|---|
| rdfs:label |
|
| rdfs:comment |
|
| Version |
|
| dbkwik:vim/property/wikiPageUsesTemplate | |
| Previous |
|
| Category |
|
| Text |
|
| Complexity |
|
| Created |
|
| ID |
|
| NEXT |
|
| Rating |
|
| abstract |
|