File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -361,6 +361,20 @@ AsyncRun 提供足够的可能性和灵活性让你指定运行命令的各处
361
361
| ` floaterm_reuse ` | 再一个可复用的 floaterm 窗口内运行 | [ floaterm] ( https://github.com/voldikss/vim-floaterm ) | [ floaterm_reuse.vim] ( autoload/asyncrun/runner/floaterm.vim ) |
362
362
| ` quickui ` | 在 quickui 的浮窗里运行 | [ vim-quickui] ( https://github.com/skywind3000/vim-quickui ) | [ quickui.vim] ( autoload/asyncrun/runner/quickui.vim ) |
363
363
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
+
364
378
### 自定义 Runner
365
379
366
380
你可能还希望更多的执行方式,比如在新的 tmux 或者 gnore-terminal 的窗口里运行,AsyncRun 允许你自定义 runner:
Original file line number Diff line number Diff line change 358
358
:AsyncRun -mode=term -pos=tmux ls -la
359
359
```
360
360
361
- screenshot :
361
+ Screenshot for ` gnome ` runner :
362
362
363
363
![ ] ( https://github.com/skywind3000/images/raw/master/p/asyncrun_extra/p_gnome_gvim.gif )
364
364
You can’t perform that action at this time.
0 commit comments