aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgxlin <[email protected]>2021-02-05 20:44:47 +0800
committergxlin <[email protected]>2021-02-05 20:44:47 +0800
commitc70c27e633ee9f8b3e4ace0286ad31e0c6be1ac5 (patch)
tree08b2a199766382f9878b36668b398d16d97366f9
parente0c610849b00dbd098913ebc082a1142c19647b7 (diff)
downloaddotfiles-c70c27e633ee9f8b3e4ace0286ad31e0c6be1ac5.tar.gz
dotfiles-c70c27e633ee9f8b3e4ace0286ad31e0c6be1ac5.tar.bz2
dotfiles-c70c27e633ee9f8b3e4ace0286ad31e0c6be1ac5.zip
Change tags location and git default branch
-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