LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Configuration for VIM editor (https://www.linuxquestions.org/questions/linux-general-1/configuration-for-vim-editor-77966/)

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

http://www.linuxquestions.org/questi...threadid=76413

:) hope that helps

mayur 08-01-2003 09:12 AM

Vi conf
 
Hi,

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

bye

Strike 08-01-2003 09:51 AM

Take a look at the tutorial I wrote a long way back - http://www.justlinux.com/nhf/Tools/Customizing_vim.html

:)

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.
Thanks

Strike 08-02-2003 08:34 PM

in vim:

:help matchpairs

and

:help showmatch


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