[svlug] Vim color syntax

Marc MERLIN marc_merlin at magic.metawire.com
Fri Nov 6 16:21:24 PST 1998


On 6 Nov 1998 15:40:05 -0800, Scott <daoem at geocities.com> wrote:
>Well i tried vim and I really like it.  It has color syntaxing,
>tab->enter relationship i talked about earlier (dont know of a better
>way to describe it), smooth scrolling. The only thing is when i open vim
>w/ no parameters it wont color my key C functions and stuff.  but if i

It has no way to know that you're editing C.
You should do: vim file.c instead of vim and then :w file.c
You can also tell vim what format the current buffer is in. With gvim, it's
obvious, it's a menu option. With vim, you do:
ESC:so $VIM/syntax/c.vim

>anything i type after that.  Also is there a way to zoom to certain line
>in the document?

Zoom? Do you mean 43G to go to line 43?

Marc
-- 
"Microsoft is to software what McDonalds is to gourmet cooking"
 
Home page: http://marc.merlins.org/ (friendly to non IE browsers)
Finger marc at merlins.org for PGP key and other contact information

--
echo "unsubscribe svlug" | mail majordomo at svlug.org
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ to unsubscribe



More information about the svlug mailing list