Awesome
vim-wenyan
Vim support for wenyan-lang(文言文編程語言)
Installation
Plug 'voldikss/vim-wenyan'
Features
- Auto dectect
Only load this plugin when edit wenyan script with extention *.wy
or
*.wenyan
or even *.文言
.
- Syntax highlight
- Snippets
- Indent
- Buffer mappings
- Directly running
The following command/mappings availalbe when editing wenyan file.
map | command | argument | action |
---|---|---|---|
<F9> | :Compile | js/py/rb | compile to target script and open |
<F5> | :Run | js default only | directly run wenyan script |
<F6> | :Render | render title | outpu to .svg file |
<S-F9> | :Clean | js/py/rb/svg | clean some files |