To configure your configuration file open gvim (graphical vim) and type
(NOTE : Don't Type ESC OK!!)
ESC :e $MYVIMRC
it will edit your vimrc file (configuration file)
Paste the code below
-------------------------------
if has('gui_running')
set guifont=Lucida_Console:h16
set noerrorbells
if has('autocmd')
autocmd GUIEnter * set vb t_vb=
endif
set backspace=indent,eol,start
fixdel
syntax enable
set number
set autoindent
set tabstop=4
endif
-----------------------------------
ESC :wq
and Volla!! Restart your Vim and you will see the changes.
The above code will fix :-
- Font Size
- No More Annoying Beeps (trust me you dont want to hear after some time)
- Shows Line Number next to each line very helpful.
- Fixes Your backspace key to work, (originally it doesnt work :o )
- A little bit of indentation to the line so the lines are more readable.
It took me a few hours to do this, hope you guys save your time. I'll keep updating the code here whenever I find more cooler configuration settings, so keep checking..
Cheers!! :)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.