Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelFilePickerMsg ¶
type CancelFilePickerMsg struct{}
type KeyMap ¶
type KeyMap struct { ResetFileInput key.Binding `keymap-mode:"new-file"` Accept key.Binding `keymap-mode:"*"` Help key.Binding `keymap-mode:"*"` Exit key.Binding `keymap-mode:"*"` CreateFile key.Binding `keymap-mode:"browse"` CreateDirectory key.Binding `keymap-mode:"browse"` // filepicker forward GoToTop key.Binding `keymap-mode:"browse"` GoToLast key.Binding `keymap-mode:"browse"` Down key.Binding `keymap-mode:"browse"` Up key.Binding `keymap-mode:"browse"` PageUp key.Binding `keymap-mode:"browse"` PageDown key.Binding `keymap-mode:"browse"` Back key.Binding `keymap-mode:"browse"` Forward key.Binding `keymap-mode:"browse"` // buttons NextButton key.Binding `keymap-mode:"confirm-new,confirm-overwrite"` LeftButton key.Binding `keymap-mode:"confirm-new,confirm-overwrite"` RightButton key.Binding `keymap-mode:"confirm-new,confirm-overwrite"` }
func DefaultKeyMap ¶
func DefaultKeyMap() KeyMap
func (*KeyMap) UpdateKeyBindings ¶
type Model ¶
type Model struct { Title string Error string Filepicker bubblesfilepicker.Model SelectedPath string // contains filtered or unexported fields }
type SelectFileMsg ¶
type SelectFileMsg struct {
Path string
}
Click to show internal directories.
Click to hide internal directories.