aboutsummaryrefslogtreecommitdiff
path: root/key-bindings.c
Commit message (Collapse)AuthorAge
* 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).
* Clock mode.Nicholas Marriott2009-01-10
|
* Introduce nitems() and use it; use bsearch.Nicholas Marriott2009-01-07
|
* Whoops, add keys in the right place in the tree.Nicholas Marriott2009-01-06
|
* Switch to splay tree for key bindings.Nicholas Marriott2009-01-06
|
* Another duplicate.Nicholas Marriott2008-12-17
|
* Oops, forgot to commit move-window. Also add select-prompt to allow index to ↵Nicholas Marriott2008-06-25
| | | | be typed.
* Only lowercase key bindings.Nicholas Marriott2008-06-25
|
* Lose unnecessary flags on context.Nicholas Marriott2008-06-21
|
* Swap in new paste buffer code and add a couple more commands.Nicholas Marriott2008-06-20
|
* Add ; too.Nicholas Marriott2008-06-19
|
* Command prompt for interactive commands.Nicholas Marriott2008-06-19
|
* Informational messages on window option changes.Nicholas Marriott2008-06-16
|
* Memory leak/missing init.Nicholas Marriott2008-06-16
|