diff options
| author | Thomas Schmucker <ts@its1.de> | 2023-03-29 22:04:09 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2023-03-29 22:04:09 +0200 |
| commit | 8ce1a14b8f6846692294a51855d1475c31b02c7a (patch) | |
| tree | e39b4f9327e1e02ad56bba251f6a47b0bfa07ac9 /nvim | |
| parent | 6bcf122bdb302ce8e6173fa146a241ceb4734650 (diff) | |
| download | dotfiles-8ce1a14b8f6846692294a51855d1475c31b02c7a.tar.gz dotfiles-8ce1a14b8f6846692294a51855d1475c31b02c7a.tar.bz2 dotfiles-8ce1a14b8f6846692294a51855d1475c31b02c7a.zip | |
fix: NERDTree
Diffstat (limited to 'nvim')
| -rw-r--r-- | nvim/plugins.vim | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/nvim/plugins.vim b/nvim/plugins.vim index 7021a0a..66c8d90 100644 --- a/nvim/plugins.vim +++ b/nvim/plugins.vim | |||
| @@ -8,13 +8,15 @@ endif | |||
| 8 | call plug#begin() | 8 | call plug#begin() |
| 9 | Plug 'mattn/emmet-vim' | 9 | Plug 'mattn/emmet-vim' |
| 10 | Plug 'romainl/vim-cool' | 10 | Plug 'romainl/vim-cool' |
| 11 | Plug 'scrooloose/nerdtree' | 11 | Plug 'preservim/nerdtree' | |
| 12 | \ Plug 'Xuyuanp/nerdtree-git-plugin' | ||
| 12 | Plug 'tpope/vim-repeat' | 13 | Plug 'tpope/vim-repeat' |
| 13 | Plug 'tpope/vim-surround' | 14 | Plug 'tpope/vim-surround' |
| 14 | call plug#end() | 15 | call plug#end() |
| 15 | 16 | ||
| 17 | |||
| 16 | " EMMET | 18 | " EMMET |
| 17 | " ----- | 19 | " ===== |
| 18 | " https://github.com/mattn/emmet-vim | 20 | " https://github.com/mattn/emmet-vim |
| 19 | 21 | ||
| 20 | " Nur für HTML und CSS Dateien aktivieren | 22 | " Nur für HTML und CSS Dateien aktivieren |
| @@ -28,3 +30,16 @@ let g:user_emmet_leader_key='<C-y>' | |||
| 28 | "let g:user_emmet_mode='a' "enable all function in all mode. | 30 | "let g:user_emmet_mode='a' "enable all function in all mode. |
| 29 | 31 | ||
| 30 | 32 | ||
| 33 | " NERDTree | ||
| 34 | " ======== | ||
| 35 | |||
| 36 | let NERDTreeMinimalUI=1 | ||
| 37 | let NERDTreeShowHidden=1 | ||
| 38 | |||
| 39 | autocmd VimEnter * NERDTree | wincmd p | ||
| 40 | autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | quit | endif | ||
| 41 | autocmd BufWinEnter * if getcmdwintype() == '' | silent NERDTreeMirror | endif | ||
| 42 | |||
| 43 | let g:NERDTreeGitStatusUntrackedFilesMode = 'all' " a heavy feature too. default: normal | ||
| 44 | let g:NERDTreeGitStatusShowClean = 1 " default: 0 | ||
| 45 | let g:NERDTreeGitStatusConcealBrackets = 1 " default: 0 | ||
