You can also use cabbrev
Here's an example:
function! Foo()
echo 'this is all it does'
endfunction
You need call Foo()
but we can use cabbrev magic, cabbrev Foo call Foo()
and
cabbrev foo call Foo()
How is this answer better? Well, it's better because of casing. I hate cases and you might! Foo and foo are both valid.