diff --git a/.vimrc b/.vimrc index 76d7973..e208ad3 100644 --- a/.vimrc +++ b/.vimrc @@ -33,10 +33,7 @@ set rtp+=~/.vim/bundle/Vundle.vim " Download plug-ins to the ~/.vim/plugged/ directory call vundle#begin('~/.vim/plugged') " Let Vundle manage Vundle -Plugin 'VundleVim/Vundle.vim' -"Plugin 'vim-airline/vim-airline' -"Plugin 'vim-airline/vim-airline-themes' -"Plugin 'matze/vim-move' +Plugin 'VundleVim/Vundle.vim' "muss immer der erste eintrag sein Plugin 'sheerun/vim-polyglot' Plugin 'Xuyuanp/nerdtree-git-plugin' Plugin 'jeetsukumaran/vim-buffergator' @@ -45,7 +42,6 @@ Plugin 'ctrlpvim/ctrlp.vim' Plugin 'lifepillar/vim-solarized8' Plugin 'Yggdroot/indentLine' Plugin 'tpope/vim-fugitive' -"Plugin 'ryanoasis/vim-devicons' Plugin 'jiangmiao/auto-pairs' Plugin 'preservim/nerdtree' Plugin 'unkiwii/vim-nerdtree-sync' @@ -79,7 +75,7 @@ autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTr \ quit | endif " " Tastenkürzel -"nmap :tabnew:NERDTreeFind +" nmap :tabnew:NERDTreeFind " erstellt neuen tab und öffnet den open-dialog " " buffers @@ -89,7 +85,7 @@ autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTr " " This is almost a must if you wish to use buffers in this way. set hidden " -"" To open a new empty buffer +" To open a new empty buffer " This replaces :tabnew which I used to bind to this mapping nmap :enew " @@ -97,20 +93,16 @@ nmap :enew nmap :bnext " Move to the previous buffer - nmap :bprevious +nmap :bprevious " -"" Close the current buffer and move to the previous one +" Close the current buffer and move to the previous one " This replicates the idea of closing a tab - nmap bq :bp bd # +nmap :bp bd # " "" Show all open buffers and their status -nmap bl :ls" -" " -" " -" " -" " +nmap :BuffergatorToggle" " -"" nerdtree-git-plugin +" nerdtree-git-plugin let g:NERDTreeGitStatusIndicatorMapCustom = { \ 'Modified' :'*', \ 'Staged' :'+', @@ -174,8 +166,6 @@ let g:ctrlp_map = '' "aufruf mit strg+f " https://github.com/ctrlpvim/ctrlp.vim set wildignore+=*/tmp/*,*.so,*.swp,*.zip " MacOSX/Linux set wildignore+=*\\tmp\\*,*.swp,*.zip,*.exe " Windows -" airline -let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn)$'