- let g:org_todo_keywords = [['TODO(t)', 'WAITING(w)', '|', 'DONE(d)'],
- \ ['|', 'OBSOLETE(o)', 'WONT(n)'],
- \ ['CANCELED(c)']]
-
- let g:vimwiki_list = [{'path': '~/.vimwiki/',
- \ 'template_path': '~/.vim/vimwiki/templates',
- \ 'template_default': 'default',
- \ 'template_ext': '.html'}]
- let g:vimwiki_global_ext = 0
-
- " Java completion
- au FileType java setlocal omnifunc=javacomplete#Complete
- au FileType java JCEnable
-
- let g:VimMailContactsProvider=['khard']
- let g:VimMailContactsCommands={
- \'khard':
- \{ 'query' : "khard email --parsable --search-in-source-files",
- \'sync': "/bin/true"}
- \}
-
- let g:vimtex_fold_enabled = 1
- let g:vimtex_fold_levelmarker = '➜'
+ if &term =~ 'linux'
+ let g:gruvbox_termcolors=16
+ else
+ " Setting termguicolors has two implications:
+ " - Breaks colors for some versions of mosh, but not if tmux is used on top of
+ " mosh. See https://github.com/mobile-shell/mosh/issues/928
+ set termguicolors
+ let g:gruvbox_italic = 1
+ endif
+ colorscheme gruvbox