docs: fix some typos in MuxPane.md
This commit is contained in:
1 parent
bf199caa3f
commit
2f073a7da2
1 file changed
+9
-9
@@ -30,7 +30,7 @@ Specifies the argument array for the command that should be spawned.
|
||||
If omitted the default program for the domain will be spawned.
|
||||
|
||||
```lua
|
||||
pane:split{args={"top"})
|
||||
pane:split{args={"top"}}
|
||||
```
|
||||
|
||||
### cwd
|
||||
@@ -41,7 +41,7 @@ the program.
|
||||
If unspecified, follows the rules from [default_cwd](config/default_cwd.md)
|
||||
|
||||
```lua
|
||||
pane:split{cwd="/tmp"})
|
||||
pane:split{cwd="/tmp"}
|
||||
```
|
||||
|
||||
### set_environment_variables
|
||||
@@ -50,7 +50,7 @@ Sets additional environment variables in the environment for
|
||||
this command invocation.
|
||||
|
||||
```lua
|
||||
pane:split{set_environment_variables={"FOO"="BAR"})
|
||||
pane:split{set_environment_variables={"FOO"="BAR"}}
|
||||
```
|
||||
|
||||
### domain
|
||||
@@ -63,13 +63,13 @@ You may specify the name of one of the multiplexer domains
|
||||
defined in your configuration using the following:
|
||||
|
||||
```lua
|
||||
pane:split{domain={DomainName="my.name"})
|
||||
pane:split{domain={DomainName="my.name"}}
|
||||
```
|
||||
|
||||
Or you may use the default domain:
|
||||
|
||||
```lua
|
||||
pane:split{domain="DefaultDomain"})
|
||||
pane:split{domain="DefaultDomain"}
|
||||
```
|
||||
|
||||
### direction
|
||||
@@ -82,7 +82,7 @@ Specifies where the new pane should be placed. Possible values are:
|
||||
* `"Bottom"` - splits the pane top/bottom and places the new pane on the bottom.
|
||||
|
||||
```lua
|
||||
pane:split{direction="Top"})
|
||||
pane:split{direction="Top"}
|
||||
```
|
||||
|
||||
### top_level
|
||||
@@ -91,7 +91,7 @@ If `true`, rather than splitting `pane` in half, the tab that contains it
|
||||
is split and the new pane runs the full extent of the tab dimensions.
|
||||
|
||||
```lua
|
||||
pane:split{direction="Bottom", top_level=true})
|
||||
pane:split{direction="Bottom", top_level=true}
|
||||
```
|
||||
|
||||
### size
|
||||
@@ -110,8 +110,8 @@ This creates two additional splits within `pane`, creating three
|
||||
total splits that each occupy 1/3 of the available space:
|
||||
|
||||
```lua
|
||||
pane:split{direction="Top", size=0.333})
|
||||
pane:split{direction="Top", size=0.5})
|
||||
pane:split{direction="Top", size=0.333}
|
||||
pane:split{direction="Top", size=0.5}
|
||||
```
|
||||
|
||||
## `pane:send_paste(text)`
|
||||
|
||||
Reference in new issue
Block a user