class

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

Instance methods

bookmarks
Source
cd_file
Source
cd_on_exit
Source
column_mode
Source
editor
Source
favorites
Source
icons
Source
key_attributes
Source
key_bindings
Source
key_bottom
Source
key_bulk_rename
Source
key_copy
Source
key_delete
Source
key_down
Source
key_enter
Source
key_executable
Source
key_go_dir
Source
key_go_trash
Source
key_help
Source
key_hidden
Source
key_home
Source
key_mark
Source
key_mark_all
Source
key_mkfile
Source
key_move
Source
key_new_dir
Source
key_page_down
Source
key_page_up
Source
key_parent
Source
key_paste
Source
key_prev
Source
key_preview
Source
key_quit
Source
key_refresh
Source
key_rename
Source
key_search
Source
key_shell
Source
key_top
Source
key_up
Source
ls_colors
Source
opener
Source
preview
Source
preview_width
Source
show_columns
Source
theme

── New UI settings ──

Source
trash_dir
Source