Tuesday, September 4, 2012

Terminal customization of syntax using .exrc files

create .exrc named file only in home directory and add the following codes to it and save

set autoindent
set edcompatible
set errorbells    
"set modeline         # reduces the confusion factor immeasurably
"set nomore           # i don't want to see all the verbose error messages
set number
set remap
set report=1
set ruler
set scroll=15
set shiftwidth=2
"set showcmd          # not portable across all kinds of vi
set showmatch
set showmode 
set tabstop=2  
set ts=2
set terse
set nowrapscan
set directory=/tmp

No comments:

Post a Comment