Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7e545d5

Browse files
author
ma6174
committed
update readme
1 parent c8cacb3 commit 7e545d5

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

‎.vimrc‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,8 @@ func! CompileRunGcc()
196196
" exec "!go build %<"
197197
exec "!time go run %"
198198
elseif &filetype == 'mkd'
199-
" exec "!touch ~/temp.html"
200-
" exec "!perl ~/.vim/markdown.pl % > /tmp/temp.html<"<CR>
201-
" exec "!markdown % > /tmp/temp.html<"<CR>
202-
" exec "md"
203-
exec "!firefox /tmp/markdown.html &"
199+
exec "!~/.vim/markdown.pl % > %.html &"
200+
exec "!firefox %.html &"
204201
endif
205202
endfunc
206203
"C,C++的调试

‎README.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@
2727
- clone bundle 程序:`git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle`
2828
- 打开vim并执行bundle程序`:BundleInstall`
2929

30+
## 2013年6月2日tip
31+
32+
- 编写markdown文件(`*.md`)的时候,在normal模式下按 `md` 即可在当前目录下生成相应的`html`文件
33+
- 生成之后还是在normal模式按`fi`可以使用firefox打开相应的`html`文件预览
34+
- 当然也可以使用万能的`F5`键来一键转换并打开预览
35+
- 如果打开过程中屏幕出现一些混乱信息,可以按`Ctrl + l`来恢复
36+
3037
## 2013年5月31日更新
3138

3239
- 增加400多种主题,可以在[colors](colors)目录中找到

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /