79751549

Date: 2025-08-31 03:16:53
Score: 1
Natty:
Report link

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.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Jyle