a few desired motion commands

Jim Green student.northwestern at gmail.com
Thu Dec 22 18:03:24 CET 2011


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}



More information about the implementations-list mailing list