Go to file
nicm 45dfc5a074 Instead of setting up the default keys by building the key struct
directly with a helper function in the cmd_entry, include a table of
bind-key commands and pass them through the command parser and a
temporary cmd_q.

As well as being smaller, this will allow default bindings to be command
sequences which will probably be needed soon.
2014-10-20 22:29:25 +00:00
arguments.c Don't blindly increase offsets by the return value of snprintf, if there 2014-04-11 19:35:54 +00:00
array.h Add xreallocarray and remove nmemb argument from xrealloc. 2014-10-08 17:35:58 +00:00
attributes.c Use snprintf for constructing attribute string, from Tim Ruehsen. 2012-03-17 21:45:25 +00:00
cfg.c Handle escaped back slashes and missing new lines at end of line by using 2014-06-25 19:17:27 +00:00
client.c Call waitpid on SIGCHLD even if client not attached, it is possible (on 2014-10-01 23:23:19 +00:00
cmd-attach-session.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-bind-key.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-break-pane.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-capture-pane.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-choose-buffer.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-choose-client.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-choose-tree.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-clear-history.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-clock-mode.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-command-prompt.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-confirm-before.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-copy-mode.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-delete-buffer.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-detach-client.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-display-message.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-display-panes.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-find-window.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +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 Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-join-pane.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-kill-pane.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-kill-server.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-kill-session.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-kill-window.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-link-window.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-list-buffers.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-list-clients.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-list-commands.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-list-keys.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-list-panes.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-list-sessions.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-list-windows.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-list.c Various minor style and spacing nits. 2014-09-01 21:50:18 +00:00
cmd-load-buffer.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-lock-server.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-move-window.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-new-session.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-new-window.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-paste-buffer.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-pipe-pane.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-queue.c Various minor style and spacing nits. 2014-09-01 21:50:18 +00:00
cmd-refresh-client.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-rename-session.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-rename-window.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-resize-pane.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-respawn-pane.c If multiple arguments are given to new-session, new-window, 2014-05-13 08:08:32 +00:00
cmd-respawn-window.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-rotate-window.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-run-shell.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-save-buffer.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-select-layout.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-select-pane.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-select-window.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-send-keys.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +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 Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-set-environment.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-set-option.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +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 Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-show-messages.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-show-options.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-source-file.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-split-window.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-string.c Add xreallocarray and remove nmemb argument from xrealloc. 2014-10-08 17:35:58 +00:00
cmd-suspend-client.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-swap-pane.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-swap-window.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-switch-client.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-unbind-key.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-unlink-window.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd-wait-for.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
cmd.c Add xreallocarray and remove nmemb argument from xrealloc. 2014-10-08 17:35:58 +00:00
colour.c Remove tmux's (already minimal) 88 colour support. Such terminals are 2013-03-27 11:17:12 +00:00
control-notify.c Differentiate between linked and unlinked window closes and renames, 2014-04-23 10:14:29 +00:00
control.c Pass flags into cmdq_guard as an argument since sometimes cmdq->cmd can 2013-10-10 11:45:28 +00:00
environ.c Some more long lines. 2014-04-17 14:45:49 +00:00
format.c Add xreallocarray and remove nmemb argument from xrealloc. 2014-10-08 17:35:58 +00:00
grid-cell.c Rather than having two grids for each pane, one for ASCII and one for 2013-01-18 02:16:21 +00:00
grid-view.c Some more long lines. 2014-04-17 14:45:49 +00:00
grid.c Add xreallocarray and remove nmemb argument from xrealloc. 2014-10-08 17:35:58 +00:00
input-keys.c Revert the up/down wheel emulation for now, there will be a better way 2014-07-21 20:45:35 +00:00
input.c Add xreallocarray and remove nmemb argument from xrealloc. 2014-10-08 17:35:58 +00:00
job.c Don't leak socketpair file descriptors if fork fails. Spotted by Balazs 2014-04-14 22:27:30 +00:00
key-bindings.c Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
key-string.c Drop explicit support for F13-F20 and change to match the xterm terminfo 2014-07-21 10:25:48 +00:00
layout-custom.c Fix handling of short (< 4 character) checksums and a bug with parsing 2013-03-25 11:35:30 +00:00
layout-set.c Some more long lines. 2014-04-17 14:45:49 +00:00
layout.c Both the two previous ways of navigating panes by direction have 2014-05-08 06:03:30 +00:00
log.c Remove log_debug2 as well and simplify log.c. 2014-03-31 21:42:45 +00:00
Makefile Remove the choose-list command to prepare for some later choose-* work. 2014-04-16 21:02:41 +00:00
mode-key.c No need to repeat other-end more than once, from Juho Pohjala. Also add 2014-08-11 22:39:57 +00:00
names.c If multiple arguments are given to new-session, new-window, 2014-05-13 08:08:32 +00:00
notify.c Add notification for input from a pane, from George Nachman. 2012-09-25 07:41:22 +00:00
options-table.c Wrap some long lines. 2014-04-17 12:57:28 +00:00
options.c Allow replacing each of the many sets of separate foo-{fg,bg,attr} 2014-01-28 23:07:09 +00:00
paste.c Add xreallocarray and remove nmemb argument from xrealloc. 2014-10-08 17:35:58 +00:00
procname.c Track whether a process is a zombie or not yet fully built via flags 2014-07-04 05:58:31 +00:00
resize.c Make session_attached a count and add session_many_attached flag. 2014-03-31 21:37:55 +00:00
screen-redraw.c Having three *clock* files is ridiculous, remove clock.c. 2014-03-31 21:34:08 +00:00
screen-write.c Copy ACS characters as UTF-8, from Balazs Kezes. 2014-10-02 08:36:26 +00:00
screen.c Add xreallocarray and remove nmemb argument from xrealloc. 2014-10-08 17:35:58 +00:00
server-client.c Update status when pane selected with mouse, from Balazs Kezes. 2014-10-02 09:31:30 +00:00
server-fn.c Some more long lines. 2014-04-17 14:45:49 +00:00
server-window.c Remove the monitor-content option and associated bits and bobs. It's 2014-04-17 07:36:45 +00:00
server.c Wake up any clients waiting with the wait-for command when the server 2014-09-01 21:58:41 +00:00
session.c If multiple arguments are given to new-session, new-window, 2014-05-13 08:08:32 +00:00
signal.c Do not call event_del() for signals after fork(), just use sigaction() 2010-08-19 18:29:01 +00:00
status.c Add xreallocarray and remove nmemb argument from xrealloc. 2014-10-08 17:35:58 +00:00
style.c Handle colour 8 properly in the 256 colour palette, from Timothy Allen. 2014-05-08 05:53:29 +00:00
tmux.1 Fix description of Ss and Se. 2014-10-18 20:28:19 +00:00
tmux.c Remove the "info" message mechanism, this was only used for about five 2014-04-17 07:55:43 +00:00
tmux.h Instead of setting up the default keys by building the key struct 2014-10-20 22:29:25 +00:00
tty-acs.c Copy ACS characters as UTF-8, from Balazs Kezes. 2014-10-02 08:36:26 +00:00
tty-keys.c Drop explicit support for F13-F20 and change to match the xterm terminfo 2014-07-21 10:25:48 +00:00
tty-term.c Drop explicit support for F13-F20 and change to match the xterm terminfo 2014-07-21 10:25:48 +00:00
tty.c Remove support for the continuous reporting "any" mouse mode which never 2014-08-09 07:33:37 +00:00
utf8.c Add xreallocarray and remove nmemb argument from xrealloc. 2014-10-08 17:35:58 +00:00
window-choose.c Add xreallocarray and remove nmemb argument from xrealloc. 2014-10-08 17:35:58 +00:00
window-clock.c Having three *clock* files is ridiculous, remove clock.c. 2014-03-31 21:34:08 +00:00
window-copy.c Add xreallocarray and remove nmemb argument from xrealloc. 2014-10-08 17:35:58 +00:00
window.c Add flags to selectp to enable and disable input to a pane, from Anish 2014-08-11 22:14:30 +00:00
xmalloc.c Add xreallocarray and remove nmemb argument from xrealloc. 2014-10-08 17:35:58 +00:00
xterm-keys.c Drop explicit support for F13-F20 and change to match the xterm terminfo 2014-07-21 10:25:48 +00:00