aboutsummaryrefslogtreecommitdiffstats
path: root/assets/config.lua
diff options
context:
space:
mode:
Diffstat (limited to 'assets/config.lua')
-rw-r--r--assets/config.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/assets/config.lua b/assets/config.lua
index 64a0f39..3a0190d 100644
--- a/assets/config.lua
+++ b/assets/config.lua
@@ -1,4 +1,4 @@
--- Ducky runs this file on startup; Ctrl+R reloads it.
+-- Ducky runs this file on startup. Reload with Cmd+R on macOS or Ctrl+R elsewhere.
-- Full Lua 5.4 is available. Only run scripts you trust.
-- Your appearance is editable here; bundled themes: ember, glacier, paper, lagoon.
-- You can compute settings with Lua and require modules beside this file.
@@ -16,6 +16,7 @@ return {
border = '#49382a',
show_status_bar = true,
-- GPUI keystroke -> application action. Remove or remap any entry.
+ -- On macOS, ctrl means Command except with Tab. The alt modifier means Option.
shortcuts = {
['ctrl-t']='new_tab', ['ctrl-w']='close_tab',
['ctrl-c']='copy', ['ctrl-v']='paste', ['ctrl-alt-c']='interrupt',
@@ -35,7 +36,7 @@ return {
cwd = home,
env = { COLORTERM = 'truecolor' },
-- Send any command or escape sequence using a custom shortcut.
- -- Keystrokes use GPUI syntax: ctrl-g, alt-h, etc.
+ -- Keystrokes use the same modifier rules as shortcuts.
bindings = {
['ctrl-g'] = 'git status\r',
['ctrl-h'] = 'cd ~\r',