diff --git a/vimrc b/vimrc index f203906..c0c7202 100644 --- a/vimrc +++ b/vimrc @@ -134,6 +134,10 @@ map l l nmap s :w !sudo tee % imap s :w !sudo tee % +" Preview current markdown file in browser +imap mm :w:!grip "%" --export - > /tmp/apercu.html ; qutebrowser "file:///tmp/apercu.html" +nmap mm :w:!grip "%" --export - > /tmp/apercu.html ; qutebrowser "file:///tmp/apercu.html" + """""""""""""""""""""""""""""""""""""""""""""""" " UN PEU D'EXERCICE " H pour <- @@ -175,10 +179,6 @@ noremap :set paste!:set paste? imap jj imap -" Preview current markdown file in browser -imap :w:!grip "%" --export - > /tmp/apercu.html ; qutebrowser "file:///tmp/apercu.html" -nmap :w:!grip "%" --export - > /tmp/apercu.html ; qutebrowser "file:///tmp/apercu.html" - """""""""""""""""""""""""""""""""""""""""""""""" " Vim-Scripts : """"""""""""""""""""""""""""""""""""""""""""""""