From 3801186f8be3616cf9c69b575a3a455ff69eaf8e Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sat, 30 Dec 2023 13:27:22 +0100 Subject: [PATCH] Extract 'md-img-paste.vim' config --- .vim/after/plugin/md-img-paste.vim | 3 +++ .vimrc | 8 -------- 2 files changed, 3 insertions(+), 8 deletions(-) create mode 100644 .vim/after/plugin/md-img-paste.vim diff --git a/.vim/after/plugin/md-img-paste.vim b/.vim/after/plugin/md-img-paste.vim new file mode 100644 index 0000000..df5e68c --- /dev/null +++ b/.vim/after/plugin/md-img-paste.vim @@ -0,0 +1,3 @@ +" Paste clipboard images +au FileType pandoc nmap v :call mdip#MarkdownClipboardImage() +au FileType markdown nmap v :call mdip#MarkdownClipboardImage() diff --git a/.vimrc b/.vimrc index 73dbd5b..7108153 100644 --- a/.vimrc +++ b/.vimrc @@ -147,14 +147,6 @@ let g:vimtex_quickfix_mode=0 " }}} -" 'ferrine/md-img-paste.vim' {{{ - -" Paste clipboard images -au FileType pandoc nmap v :call mdip#MarkdownClipboardImage() -au FileType markdown nmap v :call mdip#MarkdownClipboardImage() - -" }}} - " `junegunn/fzf` {{{ " `junegunn/fzf.vim`