Versions in this module Expand all Collapse all v1 v1.7.0 Nov 18, 2026 Changes in this version + const MaxFileViews + const MaxPlaces + const MaxRecent + const SecretShowDefault + func CleanTypes(list []string) []string + func DefaultPath() (string, error) + type FileView struct + File string + History bool + View string + type Place struct + File string + Height int + Width int + X int + Y int + type Settings struct + Accent string + Autosave bool + CodeFont string + FileViews []FileView + HistoryFocus string + HistoryPane string + HistoryRC string + HistoryReuse bool + LastFolder string + LineSpacing string + Look string + Neovim bool + NeovimClean bool + NeovimOwnColors bool + NeovimPath string + NoRules bool + NoShadows bool + NoSpellCheck bool + NoSprockets bool + OpenTypes []string + Pinned []string + Places []Place + Recent []string + SecretShowSeconds int + Serve bool + SessionFolder string + SessionTemplate string + Shell string + StartFolder string + TemplateFolder string + TextSize int + Theme string + UIFont string + View string + Vim bool + func (s *Settings) OpenType(path string) bool + func (s *Settings) Opened(file string) + func (s *Settings) Pin(file string, pin bool) bool + func (s *Settings) Placed(p Place) bool + func (s *Settings) Viewed(v FileView) bool + func (s Settings) FileView(file string) (FileView, bool) + func (s Settings) Place(file string) (Place, bool) + func (s Settings) SecretShow() time.Duration + func (s Settings) StartDir(cwd, home, documents string) string + type Store struct + func Open(path string) (*Store, error) + func (st *Store) Get() Settings + func (st *Store) OnChange(fn func(Settings)) + func (st *Store) Path() string + func (st *Store) Update(f func(*Settings)) error