Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultKeymap = Keymap{ CloseTab: key.NewBinding( key.WithKeys("c", "ctrl+w"), key.WithHelp("c", "Close tab"), ), CycleTabs: key.NewBinding( key.WithKeys("tab"), key.WithHelp("Tab", "Cycle tabs"), ), ShowHelp: key.NewBinding( key.WithKeys("h", "ctrl+h"), key.WithHelp("h", "Help"), ), ToggleOfflineMode: key.NewBinding( key.WithKeys("o", "ctrl+o"), key.WithHelp("o", "Offline mode"), ), }
DefaultKeymap contains the default key bindings for the browser
Functions ¶
This section is empty.
Types ¶
type Keymap ¶ added in v1.2.0
type Keymap struct {
CloseTab key.Binding
CycleTabs key.Binding
ShowHelp key.Binding
ToggleOfflineMode key.Binding
}
Keymap contains the key bindings for the browser
func (Keymap) SetEnabled ¶ added in v1.3.0
SetEnabled allows to disable/enable shortcuts
Click to show internal directories.
Click to hide internal directories.