This makes the individual functions a bit easier to discover, and a lot easier to link to.
16 lines
301 B
Markdown
16 lines
301 B
Markdown
# CloseCurrentTab
|
|
|
|
Equivalent to clicking the `x` on the window title bar to close it: Closes the
|
|
current tab. If that was the last tab, closes that window. If that was the
|
|
last window, wezterm terminates.
|
|
|
|
```lua
|
|
return {
|
|
keys = {
|
|
{key="w", mods="CMD", action="CloseCurrentTab"},
|
|
}
|
|
}
|
|
```
|
|
|
|
|