add: vim plugin

change: zsh PS1
This commit is contained in:
Tobias Reisinger 2020-01-07 12:02:43 +01:00
parent 3afab71b89
commit ffa37d86e4
2 changed files with 12 additions and 4 deletions
.config/vim

View file

@ -19,12 +19,19 @@ set encoding=utf-8
set nowrap
" Save cursor position. I don't understand this part :)
" Save cursor position. I don't understand this part
if has("autocmd")
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif
endif
" Plug plugins using VimPlug
call plug#begin('~/.config/vim/plugged')
Plug 'editorconfig/editorconfig-vim'
Plug 'airblade/vim-gitgutter'
Plug 'fidian/hexmode'
Plug 'scrooloose/nerdtree'
call plug#end()
" Nerd Tree Configuration
map <C-n> :NERDTreeToggle<CR>
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif