Open ly0 opened 8 years ago
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.
I can't find how to define a vim command in docs. codes should like following
and
reverse()
invokes when I run:reverse
.