diff options
| author | Kai Hildebrandt <kai@derhil.de> | 2018-02-24 21:14:38 +0100 |
|---|---|---|
| committer | Kai Hildebrandt <kai@derhil.de> | 2018-02-24 21:14:38 +0100 |
| commit | 5650e2910c7ddd415a4dc198facf237b76f7975b (patch) | |
| tree | 415f384f4e7db5167f18ee87bc3aedc22e52a17d /vimrc | |
initial commit
Signed-off-by: Kai Hildebrandt <kai@derhil.de>
Diffstat (limited to 'vimrc')
| -rw-r--r-- | vimrc | 74 |
1 files changed, 74 insertions, 0 deletions
@@ -0,0 +1,74 @@ +" settings +set nocp +set encoding=utf-8 +set fileencoding=utf-8 +set hidden +set number +set nowrap +set autoindent +set showmatch +set showmode +set lazyredraw +set mouse=a +set backspace=2 +set laststatus=2 +set t_Co=256 + +" filetype +filetype on +filetype plugin on +filetype plugin indent on + +" syntax +syntax on + +" colorscheme +set background=dark +colorscheme desert + +" cursorline +set cursorline +hi CursorLine term=bold cterm=bold guibg=Grey20 + +" statusline +set statusline=\ +set statusline+=[%n]\ +set statusline+=%<%F\ +set statusline+=%w%h%m%r\ +set statusline+=%=%{&fileencoding?&fileencoding:&encoding}\ \ +set statusline+=%{&ff}\ \ +set statusline+=%y\ \ +set statusline+=%p%%\ \ +set statusline+=%(%l:%c%)\ + +" tabs +set tabstop=4 +set softtabstop=4 +set shiftwidth=4 +set shiftround +set expandtab + +" show trailing, tabs etc. +set list +set listchars=trail:·,tab:!· + +" case insensitive search +set hlsearch +set incsearch +set ignorecase +set smartcase + +" disable backup and swap files +set nobackup +set nowritebackup +set noswapfile + +" GUI +if has('gui_running') + set go-=r + set go-=R + set go-=T + set go-=L + set t_Co=256 + set guiheadroom=0 +endif |
