VIM question
Joel Hammer
Joel
Mon May 17 11:54:01 PDT 2004
Dud....
Dumb mistakes.
First, the command should have been:
:iabb SF font(Times-Roman8}
This still gives the error I mentioned below. I guess the reason is that
these abbreviations are just straight key strokes. Thus, is the esc
key and this knocks the editor out of the insert mode. Dud...
So, using 2 instead of 0 (type crtl-V 2) as the esc key here seems to work.
This seems to be a solution:
:iabb SF font(Times-Roman8}
and then run enscript with:
enscript -e2 -ojunk.ps input.txt
I suppose this will cause some complications down the road.
Joel
On Tue, Sep 23, 2003 at 09:46:22PM -0400, Joel Hammer wrote:
> Being offline has its benefits. I finally learned how to navigate the
> help pages of vim and have learned a lot.
>
> Once having learned vim, I'll never go back, but....
>
> I'd like to get an abbreviation to change fonts easily. However,
> the command:
> :iabb SF
> fails with this error:
> {font Times-Roman8} not an editor command.
> Any suggestions appreciated.
>
> Joel
>
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
More information about the Linux-users
mailing list