text object left and right : text oject for left and right of a statement
script karma |
Rating 1/1,
Downloaded by 921 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Vinh Tran |
|
script type |
utility |
|
description |
This simple script create text object for left and right of a statement. e.g
stri|ng = "Hello World"
| is where your cursor is, in command mode
type ciL (change inner and L for the right hand sided)
the line will become
string = |
similarily
ciH, diH, yiH etc will change, delete, yank the left hand side of the statement
this also works for ==, => as well
Note if the line end with ',' or ';' it will be the boundary of the right hand side
If there is a space before the separator (=, ==, =>) or after, they are so the the boundary
|
|
install details |
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.221.21.111
|