diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-07-28 07:03:32 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-07-28 07:03:32 +0000 |
commit | 86785004baf4086816b5d6684b9d0e4c56b58ea6 (patch) | |
tree | 822c8656bcf8c550a62c5bd00cb072f92542b48a /window-copy.c | |
parent | 2da48644837cd51cfe5a9628140866f06e049e50 (diff) | |
download | rtmux-86785004baf4086816b5d6684b9d0e4c56b58ea6.tar.gz rtmux-86785004baf4086816b5d6684b9d0e4c56b58ea6.tar.bz2 rtmux-86785004baf4086816b5d6684b9d0e4c56b58ea6.zip |
Next step towards customisable mode keys: build each default table of keys into
a named tree on start and use that for lookups. Also add command to string
translation tables and modify list-keys to show the the mode key bindings (new
-t argument).
Diffstat (limited to 'window-copy.c')
-rw-r--r-- | window-copy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/window-copy.c b/window-copy.c index 5fbfd0b8..8ea32126 100644 --- a/window-copy.c +++ b/window-copy.c @@ -108,9 +108,9 @@ window_copy_init(struct window_pane *wp) keys = options_get_number(&wp->window->options, "mode-keys"); if (keys == MODEKEY_EMACS) - mode_key_init(&data->mdata, mode_key_emacs_copy); + mode_key_init(&data->mdata, &mode_key_tree_emacs_copy); else - mode_key_init(&data->mdata, mode_key_vi_copy); + mode_key_init(&data->mdata, &mode_key_tree_vi_copy); s->cx = data->cx; s->cy = data->cy; |