update vimrc

This commit is contained in:
chxuan 2018-08-17 22:06:12 +08:00
parent 2238cf29dc
commit 908fa10a23
2 changed files with 1 additions and 4 deletions

4
.vimrc
View File

@ -181,10 +181,6 @@ nnoremap <c-l> <c-w>l
" 打开文件自动定位到最后编辑的位置
autocmd BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | execute "normal! g'\"" | endif
" vim关闭最后一个文件编辑buffer窗口时自动退出其余所有NERDTree、tagbar、Quickfix窗口
autocmd BufEnter * if 0 == len(filter(range(1, winnr('$')), 'empty(getbufvar(winbufnr(v:val), "&bt"))')) | qa! | endif
" 主题
set background=dark
let g:onedark_termcolors=256

View File

@ -203,6 +203,7 @@ An automatic configuration program for vim
<td width="20%"><a href="https://github.com/dofy"><img src="https://avatars1.githubusercontent.com/u/344197?s=400&v=4"/></a><p align="center">dofy</p></td>
<td width="20%"><a href="https://github.com/urain39"><img src="https://avatars2.githubusercontent.com/u/16981964?s=400&v=4"/></a><p align="center">urain39</p></td>
<td width="20%"><a href="https://github.com/freedomDR"><img src="https://avatars3.githubusercontent.com/u/11146756?s=400&v=4"/></a><p align="center">freedomDR</p></td>
<td width="20%"><a href="https://github.com/if2012"><img src="https://avatars2.githubusercontent.com/u/2003879?s=400&v=4"/></a><p align="center">if2012</p></td>
</table>