Update, added a cuple plugins and fixed tab lenght
This commit is contained in:
28
init.vim
28
init.vim
@@ -1,14 +1,21 @@
|
||||
set number
|
||||
set relativenumber
|
||||
set autoindent
|
||||
set termguicolors
|
||||
set cursorline
|
||||
set ts=4 sw=4
|
||||
|
||||
call plug#begin()
|
||||
Plug 'preservim/nerdtree'
|
||||
Plug 'itchyny/lightline.vim'
|
||||
Plug 'gilgigilgil/anderson.vim'
|
||||
Plug 'sainnhe/sonokai'
|
||||
Plug 'numirias/semshi', { 'do': ':UpdateRemotePlugins' }
|
||||
Plug 'bfrg/vim-cpp-modern'
|
||||
call plug#end()
|
||||
|
||||
|
||||
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
|
||||
|
||||
" Start NERDTree. If a file is specified, move the cursor to its window.
|
||||
autocmd StdinReadPre * let s:std_in=1
|
||||
autocmd VimEnter * NERDTree | if argc() > 0 || exists("s:std_in") | wincmd p | endif
|
||||
@@ -21,15 +28,15 @@ let g:NERDTreeGitStatusWithFlags = 1
|
||||
"let g:WebDevIconsUnicodeDecorateFolderNodes = 1
|
||||
"let g:NERDTreeGitStatusNodeColorization = 1
|
||||
"let g:NERDTreeColorMapCustom = {
|
||||
"\ "Staged" : "#0ee375",
|
||||
"\ "Modified" : "#d9bf91",
|
||||
"\ "Renamed" : "#51C9FC",
|
||||
"\ "Untracked" : "#FCE77C",
|
||||
"\ "Unmerged" : "#FC51E6",
|
||||
"\ "Dirty" : "#FFBD61",
|
||||
"\ "Clean" : "#87939A",
|
||||
"\ "Ignored" : "#808080"
|
||||
"\ }
|
||||
"\ "Staged" : "#0ee375",
|
||||
"\ "Modified" : "#d9bf91",
|
||||
"\ "Renamed" : "#51C9FC",
|
||||
"\ "Untracked" : "#FCE77C",
|
||||
"\ "Unmerged" : "#FC51E6",
|
||||
"\ "Dirty" : "#FFBD61",
|
||||
"\ "Clean" : "#87939A",
|
||||
"\ "Ignored" : "#808080"
|
||||
"\ }
|
||||
|
||||
|
||||
let g:NERDTreeIgnore = ['^node_modules$']
|
||||
@@ -38,5 +45,4 @@ let g:airline_powerline_fonts = 1
|
||||
|
||||
let g:sonokai_style = 'shusia'
|
||||
let g:sonokai_better_performance = 1
|
||||
|
||||
colorscheme sonokai
|
||||
|
||||
Reference in New Issue
Block a user