From be3e08f801ecb5cbe71d5d95191c4c419506c807 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 6 Sep 2023 15:24:25 +0100 Subject: Adds mapping to call pandoc command on markdown file to produce MOD weekly planning page --- vim/vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vim/vimrc b/vim/vimrc index ae93021..c4f5b68 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -64,6 +64,9 @@ endfunction nnoremap q :call TaskWarriorAddCurrentLine() +" pandoc command to generate weekly plan page in Firefox +nnoremap w :!pandoc weekly_planning.md --css /home/lemon/.local/share/pandoc/templates/mystyles.css -s -o /tmp/toss.html; firefox /tmp/toss.html & + " macro to go to end of sentence and add a line break (for " one-line-per-sentence vimming...) -- cgit v1.2.3