dotfiles/.vimrc
2014-08-12 00:07:52 +02:00

81 lines
1.5 KiB
VimL

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" General
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Vim Modus statt Vi Modus verwenden
set nocompatible
" Sets how many lines of history VIM has to remember
"set history=1000
" Enable filetype plugins
filetype plugin on
filetype indent on
" Enable syntax completion
set omnifunc=syntaxcomplete#Complete
" automatisches Indenting aktivieren
set ai
" Smart Indenting aktivieren
set si
" Set to auto read when a file is changed from the outside
set autoread
" Always show current position
set ruler
set cursorline
" Enable line numbers
set number
" Height of the command bar
set cmdheight=2
" Ignore case when searching
set ignorecase
" When searching try to be smart about cases
set smartcase
" Highlight search results
set hlsearch
" Makes search act like search in modern browsers
set incsearch
" Don't redraw while executing macros (good performance config)
set lazyredraw
" For regular expressions turn magic on
set magic
" Show matching brackets when text indicator is over them
set showmatch
" Show commands in status bar
set showcmd
" How many tenths of a second to blink when matching brackets
set mat=4
" Setup tab completion
set wildmode=list:longest,full
set wildmenu
" Enable syntax highlighting
syntax enable
colorscheme desert
set background=dark
" Set utf8 as standard encoding and en_US as the standard language
set encoding=utf8
" Use Unix as the standard file type
set ffs=unix,dos,mac
" Enable mouse support in all modi
set mouse=a