From 46b4516628be8f0535d1699ef2127eaeed01c38b Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 16 Mar 2021 21:21:42 +0000 Subject: Go -> gone, tidy up, better autoread --- vimrc | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/vimrc b/vimrc index 45811ce..a977092 100644 --- a/vimrc +++ b/vimrc @@ -59,7 +59,6 @@ Plug 'plasticboy/vim-markdown' Plug 'vimwiki/vimwiki' " language support -Plug 'fatih/vim-go' Plug 'natebosch/vim-lsc' Plug 'samsaga2/vim-z80' Plug 'tomtom/tcomment_vim' @@ -67,6 +66,7 @@ Plug 'https://tildegit.org/sloum/gemini-vim-syntax.git' call plug#end() +" crystaline conf function! StatusLine(current, width) let l:s = '' @@ -109,11 +109,11 @@ let g:gruvbox_italic = 1 let g:gruvbox_contrast_dark = "medium" let g:gruvbox_guisp_fallback = "fg" +colorscheme gruvbox + " toggle spell check map s :set spell! spelllang=en_gb -colorscheme gruvbox - " EOL whitespace highlight ExtraWhitespace ctermbg=red guibg=red match ExtraWhitespace /\s\+$/ @@ -130,7 +130,7 @@ set updatetime=500 " re-read the file if changed (if possible) set autoread -au CursorHold,CursorHoldI * checktime +au BufEnter,CursorHold,CursorHoldI * silent! checktime " make easier to open NERDTree map n :NERDTreeToggle @@ -143,6 +143,17 @@ map p :FZF " disable ctags completely, use it through gtags plugin let g:loaded_gentags#ctags = 1 +" vimwiki +let g:vimwiki_list = [{'path': '~/textfiles/', + \ 'syntax': 'markdown', 'ext': '.md'}] +let g:vimwiki_global_ext = 0 + +" vim-markdown +let g:vim_markdown_folding_disabled = 1 +let g:vim_markdown_frontmatter = 1 +let g:vim_markdown_conceal_code_blocks = 0 +autocmd FileType markdown setlocal conceallevel=2 + " LSC conf " let g:lsc_auto_map = {'defaults': v:true, 'FindImplementations': ''} @@ -167,14 +178,3 @@ highlight link lscDiagnosticWarning GruvboxYellowSign " add you lsc_server_commands and lsc_auto_map locally -" vimwiki -let g:vimwiki_list = [{'path': '~/textfiles/', - \ 'syntax': 'markdown', 'ext': '.md'}] -let g:vimwiki_global_ext = 0 - -" vim-markdown -let g:vim_markdown_folding_disabled = 1 -let g:vim_markdown_frontmatter = 1 -let g:vim_markdown_conceal_code_blocks = 0 -autocmd FileType markdown setlocal conceallevel=2 - -- cgit v1.2.3