From: James Britt Date: 2006-05-28T09:04:50+09:00 Subject: Re: Automatic code generation in vim. Logan Capaldo wrote: > Incidentally, I tried this put and changed it to > function! s:ifFILE() > return "if __FILE__ == $0 \o \oend\ki" > endfunction > > which sticks the cursor where you would expect it to be. Oh, nice. Thanks for the pointer. James