aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-09-22 16:44:53 +0100
committerMatthew Lemon <y@yulqen.org>2023-09-22 16:44:53 +0100
commit2457ecaa635fd180139ff1ea86d17a914ab1e22d (patch)
tree362c6cf8567c4308e70871c9d126b7b671c17004
parentf3458de98176acaaa1c84d5c033e5d7c4804125d (diff)
vim stuff to run weekly plan and pandoc
-rw-r--r--vim/vimrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index c4f5b68..1926a21 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -64,8 +64,10 @@ endfunction
nnoremap <leader>q :call TaskWarriorAddCurrentLine()<CR>
-" pandoc command to generate weekly plan page in Firefox
-nnoremap <leader>w :!pandoc weekly_planning.md --css /home/lemon/.local/share/pandoc/templates/mystyles.css -s -o /tmp/toss.html; firefox /tmp/toss.html &<cr>
+" pandoc command to generate weekly plan page in Firefox (or not, if we just
+" wish to refresh)
+nnoremap <leader>w :!pandoc /home/lemon/Documents/Notes/MOD/Projects/weekly_planning.md --css /home/lemon/.local/share/pandoc/templates/mystyles.css -s -o /tmp/toss.html; firefox /tmp/toss.html &<cr>
+nnoremap <leader>W :!pandoc /home/lemon/Documents/Notes/MOD/Projects/weekly_planning.md --css /home/lemon/.local/share/pandoc/templates/mystyles.css -s -o /tmp/toss.html<cr>
" macro to go to end of sentence and add a line break (for