sourcecode

Showing posts with label vi. Show all posts
Showing posts with label vi. Show all posts

Thursday, July 5, 2012

vi configuration file

http://docstore.mik.ua/orelly/linux/lnut/ch11_14.htm

The vi configuration file is under ~/.exrc
I have two basic settings for all my vi sessions:
1. show line numbers
2. keep auto indent to two white spaces
$cat ~/.exrc
set ai sw=2
set nu
/*************END************/