a few desired motion commands
Hi, Frank and list: would the following movement commands be incorporated to evil someday, they are quite useful in navigating in source codes. pls let me know if it is useful to put in to feature request tracker as well. Thanks and happy holidays! Jim. [( [( go to [count] previous unmatched '('. exclusive motion. {not in Vi} [{ [{ go to [count] previous unmatched '{'. exclusive motion. {not in Vi} ]) ]) go to [count] next unmatched ')'. exclusive motion. {not in Vi} ]} ]} go to [count] next unmatched '}'. exclusive motion. {not in Vi} ]m ]m Go to [count] next start of a method (for Java or similar structured language). When not before the start of a method, jump to the start or end of the class. When no '{' is found after the cursor, this is an error. exclusive motion. {not in Vi} ]M ]M Go to [count] next end of a method (for Java or similar structured language). When not before the end of a method, jump to the start or end of the class. When no '}' is found after the cursor, this is an error. exclusive motion. {not in Vi} [m [m Go to [count] previous start of a method (for Java or similar structured language). When not after the start of a method, jump to the start or end of the class. When no '{' is found before the cursor this is an error. exclusive motion. {not in Vi} [M [M Go to [count] previous end of a method (for Java or similar structured language). When not after the end of a method, jump to the start or end of the class. When no '}' is found before the cursor this is an error. exclusive motion. {not in Vi}
On Thu, Dec 22, 2011 at 12:03:24PM -0500, Jim Green wrote:
Hi, Frank and list:
would the following movement commands be incorporated to evil someday, they are quite useful in navigating in source codes. pls let me know if it is useful to put in to feature request tracker as well. Thanks and happy holidays!
It's always a good idea to use the issue tracker ;) Some of those motions should be relatively easy (the first 4) the others may be more difficult because they depend on the active major mode, but should be possible as well. Frank PS: it's even better to send patches, for the first 4 motions this should not be too diffcult. ;)
On 24 December 2011 10:52, Frank Fischer <[email protected]> wrote:
On Thu, Dec 22, 2011 at 12:03:24PM -0500, Jim Green wrote:
Hi, Frank and list:
would the following movement commands be incorporated to evil someday, they are quite useful in navigating in source codes. pls let me know if it is useful to put in to feature request tracker as well. Thanks and happy holidays!
It's always a good idea to use the issue tracker ;)
Some of those motions should be relatively easy (the first 4) the others may be more difficult because they depend on the active major mode, but should be possible as well.
Frank
PS: it's even better to send patches, for the first 4 motions this should not be too diffcult. ;)
Thanks, put in the issue tracker as enhancement requests. Jim
participants (2)
-
Frank Fischer -
Jim Green