-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault_config.toml
More file actions
76 lines (70 loc) · 2.41 KB
/
default_config.toml
File metadata and controls
76 lines (70 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# One of: off, error, warn, info, debug, or trace
# Logs are written to stderr
log_level = "off"
# Include files are merged on top of this config (later files take precedence)
# Relative paths are resolved from the directory containing this config file
# include_files = ["my-theme.toml"]
[file_system]
# Buffer sizes for file operations
buffer_max_bytes = 64000000 # 64 MB
buffer_min_bytes = 64000 # 64 KB
# Minimum time between filesystem updates to avoid excessive refreshes
refresh_debounce_milliseconds = 100
# Programs to use to open files or directories:
# %s will be replaced by the relevant path
[openers.linux]
open_current_directory = "xterm -e 'cd %s'"
open_new_window = "xterm -e filectrl %s" # e.g. "alacritty --command filectrl %s"
open_selected_file = "xdg-open %s"
[openers.macos]
open_current_directory = "open -a Terminal %s"
# Activates Terminal and opens filectrl in a new window
open_new_window = "osascript -e 'tell application \"Terminal\" to activate' -e 'tell application \"Terminal\" to do script \"filectrl %s\"'"
open_selected_file = "open %s"
[ui]
# How long to wait to interpret multiple clicks to the same element as a double click
double_click_interval_milliseconds = 300
sort_directories_first = true
# Keybindings for normal mode and prompt mode.
# Arrow keys, Home/End, PageUp/PageDown, and Esc are always hardcoded.
# Values can be a single key string or an array of key strings.
# Key strings: single chars ("q"), uppercase implies Shift ("G"), named keys
# ("Enter", "Esc", "Backspace", "Delete", "Space", "Tab", "PgUp", "PgDn", "F2"),
# and modifier prefixes ("Ctrl+c", "Ctrl+Shift+a").
[keybindings]
# Normal mode
quit = "q"
toggle_help = "?"
clear_alerts = "a"
clear_progress = "p"
back = ["h", "b", "Backspace"]
open = ["l", "f", "Enter", "Space"]
open_current_directory = "o"
open_new_window = "w"
go_home = "~"
refresh = ["Ctrl+r", "F5"]
select_next = "j"
select_previous = "k"
select_first = ["g", "^"]
select_last = ["G", "$"]
select_middle = "z"
page_up = ["Ctrl+u", "Ctrl+b"]
page_down = ["Ctrl+d", "Ctrl+f"]
toggle_mark = "v"
range_mark = "V"
copy = ["c", "Ctrl+c"]
cut = ["x", "Ctrl+x"]
paste = "Ctrl+v"
delete = ["d", "Delete"]
rename = ["r", "F2"]
filter = "/"
sort_by_name = ["n", "N"]
sort_by_modified = ["m", "M"]
sort_by_size = ["s", "S"]
# Prompt mode
prompt_submit = "Enter"
prompt_reset = "Ctrl+z"
prompt_select_all = "Ctrl+Shift+a"
prompt_copy = "Ctrl+c"
prompt_cut = "Ctrl+x"
prompt_paste = "Ctrl+v"