This commit is contained in:
Michael Grote 2021-05-27 22:27:43 +02:00
parent 890d59528e
commit 48d179c024

26
.vimrc
View file

@ -1,4 +1,5 @@
" Vundle " Vundle
" dfgsdfgsdfgfgd
set nocompatible set nocompatible
filetype off filetype off
" Set the runtime path to include Vundle and initialize " Set the runtime path to include Vundle and initialize
@ -7,14 +8,17 @@ set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin('~/.vim/plugged') call vundle#begin('~/.vim/plugged')
" Let Vundle manage Vundle " Let Vundle manage Vundle
Plugin 'VundleVim/Vundle.vim' Plugin 'VundleVim/Vundle.vim'
Plugin 'vim-airline/vim-airline' "Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes' "Plugin 'vim-airline/vim-airline-themes'
Plugin 'matze/vim-move' "Plugin 'matze/vim-move'
Plugin 'sheerun/vim-polyglot' Plugin 'sheerun/vim-polyglot'
Plugin 'Xuyuanp/nerdtree-git-plugin'
Plugin 'mhinz/vim-signify'
Plugin 'ctrlpvim/ctrlp.vim' Plugin 'ctrlpvim/ctrlp.vim'
Plugin 'lifepillar/vim-solarized8' Plugin 'lifepillar/vim-solarized8'
Plugin 'Yggdroot/indentLine' Plugin 'Yggdroot/indentLine'
Plugin 'tpope/vim-fugitive' Plugin 'tpope/vim-fugitive'
Plugin 'ryanoasis/vim-devicons'
Plugin 'jiangmiao/auto-pairs' Plugin 'jiangmiao/auto-pairs'
Plugin 'preservim/nerdtree' Plugin 'preservim/nerdtree'
Plugin 'unkiwii/vim-nerdtree-sync' Plugin 'unkiwii/vim-nerdtree-sync'
@ -47,9 +51,6 @@ autocmd BufWinEnter * silent NERDTreeMirror
autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() |
\ quit | endif \ quit | endif
" "
" vim-move
" Tastenkürzel " Tastenkürzel
nmap <C-t> :tabnew<CR>:NERDTreeFind<CR> nmap <C-t> :tabnew<CR>:NERDTreeFind<CR>
" erstellt neuen tab und öffnet den open-dialog " erstellt neuen tab und öffnet den open-dialog
@ -66,6 +67,7 @@ set showbreak=+++
set textwidth=100 set textwidth=100
set showmatch set showmatch
set virtualedit=onemore set virtualedit=onemore
set encoding=UTF-8
set visualbell set visualbell
set hlsearch set hlsearch
set smartcase set smartcase
@ -104,4 +106,16 @@ let g:ctrlp_map = '<c-f>' "aufruf mit strg+f
" https://github.com/ctrlpvim/ctrlp.vim " https://github.com/ctrlpvim/ctrlp.vim
set wildignore+=*/tmp/*,*.so,*.swp,*.zip " MacOSX/Linux set wildignore+=*/tmp/*,*.so,*.swp,*.zip " MacOSX/Linux
set wildignore+=*\\tmp\\*,*.swp,*.zip,*.exe " Windows set wildignore+=*\\tmp\\*,*.swp,*.zip,*.exe " Windows
" airline
let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn)$' let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn)$'
let g:airline_powerline_fonts = 1
if !exists('g:airline_symbols')
let g:airline_symbols = {}
endif