aboutsummaryrefslogtreecommitdiff
path: root/key-bindings.c
Commit message (Collapse)AuthorAge
* Sync OpenBSD patchset 697:Tiago Cunha2010-05-14
| | | | | | | Identical behaviour to select-prompt can now be obtained with command-prompt, so remove select-prompt and change ' to be bound to command-prompt -p index "select-window -t :%%".
* Sync OpenBSD patchset 688:Tiago Cunha2010-05-14
| | | | | | Add a tiled layout, originally from Liam Bedford a while ago, fixed up by me.
* Merge output (more) and copy modes into one single mode (called copy).Micah Cowan2010-04-05
|
* Support up, down, left, right movement through panes with -UDLR flags toNicholas Marriott2010-03-15
| | | | | | | | select-pane. Also remove up- and down-pane: equivalent behaviour is now available using -t :.+ and -t :.-.
* Sync OpenBSD patchset 639:Tiago Cunha2010-02-08
| | | | | | Support attaching a client read-only with a new -r flag to the attach-session command.
* Sync OpenBSD patchset 585:Tiago Cunha2009-12-10
| | | | | | | | | Add "server options" which are server-wide and not bound to a session or window. Set and displayed with "set -s" and "show -s". Currently the only option is "quiet" (like command-line -q, allowing it to be set from .tmux.conf), but others will come along.
* Sync OpenBSD patchset 581:Tiago Cunha2009-12-04
| | | | | | | Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last time now I've configured emacs to make them displayed in really annoying colours...
* Sync OpenBSD patchset 546:Tiago Cunha2009-11-19
| | | | | | | | | | Add a per-client log of status line messages displayed while that client exists. A new message-limit session option sets the maximum number of entries and a command, show-messages, shows the log (bound to ~ by default). This (and prompt history) might be better as a single global log but until there are global options it is easier for them to be per client.
* Sync OpenBSD patchset 533:Tiago Cunha2009-11-13
| | | | | Zap unused functions, prompted by deraadt.
* Sync OpenBSD patchset 362:Tiago Cunha2009-10-06
| | | | | | | Remove scroll mode which is now redundant, copy mode should be used instead. The = key binding now does nothing.
* Sync OpenBSD patchset 302:Tiago Cunha2009-08-31
| | | | | | | Add a new display-panes command, with two options (display-panes-colour and display-panes-time), which displays a visual indication of the number of each pane.
* Sync OpenBSD patchset 294:Tiago Cunha2009-08-25
| | | | | | | | | | | | | Add a choose-client command and extend choose-{session,window} to accept a template. After a choice is made, %% (or %1) in the template is replaced by the name of the session, window or client suitable for -t and the result executed as a command. So, for example, "choose-window "killw -t '%%'"" will kill the selected window. The defaults if no template is given are (as now) select-window for choose-window, switch-client for choose-session, and detach-client for choose-client (now bound to D).
* Sync OpenBSD patchset 289:Tiago Cunha2009-08-24
| | | | | | The cursession member in struct cmd_ctx is always either curclient->session or NULL when curclient is also NULL, so just eliminate it.
* Sync OpenBSD patchset 175:Tiago Cunha2009-07-25
| | | | | | | Permit commands to be bound to key presses without the prefix key first. The new -n flag to bind-key and unbind-key sets or removes these bindings, and list-key shows them in []s.
* Sync OpenBSD patchset 151:Tiago Cunha2009-07-22
| | | | | | Tidy up keys: use an enum for the key codes, and remove the macros which just wrap flag sets/clears/tests.
* Sync OpenBSD patchset 142:Tiago Cunha2009-07-20
| | | | | | | | | | | | | | | | | | | | | | | | Each window now has a tree of layout cells associated with it. In this tree, each node is either a horizontal or vertical cell containing a list of other cells running from left-to-right or top-to-bottom, or a leaf cell which is associated with a pane. The major functional changes are: - panes may now be split arbitrarily both horizontally (splitw -h, C-b %) and vertically (splitw -v, C-b "); - panes may be resized both horizontally and vertically (resizep -L/-R/-U/-D, bound to C-b left/right/up/down and C-b M-left/right/up/down); - layouts are now applied and then may be modified by resizing or splitting panes, rather than being fixed and reapplied when the window is resized or panes are added; - manual-vertical layout is no longer necessary, and active-only layout is gone (but may return in future); - the main-pane layouts now reduce the size of the main pane to fit all panes if possible. Thanks to all who tested.
* Remove a duplicate key binding, and turn off autorepeat for up/down as it isNicholas Marriott2009-07-18
| | | | | kind of annoying by default.
* - New command display-message (alias display) to display a message in theTiago Cunha2009-07-17
| | | | | | | | status line (bound to "i" by default). - Add support for including the window index, pane index, and window name in status-left, or status-right. - Bump protocol version.
* Make status_message_set a variadic printf-like function. No functional change -Nicholas Marriott2009-07-15
| | | | | helpful for a couple of things coming soon.
* Add a "back to indentation" key in copy mode to move the cursor to the firstNicholas Marriott2009-07-14
| | | | | | non-whitespace character. ^ with vi and M-m with emacs key bindings. Another from Kalle Olavi Niemitalo, thanks.
* select-layout command and some key bindings.Nicholas Marriott2009-05-16
|
* Bye-bye META.Nicholas Marriott2009-05-13
|
* Space trimmage mega-diff.Nicholas Marriott2009-05-04
|
* static const.Nicholas Marriott2009-04-30
|
* Merge resize-pane-{up,down} into resize-pane.Nicholas Marriott2009-04-30
|
* - confirm-before command.Tiago Cunha2009-04-27
| | | | | | - Bound "&" and "x" by default to confirm-before "kill-window" and confirm-before "kill-pane", respectively.
* rotate-window command.Nicholas Marriott2009-04-03
|
* swap-pane command.Nicholas Marriott2009-04-02
|
* Basic horizontal splitting and layout management. Still some redraw and otherNicholas Marriott2009-04-01
| | | | | | | | | | | issues - particularly, don't mix with manual pane resizing and be careful when viewing from multiple clients; generally cycling the layout a few times will fix most problems. Getting this in for testing while I think about how to deal with manual mode. Split window as normal and cycle the layouts with C-b space. Some of the layouts will work better when swap-pane comes along.
* Key repeating is now a property of the key binding not of the command. RepeatNicholas Marriott2009-03-28
| | | | | | is turned on when the key is bound with the -r flag to bind-key. next/previous- window no longer repeat by default as it turned out to annoy me.
* break-pane command to split a pane off into a new window; bound to ! by default.Nicholas Marriott2009-03-07
|
* Reset mode before adding text.Nicholas Marriott2009-02-13
|
* Move status prompt/message init and teardown into status.c.Nicholas Marriott2009-02-13
|
* move-window bound to ., from joshe.Nicholas Marriott2009-01-30
|
* -u to start with screen scrolled up.Nicholas Marriott2009-01-27
|
* -a flags to next/previous window.Nicholas Marriott2009-01-18
|
* find-window command.Nicholas Marriott2009-01-18
|
* Support command sequences separated by " ; ". Also clean up command printing.Nicholas Marriott2009-01-18
|
* suspend-client command and suspend client when ^Z key binding is used.Nicholas Marriott2009-01-18
|
* Actually remove the key binding from the tree when freeing it.Nicholas Marriott2009-01-17
|
* Two new commands, choose-window and choose-session which work only when ↵Nicholas Marriott2009-01-15
| | | | bound to a key and allow the window or session to be selected from a list.
* Whoops, stray line.Nicholas Marriott2009-01-14
|
* Rework the prefix-time stuff. The option is now call repeat-time and ↵Nicholas Marriott2009-01-14
| | | | defaults to 500 ms. However, it only applies to a small subset of commands, currently: up-pane, down-pane, next-window, previous-window, resize-pane-up, resize-pane-down. These are the commands for which it is obviously useful, having it for everything else was just bloody annoying.
* Alt-up/down to resize by five lines.Nicholas Marriott2009-01-14
|
* switch-pane is now select-pane.Nicholas Marriott2009-01-14
|
* up-pane and down-pane commands.Nicholas Marriott2009-01-14
|
* Multiple window splitting.Nicholas Marriott2009-01-14
|
* command-prompt now accepts a single argument, a template string. Any ↵Nicholas Marriott2009-01-13
| | | | | | | | | | | occurrences of %% in this string are replaced by whatever is entered at the prompt and the result is executed as a command. This allows things like (now bound by default): bind , command-prompt "rename-window %%" Or my favourite: bind x command-prompt "split-window 'man %%'"
* Commands to resize panes; also a pane generic cmd, not used yet.Nicholas Marriott2009-01-12
|
* Window splitting. Two vertical panes fixed 50% each. This is a huge diff, ↵Nicholas Marriott2009-01-11
| | | | still a couple of bugs (notably heap corruption somewhere causing segfault on exit).