VIM deleting/modifying HTML attributes -
I'm new to editing html with VIM.
An area that is not easily appearing to me, is editing the attributes.
I want to go from there (cursor is.)
& lt; Input type = "submit" | Name = "some_name" value = "id =" something_name "& gt; to:
& lt; Input type = "submit" id = "submit_button" & gt; What is the fastest way to do this? Right now, I'm searching a lot of 'F' based.
potential solution
wd2w This method may need to be counted so that you can do it wdw and just hit it . is correct. wd / id & lt; Cr & gt; move on to the next word so that name = ".." starts with d til / id . This solution can also erase in rows, you can also use / ... with other operators, e.g. c , y , and = . Of course, the method you are using can do that which is currently repeating with F and .
Comments
Post a Comment