Skip to content

Commit 714ac9b

Browse files
author
skywind3000
committed
update doc
1 parent deb4111 commit 714ac9b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README-cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ AsyncRun 可以用 `-mode=?` 参数指定运行模式,不指定的话,将会
299299
:AsyncRun -mode=term -pos=curwin -hidden python "$(VIM_FILEPATH)"
300300
```
301301

302-
当你用 split 窗口打开终端时 (`-pos``top`, `bottom`, `left``right` 的其中之一),AsyncRun 会先检查是否有之前已经运行结束的终端窗口,有的话会复用,没有的话,才会新建一个 split。
302+
当你用内置终端时,AsyncRun 会先检查是否有之前已经运行结束的终端窗口,有的话会复用,没有的话,才会新建一个 split。可以使用 `-pos=TAB`,大写的 tab 表示在当前 tab 的左边打开内置终端 tab
303303

304304
如果这些运行模式还不能满足你,你可以 [自定义运行模式](https://github.com/skywind3000/asyncrun.vim/wiki/Customize-Runner)
305305

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,9 @@ Examples:
296296
:AsyncRun -mode=term -pos=curwin -hidden python "$(VIM_FILEPATH)"
297297
```
298298

299-
When using a split (`-pos` is one of `top`, `bottom`, `left` and `right`), AsyncRun will firstly reuse a finished previous terminal window if it exists, if not, AsyncRun will create a new terminal window in given position.
299+
The `-pos` field accepts an uppercase `TAB`, to create tab on the left of current tab.
300+
301+
When using internal terminal, AsyncRun will firstly reuse a finished previous terminal window if it exists, if not, AsyncRun will create a new terminal window in given position.
300302

301303
### Terminal Name
302304

0 commit comments

Comments
 (0)