1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | set nocompatible
set backspace=indent,eol,start
" AUTOCOMPLETION
setlocal omnifunc=syntaxcomplete#Complete " Autocompletion, engage!
set cot+=menuone " Show preview of function prototype
" INDENTATION
set autoindent " Indent same level as the previous line
set smartindent
filetype plugin indent on
autocmd Filetype c,cpp,java,php set cindent
" INTERFACE
set nocp " No compatible mode
set background=dark
syntax on
"color technobass
"if has('gui_running')
" set t_Co=256
" colorscheme xoria256
"set guifont=Anonymous\ Pro\ 8
" set guifont=boxxy\ 8
" set guioptions-=T
" set guioptions-=m
" set guioptions-=r
" set guioptions-=l
"set guioptions-=L
"set noantialias
"else
" colorscheme nightwish
" set mouse=a
" set t_Co=256
" endif
"set cursorline " Highlight current line
" Disable underline
hi CursorLine term=none cterm=none
if has('cmdline_info')
set ruler
set rulerformat=%30(%=\:b%n%y%m%r%w\ %l,%c%V\ %P%)
set showcmd " Show partial command in status line
endif
if has('statusline')
set laststatus=1
set statusline=%<%f\ %=\:\b%n%y%m%r%w\ %l,%c%V\ %P
"set statusline=[%n]\ %<%f\ %((%1*%M%*%R%Y)%)\ %=%-19(\LINE\ [%3l/%3L]\ COL\ [%02c%03V]%)\ %P
endif
set showmode
set scrolloff=3 " Number of lines to keep above and below cursor
set showmatch " Show matching brackets/paranthesis
set wildmenu
set wildmode=list:longest,full
" FORMATTING
"set textwidth=79
set nowrap " Don't wrap long lines
" SEARCHING
set incsearch " Search as you type
set ignorecase
set smartcase
set hlsearch " Hilight search terms
" TABS
set tabstop=8
set shiftwidth=8
set softtabstop=8
set expandtab
set number
|
x
Notes
Contents
Vundle Config & Plugins
Plugin Configurations
Basics Enhancement
Vim UI
Text Formatting/Layout
Gui Settings