Skip to content

Commit 6fc72a1

Browse files
author
skywind3000
committed
update docs
1 parent d9b5652 commit 6fc72a1

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

README-cn.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,20 @@ AsyncRun 提供足够的可能性和灵活性让你指定运行命令的各处
361361
| `floaterm_reuse` | 再一个可复用的 floaterm 窗口内运行 | [floaterm](https://github.com/voldikss/vim-floaterm) | [floaterm_reuse.vim](autoload/asyncrun/runner/floaterm.vim) |
362362
| `quickui` | 在 quickui 的浮窗里运行 | [vim-quickui](https://github.com/skywind3000/vim-quickui) | [quickui.vim](autoload/asyncrun/runner/quickui.vim) |
363363

364+
比如:
365+
366+
```VimL
367+
:AsyncRun -mode=term -pos=gnome ls -la
368+
:AsyncRun -mode=term -pos=floaterm ls -la
369+
:AsyncRun -mode=term -pos=tmux ls -la
370+
```
371+
372+
下面是 `gnome` 这个 runner 的效果:
373+
374+
![](https://github.com/skywind3000/images/raw/master/p/asyncrun_extra/p_gnome_gvim.gif)
375+
376+
所有 runner 皆可定制,你可以很方便的开发新 runner,详细见 [customize runner](https://github.com/skywind3000/asyncrun.vim/wiki/Customize-Runner)
377+
364378
### 自定义 Runner
365379

366380
你可能还希望更多的执行方式,比如在新的 tmux 或者 gnore-terminal 的窗口里运行,AsyncRun 允许你自定义 runner:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ e.g.
358358
:AsyncRun -mode=term -pos=tmux ls -la
359359
```
360360

361-
screenshot:
361+
Screenshot for `gnome` runner:
362362

363363
![](https://github.com/skywind3000/images/raw/master/p/asyncrun_extra/p_gnome_gvim.gif)
364364

0 commit comments

Comments
 (0)