erlang-motions.vim : Motions and text objects for erlang
script karma |
Rating 0/0,
Downloaded by 623 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Evgeni Kolev |
|
script type |
ftplugin |
|
description |
Motions
]] 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:
http://erlang.org/doc/reference_manual/functions.html
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:
https://github.com/edkolev/erlang-motions.vim |
|
install details |
Extract in ~/.vim (~\vimfiles on Windows)
Or even better, grab it from https://github.com/edkolev/erlang-motions.vim |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.97.14.85
|