Skip to content

Commit

Permalink
Update .vimrc
Browse files Browse the repository at this point in the history
  • Loading branch information
hantaotaohan authored Jul 9, 2020
1 parent 4630dd2 commit 5b7ce9a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install_sync() } }"
Plug 'jszakmeister/markdown2ctags' " Tags的Toc插件
Plug 'Neur1n/neuims' " 输入法自动切换
Plug 'vim-scripts/fcitx.vim' " 输入法自动切换Fcitx
Plug 'ferrine/md-img-paste.vim' " Markdown截图自动粘贴
"Plug 'terryma/vim-multiple-cursors' " 多光标插件
"Plug 'edkolev/tmuxline.vim' " Vim同步tmux配色
call plug#end()
Expand Down Expand Up @@ -709,4 +710,12 @@ autocmd InsertLeave * call IMtoEng()
"endfunction
"
"autocmd InsertEnter * call IMtoCN()
"autocmd InsertLeave * call IMtoEng()
"autocmd InsertLeave * call IMtoEng()

"=================================================================================================================================
" Markdown截图自动粘贴设置
"=================================================================================================================================
autocmd FileType markdown nmap <buffer><silent> <leader>p :call mdip#MarkdownClipboardImage()<CR>
" there are some defaults for image directory and image name, you can change them
" let g:mdip_imgdir = 'img'
" let g:mdip_imgname = 'image'

0 comments on commit 5b7ce9a

Please sign in to comment.