aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-03-16 21:21:42 +0000
committerJuan J. Martinez <jjm@usebox.net>2022-05-29 22:57:30 +0100
commit46b4516628be8f0535d1699ef2127eaeed01c38b (patch)
tree0b96bbb0de945300d4bb20a583ab185028961a58 /vimrc
parent578474827ef35ad80fd7437e89d61809759367a7 (diff)
downloaddotnvim-46b4516628be8f0535d1699ef2127eaeed01c38b.tar.gz
dotnvim-46b4516628be8f0535d1699ef2127eaeed01c38b.zip
Go -> gone, tidy up, better autoread
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc30
1 files 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 <leader>s :set spell! spelllang=en_gb<CR>
-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 <leader>n :NERDTreeToggle<CR>
@@ -143,6 +143,17 @@ map <leader>p :FZF<CR>
" 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
-