From c70c27e633ee9f8b3e4ace0286ad31e0c6be1ac5 Mon Sep 17 00:00:00 2001 From: gxlin Date: Fri, 5 Feb 2021 20:44:47 +0800 Subject: Change tags location and git default branch --- .gitconfig | 2 ++ .vimrc | 6 +----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitconfig b/.gitconfig index f0ce216..b99f85e 100644 --- a/.gitconfig +++ b/.gitconfig @@ -3,3 +3,5 @@ name = gxlin [http] proxy = http://127.0.0.1:7890 +[init] + defaultBranch = main diff --git a/.vimrc b/.vimrc index 46dfd0f..0430e11 100644 --- a/.vimrc +++ b/.vimrc @@ -98,6 +98,7 @@ Plug 'tpope/vim-unimpaired' Plug 'godlygeek/tabular' Plug 'ledger/vim-ledger', {'for': 'ledger'} Plug 'puremourning/vimspector' +Plug 'nathangrigg/vim-beancount', {'for': 'beancount'} call plug#end() " Plugin config @@ -120,14 +121,9 @@ let g:ycm_filetype_whilelist = { " vim-gutentags let g:gutentags_project_root = ['.root', '.svn', '.git', '.hg', '.project'] let g:gutentags_ctags_tagfile = '.tags' -let s:vim_tags = expand('~/.cache/tags') -let g:gutentags_cache_dir = s:vim_tags let g:gutentags_ctags_extra_args = ['--fields=+niazS', '--extra=+q'] let g:gutentags_ctags_extra_args = ['--c++-kinds=+px'] let g:gutentags_ctags_extra_args = ['--c-kinds=+px'] -if !isdirectory(s:vim_tags) - silent! call mkdir(s:vim_tags, 'p') -endif " asyncrun.vim let g:asyncrun_open = 6 " the number of lines of quickfix window -- cgit v1.2.3