aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitconfig2
-rw-r--r--.vimrc6
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