-   Linux - General (
-   -   Configuration for VIM editor (

ICO 08-01-2003 04:49 AM

Configuration for VIM editor
Anyone can provide their nice configuration for vim editor? I an new to it. I often write java codes. Today I use vim to edit my java codes, I found that the tab width is 8 but 4. And the font of the vim is not good either. Anyone provide their configuration file would be appreciated. Or provide some tutorial will be better since I want to learn it as well.

Thanks in advance.

phoeniXflame 08-01-2003 06:05 AM

:) hope that helps

mayur 08-01-2003 09:12 AM

Vi conf

vi use .exrc file for configuration.
do this in ur home dir
$ vi .exrc
set tabstop=4

then save ur data
and open any file with vi editor,
now ur tab is set to 4
i dont think u can change font


Strike 08-01-2003 09:51 AM

Take a look at the tutorial I wrote a long way back -


ICO 08-02-2003 04:58 PM

How can I configure the .vimrc file, so that when I edit my code, and I type ), }, ] these symbols, it will trace back (, {, [, so that I know it matches.

Strike 08-02-2003 08:34 PM

in vim:

:help matchpairs


:help showmatch

All times are GMT -5. The time now is 07:06 PM.