From 880b84768ad0017e1b613737e2d72a8f1823eb6e Mon Sep 17 00:00:00 2001 From: r1w1s1 <9mqqtl44o@mozmail.com> Date: Wed, 7 Aug 2024 03:06:48 -0300 Subject: [PATCH] add markdown preview plugin --- .vimrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.vimrc b/.vimrc index 4cef501..ee30412 100644 --- a/.vimrc +++ b/.vimrc @@ -44,9 +44,15 @@ endif call plug#begin() Plug 'vim-airline/vim-airline' + Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app && npm install' } call plug#end() +" option for iamcco/markdown-preview.nvim plugin +" https://github.com/iamcco/markdown-preview.nvim?tab=readme-ov-file#markdownpreview-config +" define surf default for markdown preview browser +let g:mkdp_browser = 'surf' + " automatically remove trailing whitespace " https://stackoverflow.com/questions/356126/how-can-you-automatically-remove-trailing-whitespace-in-vim/13795287#13795287 -- 2.45.2