Add wakatime.cfg and adapt vimrc

This commit is contained in:
Tobias Reisinger 2022-10-04 23:17:16 +02:00
parent 4b98cab3cd
commit 3adb1783fb
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 24 additions and 1 deletions

View file

@ -34,7 +34,9 @@ call plug#begin('~/.config/vim/plugged')
Plug 'sheerun/vim-polyglot'
" Misc
Plug 'wakatime/vim-wakatime'
if $WAKATIME_API_KEY != ""
Plug 'wakatime/vim-wakatime'
endif
call plug#end()

View file

@ -0,0 +1,12 @@
[settings]
debug=true
hide_file_names=false
hide_project_folder=true
hide_branch_names=false
ignore=
COMMIT_EDITMSG$
PULLREQ_EDITMSG$
MERGE_MSG$
TAG_EDITMSG$
exclude_unknown_project=true
api_key=${WAKATIME_API_KEY}