Add pandoc/rmarkdown compilation shortcuts to vim
This commit is contained in:
parent
faf0542563
commit
eb88925501
3 changed files with 17 additions and 6 deletions
|
|
@ -28,7 +28,7 @@ case "$file" in
|
|||
*\.ms) refer -PS -e "$file" | groff -me -ms -kept -T pdf >"$base".pdf ;;
|
||||
*\.mom) refer -PS -e "$file" | groff -mom -kept -T pdf >"$base".pdf ;;
|
||||
*\.[0-9]) refer -PS -e "$file" | groff -mandoc -T pdf >"$base".pdf ;;
|
||||
*\.rmd | *\.md | *\.mkd | *\.markdown) echo "require(rmarkdown); render('$file')" | R -q --vanilla ;;
|
||||
*\.[Rr]md | *\.md | *\.mkd | *\.markdown) echo "require(rmarkdown); render('$file')" | R -q --vanilla ;;
|
||||
*\.tex) textype "$file" ;;
|
||||
*config.h) sudo make install ;;
|
||||
*\.c) cc "$file" -o "$base" && "$base" ;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue