Go to file
nicm 76d6d3641f Fundamental change to how copy mode key bindings work:
The vi-copy and emacs-copy mode key tables are gone, and instead copy
mode commands are bound in one of two normal key tables ("copy-mode" or
"copy-mode-vi"). Keys are bound to "send-keys -X copy-mode-command". So:

    bind -temacs-copy C-Up scroll-up
    bind -temacs-copy -R5 WheelUpPane scroll-up

Becomes:

    bind -Tcopy-mode C-Up send -X scroll-up
    bind -Tcopy-mode WheelUpPane send -N5 -X scroll-up

This allows the full command parser and command set to be used - for
example, we can use the normal command prompt for searching, jumping,
and so on instead of a custom one:

    bind -Tcopy-mode C-r command-prompt -p'search up' "send -X search-backward '%%'"

command-prompt also gets a -1 option to only require on key press, which
is needed for jumping.

The plan is to get rid of mode keys entirely, so more to come eventually.
2016-10-11 07:23:34 +00:00
Makefile Add hooks infrastructure, basic commands (set-hook, show-hooks) and a 2015-12-08 01:10:31 +00:00
alerts.c Remove some dead code in cmd-move-window.c and make a load of local 2016-10-03 22:52:11 +00:00
arguments.c Some more static. 2016-10-10 13:54:47 +00:00
attributes.c Use snprintf for constructing attribute string, from Tim Ruehsen. 2012-03-17 21:45:25 +00:00
cfg.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
client.c Remove some dead code in cmd-move-window.c and make a load of local 2016-10-03 22:52:11 +00:00
cmd-attach-session.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-bind-key.c Fundamental change to how copy mode key bindings work: 2016-10-11 07:23:34 +00:00
cmd-break-pane.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-capture-pane.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-choose-buffer.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-choose-client.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-choose-tree.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-clear-history.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-command-prompt.c Fundamental change to how copy mode key bindings work: 2016-10-11 07:23:34 +00:00
cmd-confirm-before.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-copy-mode.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-detach-client.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-display-message.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-display-panes.c Allow a command to be specified to display-panes, similar to 2016-06-16 10:55:47 +00:00
cmd-find-window.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-find.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-has-session.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-if-shell.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-join-pane.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-kill-pane.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-kill-server.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-kill-session.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-kill-window.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-list-buffers.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-list-clients.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-list-keys.c Fundamental change to how copy mode key bindings work: 2016-10-11 07:23:34 +00:00
cmd-list-panes.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-list-sessions.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-list-windows.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-list.c I no longer use my SourceForge address so replace it. 2016-01-19 15:59:12 +00:00
cmd-load-buffer.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-lock-server.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-move-window.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-new-session.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-new-window.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-paste-buffer.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-pipe-pane.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-queue.c Couple of vasprintf -> xvasprintf. 2016-09-28 14:40:07 +00:00
cmd-refresh-client.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-rename-session.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-rename-window.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-resize-pane.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-respawn-pane.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-respawn-window.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-rotate-window.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-run-shell.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-save-buffer.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-select-layout.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-select-pane.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-select-window.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-send-keys.c Fundamental change to how copy mode key bindings work: 2016-10-11 07:23:34 +00:00
cmd-send-prefix.c Make command exec functions return an enum rather than -1/0/1 values and 2012-07-11 07:10:15 +00:00
cmd-set-buffer.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-set-environment.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-set-hook.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-set-option.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-show-buffer.c Make command exec functions return an enum rather than -1/0/1 values and 2012-07-11 07:10:15 +00:00
cmd-show-environment.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-show-messages.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-show-options.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-source-file.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-split-window.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-string.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-swap-pane.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-swap-window.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-switch-client.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-unbind-key.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd-wait-for.c Add static in cmd-* and fix a few other nits. 2016-10-10 21:51:39 +00:00
cmd.c Allow cmd_mouse_at return arguments to be NULL. 2016-10-05 12:32:13 +00:00
colour.c Instead of representing colours in several different forms with various 2016-07-15 00:42:56 +00:00
control-notify.c I no longer use my SourceForge address so replace it. 2016-01-19 15:59:12 +00:00
control.c I no longer use my SourceForge address so replace it. 2016-01-19 15:59:12 +00:00
environ.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
format.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
grid-view.c Remember the number of lines scrolled into the history (versus cleared 2016-09-02 20:57:20 +00:00
grid.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
hooks.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
input-keys.c Remove some dead code in cmd-move-window.c and make a load of local 2016-10-03 22:52:11 +00:00
input.c Remove some dead code in cmd-move-window.c and make a load of local 2016-10-03 22:52:11 +00:00
job.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
key-bindings.c Fundamental change to how copy mode key bindings work: 2016-10-11 07:23:34 +00:00
key-string.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
layout-custom.c Fix minimum size when pane status line is enabled, reported by Y Petremann. 2016-08-03 09:07:02 +00:00
layout-set.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
layout.c Do not allow the opposite pane to resize when dragging with the mouse 2016-10-10 17:28:30 +00:00
log.c I no longer use my SourceForge address so replace it. 2016-01-19 15:59:12 +00:00
mode-key.c Fundamental change to how copy mode key bindings work: 2016-10-11 07:23:34 +00:00
names.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
notify.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
options-table.c Remove some dead code in cmd-move-window.c and make a load of local 2016-10-03 22:52:11 +00:00
options.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
paste.c Some more static. 2016-10-10 13:54:47 +00:00
proc.c I no longer use my SourceForge address so replace it. 2016-01-19 15:59:12 +00:00
procname.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
resize.c I no longer use my SourceForge address so replace it. 2016-01-19 15:59:12 +00:00
screen-redraw.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
screen-write.c screen_write_copy tried to be clever and clear the line if it reached 2016-10-05 22:00:29 +00:00
screen.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
server-client.c Fundamental change to how copy mode key bindings work: 2016-10-11 07:23:34 +00:00
server-fn.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
server.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
session.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
signal.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
status.c Fundamental change to how copy mode key bindings work: 2016-10-11 07:23:34 +00:00
style.c Instead of representing colours in several different forms with various 2016-07-15 00:42:56 +00:00
tmux.1 Fundamental change to how copy mode key bindings work: 2016-10-11 07:23:34 +00:00
tmux.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
tmux.h Fundamental change to how copy mode key bindings work: 2016-10-11 07:23:34 +00:00
tty-acs.c Remove some dead code in cmd-move-window.c and make a load of local 2016-10-03 22:52:11 +00:00
tty-keys.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
tty-term.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
tty.c Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
utf8.c Support UTF-8 entry into the command prompt. 2016-10-11 07:11:40 +00:00
window-choose.c Fundamental change to how copy mode key bindings work: 2016-10-11 07:23:34 +00:00
window-clock.c Fundamental change to how copy mode key bindings work: 2016-10-11 07:23:34 +00:00
window-copy.c Fundamental change to how copy mode key bindings work: 2016-10-11 07:23:34 +00:00
window.c Fundamental change to how copy mode key bindings work: 2016-10-11 07:23:34 +00:00
xmalloc.c fatalx() not fatal(). 2016-04-04 16:19:43 +00:00
xmalloc.h Sync the entire xmalloc.[ch] with the other users, but with the addition 2015-11-18 13:06:54 +00:00
xterm-keys.c Remove some dead code in cmd-move-window.c and make a load of local 2016-10-03 22:52:11 +00:00