LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   gvimrc for gvim (https://www.linuxquestions.org/questions/suse-opensuse-60/gvimrc-for-gvim-317318/)

powah 04-26-2005 10:09 AM

gvimrc for gvim
 
I am looking for the gvimrc configuration file for gvim.
Would anyone posting theirs to here please?

wapcaplet 04-26-2005 09:21 PM

There's usually nothing of vital importance in gvimrc; it's mainly used for configuring user preferences and whatnot. Here's mine, if you're interested:

Code:

" 100 columns, 60 lines
:set co=100
:set lines=60
" Use visual bell instead of beeping
:set visualbell
" Use CSS for HTML conversion
:let html_use_css = 1
" Luxi Mono 8 point font
:set gfn=Luxi\ Mono\ 8

Save it as ~/.gvimrc (don't forget the period) if you want it to affect only the current user. Keep in mind that gvimrc only applies when you run gvim; if you want to configure stuff for vim in general, use .vimrc instead.

You can type

:help gvimrc

within gvim to get more info about how it's used.


All times are GMT -5. The time now is 02:31 AM.