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"), ), NextTab: key.NewBinding( key.WithKeys("tab"), key.WithHelp("Tab", "Next tab"), ), PrevTab: key.NewBinding( key.WithKeys("shift+tab"), key.WithHelp("Shift+Tab", "Previous tab"), ), 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 Help ¶
type Help struct {
// contains filtered or unexported fields
}
Help is a popup that displays the help page.
type Keymap ¶
type Keymap struct { CloseTab key.Binding NextTab key.Binding PrevTab key.Binding ShowHelp key.Binding ToggleOfflineMode key.Binding }
Keymap contains the key bindings for the browser
func (*Keymap) SetEnabled ¶
SetEnabled allows to disable/enable shortcuts
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is used to store the state of the application
Click to show internal directories.
Click to hide internal directories.