FFF::Config
Inherits Reference < Object
Configuration from environment
Constants
KEY_DEFAULTS = {
up: ["FFF_KEY_UP", ["keys", "up"] of ::String, "k"],
down: ["FFF_KEY_DOWN", ["keys", "down"] of ::String, "j"],
enter: ["FFF_KEY_ENTER", ["keys", "enter"] of ::String, "l"],
quit: ["FFF_KEY_QUIT", ["keys", "quit"] of ::String, "q"],
search: ["FFF_KEY_SEARCH", ["keys", "search"] of ::String, "/"],
parent: ["FFF_KEY_PARENT", ["keys", "parent"] of ::String, "h"],
mark: ["FFF_KEY_MARK", ["keys", "mark"] of ::String, " "],
mark_all: ["FFF_KEY_MARK_ALL", ["keys", "mark_all"] of ::String, "m"],
copy: ["FFF_KEY_COPY", ["keys", "copy"] of ::String, "y"],
move: ["FFF_KEY_MOVE", ["keys", "move"] of ::String, "v"],
delete: ["FFF_KEY_DELETE", ["keys", "delete"] of ::String, "d"],
new_dir: ["FFF_KEY_NEW_DIR", ["keys", "new_dir"] of ::String, "n"],
paste: ["FFF_KEY_PASTE", ["keys", "paste"] of ::String, "p"],
preview: ["FFF_KEY_PREVIEW", ["keys", "preview"] of ::String, "i"],
page_up: ["FFF_KEY_PAGE_UP", ["keys", "page_up"] of ::String, "\e[5~"],
page_down: ["FFF_KEY_PAGE_DOWN", ["keys", "page_down"] of ::String, "\e[6~"],
top: ["FFF_KEY_TOP", ["keys", "top"] of ::String, "g"],
bottom: ["FFF_KEY_BOTTOM", ["keys", "bottom"] of ::String, "G"],
rename: ["FFF_KEY_RENAME", ["keys", "rename"] of ::String, "r"],
shell: ["FFF_KEY_SHELL", ["keys", "shell"] of ::String, "s"],
hidden: ["FFF_KEY_HIDDEN", ["keys", "hidden"] of ::String, "."],
home: ["FFF_KEY_HOME", ["keys", "home"] of ::String, "~"],
prev: ["FFF_KEY_PREVIOUS", ["keys", "previous"] of ::String, "-"],
refresh: ["FFF_KEY_REFRESH", ["keys", "refresh"] of ::String, "e"],
mkfile: ["FFF_KEY_MKFILE", ["keys", "mkfile"] of ::String, "f"],
attributes: ["FFF_KEY_ATTRIBUTES", ["keys", "attributes"] of ::String, "x"],
executable: ["FFF_KEY_EXECUTABLE", ["keys", "executable"] of ::String, "X"],
go_dir: ["FFF_KEY_GO_DIR", ["keys", "go_dir"] of ::String, ":"],
go_trash: ["FFF_KEY_GO_TRASH", ["keys", "go_trash"] of ::String, "t"],
bulk_rename: ["FFF_KEY_BULK_RENAME", ["keys", "bulk_rename"] of ::String, "b"],
symlink: ["FFF_KEY_SYMLINK", ["keys", "symlink"] of ::String, "S"],
help: ["FFF_KEY_HELP", ["keys", "help"] of ::String, "?"],
}
── Phase 14: key binding defaults — single source of truth ── key_* ivar = ENV[env]? || json_get(json, keys_array) || default Order mirrors this table. Add new keys here + getter + key_bindings entry.
Constructors
new
SourceInstance methods
bookmarks
Sourcecd_file
Sourcecd_on_exit
Sourcecolumn_mode
Sourceeditor
Sourcefavorites
Sourceicons
Sourcekey_attributes
Sourcekey_bindings
Sourcekey_bottom
Sourcekey_bulk_rename
Sourcekey_copy
Sourcekey_delete
Sourcekey_down
Sourcekey_enter
Sourcekey_executable
Sourcekey_go_dir
Sourcekey_go_trash
Sourcekey_help
Sourcekey_home
Sourcekey_mark
Sourcekey_mark_all
Sourcekey_mkfile
Sourcekey_move
Sourcekey_new_dir
Sourcekey_page_down
Sourcekey_page_up
Sourcekey_parent
Sourcekey_paste
Sourcekey_prev
Sourcekey_preview
Sourcekey_quit
Sourcekey_refresh
Sourcekey_rename
Sourcekey_search
Sourcekey_shell
Sourcekey_symlink
Sourcekey_top
Sourcekey_up
Sourcels_colors
Sourceopener
Sourcepreview
Sourcepreview_width
Sourceshow_columns
Sourcetrash_dir
Source