summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMineralwaterXu <[email protected]>2020-08-05 16:15:36 +0800
committerMineralwaterXu <[email protected]>2020-08-05 16:15:36 +0800
commit8113b3a6c0c168fda74581f19e8e153ccaca3155 (patch)
tree305ff7e9e09419d73065d1f6915e291534c937f6
parenta2efc958d468c6eaa7efe0c14a81785291df3977 (diff)
modified nvim config
-rw-r--r--init.vim10
1 files changed, 9 insertions, 1 deletions
diff --git a/init.vim b/init.vim
index 537366d..e9a195a 100644
--- a/init.vim
+++ b/init.vim
@@ -101,6 +101,14 @@ noremap s] <C-w>t<C-w>H
" ===
+" === MarkdownPreview Mappings
+" ===
+nmap <LEADER>mp <Plug>MarkdownPreview
+nmap <LEADER>ms <Plug>MarkdownPreviewStop
+
+
+
+" ===
" === Install Plugins with Vim-Plug
" ===
@@ -182,7 +190,7 @@ let g:rainbow_active = 1
" ===
" === MarkdownPreview
" ===
-let g:mkdp_auto_start = 1
+let g:mkdp_auto_start = 0
let g:mkdp_auto_close = 0
let g:mkdp_refresh_slow = 1
let g:mkdp_command_for_global = 0