diff options
Diffstat (limited to 'home/kurb42/.vimrc')
-rw-r--r-- | home/kurb42/.vimrc | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/home/kurb42/.vimrc b/home/kurb42/.vimrc new file mode 100644 index 0000000..20e6508 --- /dev/null +++ b/home/kurb42/.vimrc @@ -0,0 +1,48 @@ +" Encoding +set encoding=UTF-8 + +" Plug +call plug#begin('~/.vim/plugged') +Plug 'preservim/nerdtree' +Plug 'tiagofumo/vim-nerdtree-syntax-highlight' +Plug 'arcticicestudio/nord-vim' +Plug 'luochen1990/rainbow' +Plug 'sheerun/vim-polyglot' +call plug#end() + +" Text Rendering +syntax enable + +" Interface +set wildmenu +colorscheme nord +set cursorline +set number +set title +set background=dark +set confirm + +" Rainbow Brackets +let g:rainbow_active = 1 + +" Indent +set smartindent +set autoindent + +" Search +set hlsearch +set ignorecase +set incsearch +set smartcase + +" NERDTree +let g:NERDTreeDisableFileExtensionHighlight = 1 +let g:NERDTreeDisableExactMatchHighlight = 1 +let g:NERDTreeDisablePatternMatchHighlight = 1 +let g:NERDTreeShowHidden = 1 +autocmd vimenter * NERDTree | wincmd p +autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif +nnoremap <C-b> :NERDTreeToggle<CR> +let g:NERDTreeDirArrowExpandable = '' +let g:NERDTreeDirArrowCollapsible = '' + |