sponsor Vim development Vim logo Vim Book Ad

erlang-motions.vim : Motions and text objects for erlang

 script karma  Rating 0/0, Downloaded by 175    Comments, bugs, improvements  Vim wiki

created by
Evgeni Kolev
script type

    ]] go to next function declaration
    [[ previous function declaration

    ]m next function clause
    [m previous function clause

    And more: ]M, [M, ][, [] go to end of next/previous clause/declaration.

    Each motion can be prefixed with a count.

Text objects

    im, am inside/around function clause

    iM, aM inside/around function declaration

To remind yourself what's an erlang function clause/declaration:

All these additions are consistent with vim's default behaviour (but vim's default behaviour doesn't work on erlang).

For a screenshot and better docs, and latest version check out GitHub:
install details
Extract in ~/.vim (~\vimfiles on Windows)
Or even better, grab it from https://github.com/edkolev/erlang-motions.vim

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
erlang-motions.zip 1.0 2014-07-01 7.0 Evgeni Kolev Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo