ly0 opened this issue 9 years ago · 1 comments
I can't find how to define a vim command in docs. codes should like following
@vim_command("reverse") def reverse(): replace_word(get_word()[::-1])
and reverse() invokes when I run :reverse.
reverse()
:reverse
Looks like #28 is a step towards doing this.