diff options
| author | William Casarin <jb55@jb55.com> | 2018-07-09 20:42:23 -0700 |
|---|---|---|
| committer | William Casarin <jb55@jb55.com> | 2018-07-09 20:42:23 -0700 |
| commit | 70629701efb30043e3554fa099018efbf1ac3a1d (patch) | |
| tree | 0fa9ccbc0a5586ff1e3f526f9799e06bc975be16 /cfg.def.h | |
| parent | e0bbbe3beb40f4ecd396c12745911bbdb1ee73c9 (diff) | |
keybindings help
Diffstat (limited to 'cfg.def.h')
| -rw-r--r-- | cfg.def.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -55,11 +55,16 @@ static struct scheme schemes[SchemeLast] = { .children = (cs), \ }, +static struct command test_commands[] = { + DEFCMD("t", "test command", "echo ok") +}; + static struct command browser_commands[] = { DEFCMD("s", "chrome scaled", "chrome") DEFCMD("c", "chromium", "chromium") DEFCMD("f", "firefox", "firefox") DEFCMD("k", "kill chrome", "pkill --oldest chromium") + DEFPREFIX("t", "test nested prefix", test_commands) }; static struct command commands[] = { |
