vim: nerdtree + verwandte Plugins entfernt

This commit is contained in:
Michael Grote 2021-08-09 10:19:51 +02:00
parent ec249600aa
commit 746f8eea22

36
.vimrc
View file

@ -13,8 +13,6 @@ Plugin 'itchyny/lightline.vim'
" statusline " statusline
Plugin 'sheerun/vim-polyglot' Plugin 'sheerun/vim-polyglot'
" languagepack " languagepack
Plugin 'Xuyuanp/nerdtree-git-plugin'
" nerdtree plugin, markiere dateien mit git symbolen
Plugin 'jeetsukumaran/vim-buffergator' Plugin 'jeetsukumaran/vim-buffergator'
" buffer wechseln " buffer wechseln
Plugin 'mhinz/vim-signify' Plugin 'mhinz/vim-signify'
@ -29,10 +27,6 @@ Plugin 'tpope/vim-fugitive'
" git integration G: " git integration G:
Plugin 'jiangmiao/auto-pairs' Plugin 'jiangmiao/auto-pairs'
" autovervollständigung symbole wie klammern " autovervollständigung symbole wie klammern
Plugin 'preservim/nerdtree'
" dateibrowser
Plugin 'unkiwii/vim-nerdtree-sync'
" springe in nerdtree zur geöffneten datei
Plugin 'jreybert/vimagit' Plugin 'jreybert/vimagit'
" git integration " git integration
call vundle#end() call vundle#end()
@ -106,21 +100,6 @@ let g:lightline = {
\ } \ }
" NERDtree + nerdtree-sync
" https://github.com/preservim/nerdtree
let NERDTreeShowHidden = 1 " Show hidden files
let NERDTreeShowLineNumbers = 0 " Hide line numbers
let NERDTreeMinimalMenu = 1 " Use the minimal menu (m)
let NERDTreeWinSize = 31 " Set panel width to 31 columns
nmap <F2> :NERDTreeToggle<CR> " ruft NERDtree mit F2 auf
" Start NERDTree when Vim is started without file arguments.
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists('s:std_in') | NERDTree | endif
let g:nerdtree_sync_cursorline = 1 " highlight the file in tree
" exit Vim if NERDTree is the only window left.
autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() |
\ quit | endif
" buffergator " buffergator
" https://joshldavis.com/2014/04/05/vim-tab-madness-buffers-vs-tabs/ " https://joshldavis.com/2014/04/05/vim-tab-madness-buffers-vs-tabs/
@ -138,21 +117,6 @@ nmap <C-h> :bprevious<CR>
nmap <C-q> :bp <BAR> bd #<CR> nmap <C-q> :bp <BAR> bd #<CR>
" nerdtree-git-plugin
let g:NERDTreeGitStatusIndicatorMapCustom = {
\ 'Modified' :'*',
\ 'Staged' :'+',
\ 'Untracked' :'',
\ 'Renamed' :'*',
\ 'Unmerged' :'',
\ 'Deleted' :'-',
\ 'Dirty' :'',
\ 'Ignored' :'',
\ 'Clean' :'',
\ 'Unknown' :'?',
\ }
" indentLine " indentLine
" fügt vertikale Striche bei Einrückungen ein " fügt vertikale Striche bei Einrückungen ein
filetype plugin indent on filetype plugin indent on