diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-07-26 14:19:51 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-07-26 14:19:51 +0800 |
commit | 0cb8e9a9bb2c5be508b3f96f94192ae5f714aae0 (patch) | |
tree | b484adfb5d634f5eeee41ec13d104dd1b78990c5 /vimrc | |
parent | cf91538b181ae7c31bef9124a75039ff05ef0ed3 (diff) |
Update script about slide
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -182,6 +182,15 @@ augroup blogRebuild | |||
182 | augroup END | 182 | augroup END |
183 | 183 | ||
184 | """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | 184 | """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
185 | " => Settings for Slides | ||
186 | """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | ||
187 | |||
188 | " Generate static pages | ||
189 | augroup slideRebuild | ||
190 | autocmd BufWritePost ~/public/*/*.slide :!cd %:p:h && reveal %:t >/dev/null | ||
191 | augroup END | ||
192 | |||
193 | """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | ||
185 | " => Redirect the output of a Vim or external command into a scratch buffer | 194 | " => Redirect the output of a Vim or external command into a scratch buffer |
186 | """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | 195 | """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
187 | " Copy from : https://gist.github.com/romainl/eae0a260ab9c135390c30cd370c20cd7 | 196 | " Copy from : https://gist.github.com/romainl/eae0a260ab9c135390c30cd370c20cd7 |