This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I made this short function to process my rmarkdown files: | |
> function MarkIt() | |
> :n **/*.Rmd | |
> :bufdo silent! cd %:p:h && Rscript -e "library(rmarkdown); render('%:p')" | |
> :redraw! | |
> endfunction | |
It still needs testing and so forth, but I didn't want to lose it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Before: | |
SUBSYSTEM=="usb", ATTRS{idVendor}=="1915", ATTRS{idProduct}=="7777", MODE="0664", GROUP="plugdev" | |
After (do not use as I made it up): | |
SUBSYSTEM=="usb", ATTRS{idVendor}=="1915", ATTRS{idProduct}=="7777", MODE="0664", GROUP="plugdev", FILE="udev_script.sh" | |
Closer to correct: | |
SUBSYSTEM=="usb", ATTRS{idVendor}=="1915", ATTRS{idProduct}=="7777", MODE="0664", GROUP="plugdev", RUN+="/path/to/script" | |
Final: |
NewerOlder