58 lines
1.3 KiB
VimL
58 lines
1.3 KiB
VimL
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'
|
|
Plugin 'vim-scripts/nginx.vim'
|
|
Plugin 'tpope/vim-fugitive'
|
|
Plugin 'tpope/vim-sleuth'
|
|
Plugin 'suan/vim-instant-markdown'
|
|
Plugin 'altercation/vim-colors-solarized'
|
|
Plugin 'scrooloose/nerdtree'
|
|
Plugin 'Xuyuanp/nerdtree-git-plugin'
|
|
Plugin 'vim-airline/vim-airline'
|
|
Plugin 'vim-airline/vim-airline-themes'
|
|
Plugin 'Valloric/YouCompleteMe'
|
|
call vundle#end()
|
|
|
|
filetype plugin indent on
|
|
syntax enable
|
|
if has('gui_running')
|
|
set background=light
|
|
set gfn=Hack\ Regular\ 9
|
|
else
|
|
set background=dark
|
|
endif
|
|
colorscheme solarized
|
|
call togglebg#map("<F5>")
|
|
let load_doxygen_syntax = 1
|
|
let g:airline_theme='solarized'
|
|
let g:airline_solarized_bg='dark'
|
|
"set autoindent
|
|
set encoding=utf-8
|
|
set icon
|
|
"set smartindent
|
|
set smartcase
|
|
set spelllang=de,en
|
|
set softtabstop=4
|
|
set tabstop=4
|
|
set shiftwidth=4
|
|
set nowrap
|
|
set number
|
|
set foldmethod=indent
|
|
set foldnestmax=10
|
|
set nofoldenable
|
|
set modeline
|
|
set ruler
|
|
set listchars=eol:¶,tab:\»\ ,trail:~,extends:>,precedes:<
|
|
set list
|
|
filetype plugin indent on
|
|
|
|
inoremap <F9> <C-O>za
|
|
nnoremap <F9> za
|
|
onoremap <F9> <C-C>za
|
|
vnoremap <F9> zf
|
|
map <C-n> :NERDTreeToggle<CR>
|