>------------------------------------ Start of Contents ------------------------------------<
" Set to automatically read when a file is changed from the outside
set autoread
" Always show current position
set ruler
" Configure backspace so it acts as it should act
set backspace=eol,start,indent
" Ignore case when searching
set ignorecase
" When searching try to be smart about cases
set smartcase
" highlight search
set hlsearch
" incremental search
set incsearch
" Don't redraw while executing macros
set lazyredraw
" Regex Magic
set magic
" Extra margin to the left
set foldcolumn=4
" Turn on folding
set foldmethod=syntax
" Enable syntax highlighting
syntax enable
" show partial commands
set showcmd
" display line numbers
set number
" Color Scheme
try
colorscheme desert
catch
endtry
set guifont=Hack\ 10
set background=dark
" utf8 encoding as en_US default
set encoding=utf8
" Unix file as the standard file type
set ffs=unix,dos,mac
" No backup etc
set nobackup
set nowb
set noswapfile
" Use spaces not tabs, and be smart about it.
" 1 tab = 4 spaces
set expandtab
set smarttab
set shiftwidth=4
set tabstop=4
" Use actual tabs for makefiles only!
autocmd Filetype make setlocal noexpandtab
" Auto, smart indent
set ai
set si
" Set Window Size
set lines=50 columns=132
>------------------------------------ End of Contents ------------------------------------<
And a picture of what it looks like while viewing C files:
No comments:
Post a Comment