On 30/01/09 17:24, Ian Duncan wrote: > Well I've tried just using :source to load some scripts, but I'm still > confused. > The command GhciFile is definitely in the shim.vim script that I load > by doing :source ~/.vim/plugins/shim.vim, but even after that I get > "Not an editor command: GhciFile".
Apparently you try to use it before defining it, as follows: wrong: GhciFile command -noargs=0 -bar -bang GhciFile echo "GhciFile called" right: command -noargs=0 -bar -bang GhciFile echo "GhciFile called" GhciFile > > I feel like I must be missing something obvious, and I'd like to try > using vim for something non-trivial, but getting scripts to work is a > must if I am going to stick with it. > Best regards, Tony. -- The right half of the brain controls the left half of the body. This means that only left handed people are in their right mind. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---