GeezerVison is showing luakit.github.io — Luakit API Documentation
Table of Contents
Pages
Modules
Classes
Module tabgroups
Tab groups management module
This module allows you to group opened tabs and switch between different groups
and tabs in groups
Capabilities
Usage
- Add
require "tabgroups" to your rc.lua.
- Press 'x' to open list of defined tabgroups.
- Press 'X' to open list of tabs in active tabgroup.
- (Optional) add the
tgname widget to your status bar.
Troubleshooting
Files and Directories
Functions
Open a given uri in a new tab in the given window.
Parameters
-
The window the tab should be opened in.
-
The tabgroup the new tab should be added to.
-
-
Move tab to another tabgroup.
Parameters
-
The window the tab should be opened in.
-
-
The tabgroup the new tab should be added to.
Create a new tabgroup (or fetch one if group_name is in use).
Parameters
-
The window to be associated with the tabgroup.
-
The name of the new group.
Return Values
-
table
The tabgroup, newly created or already existing.
Switch to specified tabgroup
Parameters
-
-
The name of the tabgroup to switch to.
Delete the specified tabgroup
Parameters
-
-
The name of the tabgroup to delete.
Return Values
-
boolean
nil if only one tabgroup exists, true otherwise.
Return the name of the current tabgroup.
Parameters
-
The object to set up for signals.
-
Return Values
-
string
The name of w's current tabgroup.
Attribution