74 lines
1.4 KiB
VimL
74 lines
1.4 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
|
|
|
|
" 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
|
|
|
|
" 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
|