commit 50e07cade5321bd2e471ca72e15a2de260574018 (patch)
parent 4befe5c7bed45fa785bf66c5ce8e5bfbc3fa365d
Author: Alex Karle <alex@karle.co>
Date: Sat, 2 Nov 2019 12:52:38 -0400
vim: update plugin settings (see log)
markdown:
* found out about fenced language highlighting. Cool!
netrw:
* no need to set if using dirvish
vimtex:
* remove 'skim' setting -- I'm not on a mac anymore / don't have it
installed...
Diffstat:
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -58,23 +58,20 @@ exe 'set directory='.s:vimdir.'/swp,.'
" }}}
" PLUGIN RELATED SETTINGS {{{
-" Set pdf viewer to skim for vimtex
-let g:vimtex_view_method='skim'
-
" Don't use powerline font in airline (not neces. installed)
let g:airline_powerline_fonts = 0
" This enables folding in the built in markdown ftplugin
let g:markdown_folding = 1
-
-" netrw style settings
-let g:netrw_banner=0 " disable banner
-let g:netrw_liststyle=1 " details view
+let g:markdown_fenced_languages = ['sh', 'bash=sh', 'perl', 'python', 'vim']
" If using Dirvish, don't use netrw
if isdirectory(s:vimdir . '/pack/plugins/start/vim-dirvish/plugin')
" Dirvish #137
let loaded_netrwPlugin = 1
+else
+ let g:netrw_banner=0 " disable banner
+ let g:netrw_liststyle=1 " details view
endif
" Mojolicious syntax highlighting for Mojolicious::Lite