[docgen] Update docs
skip-checks: true
This commit is contained in:
parent
393f0dcf82
commit
2a63f9224f
2 changed files with 12 additions and 9 deletions
17
doc/api.md
17
doc/api.md
|
|
@ -111,14 +111,15 @@ Restore the buffer that was present when oil was opened
|
||||||
`select(opts)` \
|
`select(opts)` \
|
||||||
Select the entry under the cursor
|
Select the entry under the cursor
|
||||||
|
|
||||||
| Param | Type | Desc | |
|
| Param | Type | Desc | |
|
||||||
| ----- | ------------ | -------------------------------------------------- | ------------------------------------- |
|
| ----- | ------------ | -------------------------------------------------- | ---------------------------------------------------- |
|
||||||
| opts | `nil\|table` | | |
|
| opts | `nil\|table` | | |
|
||||||
| | vertical | `boolean` | Open the buffer in a vertical split |
|
| | vertical | `boolean` | Open the buffer in a vertical split |
|
||||||
| | horizontal | `boolean` | Open the buffer in a horizontal split |
|
| | horizontal | `boolean` | Open the buffer in a horizontal split |
|
||||||
| | split | `"aboveleft"\|"belowright"\|"topleft"\|"botright"` | Split modifier |
|
| | split | `"aboveleft"\|"belowright"\|"topleft"\|"botright"` | Split modifier |
|
||||||
| | preview | `boolean` | Open the buffer in a preview window |
|
| | preview | `boolean` | Open the buffer in a preview window |
|
||||||
| | tab | `boolean` | Open the buffer in a new tab |
|
| | tab | `boolean` | Open the buffer in a new tab |
|
||||||
|
| | close | `boolean` | Close the original oil buffer once selection is made |
|
||||||
|
|
||||||
## save(opts)
|
## save(opts)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -211,6 +211,8 @@ select({opts}) *oil.selec
|
||||||
modifier
|
modifier
|
||||||
{preview} `boolean` Open the buffer in a preview window
|
{preview} `boolean` Open the buffer in a preview window
|
||||||
{tab} `boolean` Open the buffer in a new tab
|
{tab} `boolean` Open the buffer in a new tab
|
||||||
|
{close} `boolean` Close the original oil buffer once selection is
|
||||||
|
made
|
||||||
|
|
||||||
save({opts}) *oil.save*
|
save({opts}) *oil.save*
|
||||||
Save all changes
|
Save all changes
|
||||||
|
|
@ -317,7 +319,7 @@ close *actions.clos
|
||||||
Close oil and restore original buffer
|
Close oil and restore original buffer
|
||||||
|
|
||||||
copy_entry_path *actions.copy_entry_path*
|
copy_entry_path *actions.copy_entry_path*
|
||||||
Copy the filepath of the entry under the cursor to the + register
|
Yank the filepath of the entry under the cursor to a register
|
||||||
|
|
||||||
open_cmdline *actions.open_cmdline*
|
open_cmdline *actions.open_cmdline*
|
||||||
Open vim cmdline with current entry as an argument
|
Open vim cmdline with current entry as an argument
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue