diff options
Diffstat (limited to 'vimrc-full')
-rw-r--r-- | vimrc-full | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -91,7 +91,10 @@ let g:signify_update_on_bufenter = 0 | |||
91 | let g:signify_update_on_focusgained = 1 | 91 | let g:signify_update_on_focusgained = 1 |
92 | 92 | ||
93 | " TESTING: | " plugins which I am currently trying... | 93 | " TESTING: | " plugins which I am currently trying... |
94 | Plug 'rkitover/vimpager' | 94 | " Plug 'rkitover/vimpager' |
95 | " found this command instead (use as PAGER): | ||
96 | " man -P 'nvim -R -u NORC -c":%!col -b" -c":set buftype=nowrite filetype=man" -' ls | ||
97 | " | ||
95 | " Plug 'Shougo/neocomplete.vim' | " alternative to YouCompleteMe in some cases | 98 | " Plug 'Shougo/neocomplete.vim' | " alternative to YouCompleteMe in some cases |
96 | " Plug 'tpope/vim-characterize' | " normal mode: make ga show character names of Unicode chars (ga shows hex and dec values) | 99 | " Plug 'tpope/vim-characterize' | " normal mode: make ga show character names of Unicode chars (ga shows hex and dec values) |
97 | 100 | ||
@@ -168,7 +171,6 @@ set laststatus=2 | " required by AirLine, | |||
168 | set background=light | 171 | set background=light |
169 | 172 | ||
170 | Plug 'itchyny/lightline.vim' | 173 | Plug 'itchyny/lightline.vim' |
171 | Plug 'daviesjamie/vim-base16-lightline' | ||
172 | Plug 'taohex/lightline-buffer' | 174 | Plug 'taohex/lightline-buffer' |
173 | 175 | ||
174 | " lightline-buffer ui settings | 176 | " lightline-buffer ui settings |
@@ -214,7 +216,7 @@ endfunction | |||
214 | autocmd BufEnter * let b:branchname = winwidth(0) > 70 ? fugitive#statusline() : '' | 216 | autocmd BufEnter * let b:branchname = winwidth(0) > 70 ? fugitive#statusline() : '' |
215 | 217 | ||
216 | let g:lightline = { | 218 | let g:lightline = { |
217 | \ 'colorscheme': 'Tomorrow', | 219 | \ 'colorscheme': 'Tomorrow_Night_Bright', |
218 | \ 'separator': { 'left': "\ue0b0", 'right': "\ue0b2" }, | 220 | \ 'separator': { 'left': "\ue0b0", 'right': "\ue0b2" }, |
219 | \ 'subseparator': { 'left': "\ue0b1", 'right': "\ue0b3" }, | 221 | \ 'subseparator': { 'left': "\ue0b1", 'right': "\ue0b3" }, |
220 | \ 'active': { | 222 | \ 'active': { |
@@ -536,6 +538,8 @@ if has("autocmd") | |||
536 | function OnConfigChange() | 538 | function OnConfigChange() |
537 | autocmd! |" Remove all vimrc autocommands | 539 | autocmd! |" Remove all vimrc autocommands |
538 | source $MYVIMRC | 540 | source $MYVIMRC |
541 | exec lightline#colorscheme() | ||
542 | exec lightline#update() | ||
539 | " AirlineRefresh | 543 | " AirlineRefresh |
540 | endfunction | 544 | endfunction |
541 | autocmd BufWritePost $MYVIMRC call OnConfigChange() | 545 | autocmd BufWritePost $MYVIMRC call OnConfigChange() |
@@ -762,7 +766,7 @@ endif | |||
762 | 766 | ||
763 | " avoids openin an empty buffer when restoring bufferlist from viminfo... | 767 | " avoids openin an empty buffer when restoring bufferlist from viminfo... |
764 | if argc() == 0 | 768 | if argc() == 0 |
765 | autocmd VimEnter * nested :bun | 769 | autocmd VimEnter * nested :silent bun |
766 | endif | 770 | endif |
767 | " au BufNewFile,BufRead,BufEnter *.cpp,*.hpp set omnifunc=omni#cpp#complete#Main | 771 | " au BufNewFile,BufRead,BufEnter *.cpp,*.hpp set omnifunc=omni#cpp#complete#Main |
768 | " Enable omni completion. | 772 | " Enable omni completion. |