Merge branch 'master' of github.com:rad4day/dotfiles
This commit is contained in:
commit
83bfd6b890
11
vim/.vimrc
11
vim/.vimrc
@ -46,8 +46,17 @@ endfunction
|
|||||||
|
|
||||||
|
|
||||||
autocmd WinEnter * call ForceResizeNetrw()
|
autocmd WinEnter * call ForceResizeNetrw()
|
||||||
" autocmd VimEnter * Vex
|
|
||||||
autocmd BufNew * call ForceResizeNetrw()
|
autocmd BufNew * call ForceResizeNetrw()
|
||||||
|
|
||||||
|
" R Markdown
|
||||||
|
autocmd BufNewFile,BufReadPost *.Rmd call Rmarkdown()
|
||||||
|
autocmd BufNewFile,BufReadPost *.rmd call Rmarkdown()
|
||||||
|
|
||||||
|
function Rmarkdown()
|
||||||
|
set filetype=markdown
|
||||||
|
let g:markdown_syntax_conceal = 0
|
||||||
|
let g:markdown_fenced_languages = ['r', 'python', 'html', 'sql', 'bash=sh']
|
||||||
|
endfunction
|
||||||
|
|
||||||
" Transparency
|
" Transparency
|
||||||
hi Normal guibg=NONE ctermbg=NONE
|
hi Normal guibg=NONE ctermbg=NONE
|
||||||
|
Loading…
Reference in New Issue
Block a user