2018-01-29 13:50:57 +01:00
|
|
|
set nocompatible
|
|
|
|
filetype off
|
|
|
|
|
|
|
|
" set the runtime path to include Vundle and initialize
|
|
|
|
set rtp+=~/.vim/bundle/Vundle.vim
|
|
|
|
call vundle#begin()
|
|
|
|
" let Vundle manage Vundle, required
|
|
|
|
Plugin 'VundleVim/Vundle.vim'
|
2018-12-28 07:07:10 +01:00
|
|
|
Plugin 'vim-scripts/nginx.vim'
|
2018-01-29 13:50:57 +01:00
|
|
|
Plugin 'tpope/vim-fugitive'
|
|
|
|
Plugin 'tpope/vim-sleuth'
|
2018-07-24 11:57:43 +02:00
|
|
|
Plugin 'suan/vim-instant-markdown'
|
2018-01-29 13:50:57 +01:00
|
|
|
Plugin 'altercation/vim-colors-solarized'
|
2019-02-07 10:46:59 +01:00
|
|
|
Plugin 'scrooloose/nerdtree'
|
|
|
|
Plugin 'Xuyuanp/nerdtree-git-plugin'
|
2019-01-17 08:06:18 +01:00
|
|
|
Plugin 'vim-airline/vim-airline'
|
|
|
|
Plugin 'vim-airline/vim-airline-themes'
|
2018-02-14 10:18:56 +01:00
|
|
|
Plugin 'Valloric/YouCompleteMe'
|
2018-01-29 13:50:57 +01:00
|
|
|
call vundle#end()
|
|
|
|
|
|
|
|
filetype plugin indent on
|
2013-08-29 11:30:40 +02:00
|
|
|
syntax enable
|
2014-03-10 08:09:14 +01:00
|
|
|
if has('gui_running')
|
|
|
|
set background=light
|
2017-09-27 16:16:35 +02:00
|
|
|
set gfn=Hack\ Regular\ 9
|
2014-03-10 08:09:14 +01:00
|
|
|
else
|
|
|
|
set background=dark
|
|
|
|
endif
|
2017-09-27 16:16:35 +02:00
|
|
|
colorscheme solarized
|
|
|
|
call togglebg#map("<F5>")
|
2013-08-29 11:30:40 +02:00
|
|
|
let load_doxygen_syntax = 1
|
2019-01-17 08:06:18 +01:00
|
|
|
let g:airline_theme='solarized'
|
|
|
|
let g:airline_solarized_bg='dark'
|
2017-09-27 16:16:35 +02:00
|
|
|
"set autoindent
|
2013-08-29 11:30:40 +02:00
|
|
|
set encoding=utf-8
|
|
|
|
set icon
|
2017-09-27 16:16:35 +02:00
|
|
|
"set smartindent
|
2013-08-29 11:30:40 +02:00
|
|
|
set smartcase
|
|
|
|
set spelllang=de,en
|
|
|
|
set softtabstop=4
|
|
|
|
set tabstop=4
|
2017-09-27 16:16:35 +02:00
|
|
|
set shiftwidth=4
|
2013-08-29 11:30:40 +02:00
|
|
|
set nowrap
|
|
|
|
set number
|
|
|
|
set foldmethod=indent
|
|
|
|
set foldnestmax=10
|
2013-08-30 14:50:02 +02:00
|
|
|
set nofoldenable
|
2014-01-27 15:22:20 +01:00
|
|
|
set modeline
|
2018-01-23 14:52:04 +01:00
|
|
|
set ruler
|
2014-01-28 15:43:06 +01:00
|
|
|
set listchars=eol:¶,tab:\»\ ,trail:~,extends:>,precedes:<
|
|
|
|
set list
|
2017-09-27 16:16:35 +02:00
|
|
|
filetype plugin indent on
|
2018-09-28 16:29:24 +02:00
|
|
|
|
|
|
|
inoremap <F9> <C-O>za
|
|
|
|
nnoremap <F9> za
|
|
|
|
onoremap <F9> <C-C>za
|
|
|
|
vnoremap <F9> zf
|
2019-02-07 10:46:59 +01:00
|
|
|
map <C-n> :NERDTreeToggle<CR>
|