Example, given (Python) source code like: if x > 3 * y + 4 * z: You could position the cursor on the 3, then delete the RHS formula, and insert a name for it. You can do the "delete and insert" separately or in one go, e.g. go to the 3 and press "c/:formula". Or separately as "d/:", followed by "iformula". In either case you should now see: if x > formula: Then pressing \v gives formula = 3 * y + 4 * z if x > formula: What it does:
| Attributes | Values |
|---|---|
| rdfs:label |
|
| rdfs:comment |
|
| Version |
|
| dbkwik:vim/property/wikiPageUsesTemplate | |
| Previous |
|
| Category |
|
| Author |
|
| Complexity |
|
| Created |
|
| ID |
|
| NEXT |
|
| Rating |
|
| abstract |
|