diff options
author | Matthew Lemon <y@yulqen.org> | 2023-09-22 16:44:53 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-09-22 16:44:53 +0100 |
commit | 2457ecaa635fd180139ff1ea86d17a914ab1e22d (patch) | |
tree | 362c6cf8567c4308e70871c9d126b7b671c17004 | |
parent | f3458de98176acaaa1c84d5c033e5d7c4804125d (diff) |
vim stuff to run weekly plan and pandoc
-rw-r--r-- | vim/vimrc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |