aboutsummaryrefslogtreecommitdiff
path: root/options-table.c
Commit message (Collapse)AuthorAge
* Add a hook when the pane title changed.nicm2020-07-24
|
* xterm* can have focus too.nicm2020-05-22
|
* Add a terminal feature for enable/disable extended keys (supported bynicm2020-05-16
| | | | | | | xterm and mintty) and add an option to make tmux send it. Only forward extended keys if the application has requested them, even though we use the CSI u sequence and xterm uses CSI 27 ~ - this is what mintty does as well.
* Add an option to set the pane border lines style from a choice of singlenicm2020-05-16
| | | | | | lines (ACS or UTF-8), double or heavy (UTF-8), simple (plain ASCII) or number (the pane numbers). Lines that won't work on a non-UTF-8 terminal are translated back into ACS when they are output.
* Add a mark in copy mode. Set with set-mark command (bound to 'X') bynicm2020-05-16
| | | | | | | | default and the mark and cursor position are swapped with 'jump-to-mark' (bound to M-x). The line containing the mark is shown in copy-mode-mark-style with the horizontal position in reverse. From Anindya Mukherjee in GitHub issue 2209.
* Add a customize mode where keys and options may be browsed and changed,nicm2020-05-16
| | | | | includes adding a brief description of each option. Bound to "C" by default.
* Change message log to be per server rather than per client and includenicm2020-05-16
| | | | every command that is run.
* Add 'e' key in buffer mode to open the buffer in an editor.nicm2020-05-16
|
* Copy mode search improvements:nicm2020-05-16
| | | | | | | | | - Add styles for the search marking styles (copy-mode-match-style and copy-mode-current-match-style). - Show the current match (the one with the cursor on it) in a different style. - Copying without a selection will copy the current match if there is one.
* Drop having a separate type for style options and make them all strings,nicm2020-05-16
| | | | | | | | | | | | | | | | | which allows formats to be expanded. Any styles without a '#{' are still validated when they are set but any with a '#{' are not. Formats are not expanded usefully in many cases yet, that will be changed later. To make this work, a few other changes: - set-option -a with a style option automatically appends a ",". - OSC 10 and 11 don't set the window-style option anymore, instead the fg and bg are stored in the pane struct and act as the defaults that can be overridden by window-style. - status-fg and -bg now override status-style instead of trying to keep them in sync.
* Instead of having a default set of terminals in terminal-overrides thatnicm2020-05-16
| | | | | | | get XT added and using that as a marker for xterm(1)-like, assume that if the terminfo(5) entry already has XT or the clear capability starts with CSI then the terminal is VT100-like and it should be safe to send DA requests. The DA responses trigger additional features being added.
* Change so main-pane-width and height can be given as a percentage.nicm2020-04-22
|
* xterm* needs XT also.nicm2020-04-21
|
* Tidy up the terminal detection and feature code and add named sets ofnicm2020-04-20
| | | | | | | | | | | | | | | | | | | | | terminal features, each of which are defined in one place and map to a builtin set of terminfo(5) capabilities. Features can be specified based on TERM with a new terminal-features option or with the -T flag when running tmux. tmux will also detect a few common terminals from the DA and DSR responses. This is intended to make it easier to configure tmux's use of terminfo(5) even in the presence of outdated ncurses(3) or terminfo(5) databases or for features which do not yet have a terminfo(5) entry. Instead of having to grok terminfo(5) capability names and what they should be set to in the terminal-overrides option, the user can hopefully just give tmux a feature name and let it do the right thing. The terminal-overrides option remains both for backwards compatibility and to allow tweaks of individual capabilities. tmux already did much of this already, this makes it tidier and simpler to configure.
* Add a copy-command option and change copy-pipe and friends to pipe to itnicm2020-04-17
| | | | | if used without arguments, allows all copy key bindings to be changed to pipe with one option.
* Change so that the appropriate hooks for windows and panes belong tonicm2020-04-13
| | | | | | pane/window options rather than all being session options. This is useful for example to create a pane that is automatically closed on some condition. From Anindya Mukherjee.
* Missing after-kill-pane option.nicm2019-11-28
|
* status-left and status-right need push-default also, reported by Ericnicm2019-11-28
| | | | Pruitt in GitHub issue 1989.
* Change window-size default from smallest to latest.nicm2019-11-14
|
* Add an option to set the key sent by backspace for those whose systemnicm2019-11-14
| | | | uses ^H rather than ^?. GitHub issue 1969.
* Add a "latest" window-size option which tries to size windows based onnicm2019-09-19
| | | | | the most recently used client. From Tommie Gannert in GitHub issue 1869 based on earlier changes from me.
* Add push-default and pop-default in styles to change the default coloursnicm2019-09-15
| | | | | | and attributes and use them to restore the previous behaviour of window-status-style being the default for window-status-format in the status line. From John Drouhard in GitHub issue 1912.
* Add #define for the pane status line option position numbers.nicm2019-06-26
|
* allow-rename and alternate-screen can be pane options.nicm2019-06-20
|
* Add a per-pane option set. Pane options inherit from window options (sonicm2019-06-20
| | | | | | | | | | | | there should be no change to existing behaviour) and are set and shown with set-option -p and show-options -p. Change remain-on-exit and window-style/window-active-style to be pane options (some others will be changed later). This makes select-pane -P and -g unnecessary so no longer document them (they still work) and no longer document set-window-option and show-window-options in favour of set-option -w and show-options -w.
* Add formats for word and line under the mouse and use them to add somenicm2019-05-26
| | | | items to the pane menu.
* Merge hooks into options and make each one an array option. This allowsnicm2019-04-26
| | | | | | | multiple commands to be easily bound to one hook. set-hook and show-hooks remain but they are now variants of set-option and show-options. show-options now has a -H flag to show hooks (by default they are not shown).
* Indicate an array option with a flag rather than a special type so thatnicm2019-04-23
| | | | in future will not have to be strings.
* Current window style also needs to be tested for default.nicm2019-04-07
|
* Silence flag should use the same option as activity, reported by Thomasnicm2019-04-02
| | | | Sattler.
* Include window-status-style and window-status-current style in the format.nicm2019-03-19
|
* The individual -fg, -bg and -attr options have been deprecated (innicm2019-03-18
| | | | | favour of -style), undocumented and hidden from show-options since 2014. Remove them, except for status-fg and status-bg.
* Extend the #[] style syntax and use that together with previous formatnicm2019-03-18
| | | | | | | | | | | | | | | | | | | | changes to allow the status line to be entirely configured with a single option. Now that it is possible to configure their content, enable the existing code that lets the status line be multiple lines in height. The status option can now take a value of 2, 3, 4 or 5 (as well as the previous on or off) to configure more than one line. The new status-format array option configures the format of each line, the default just references the existing status-* options, although some of the more obscure status options may be eliminated in time. Additions to the #[] syntax are: "align" to specify alignment (left, centre, right), "list" for the window list and "range" to configure ranges of text for the mouse bindings. The "align" keyword can also be used to specify alignment of entries in tree mode and the pane status lines.
* Add a "terminal" colour which can be used instead of "default" in stylenicm2018-10-25
| | | | | options for the terminal default colour, bypassing any inheritance from other options. Prompted by a discussion with abieber@.
* Support for windows larger than visible on the attached client. This hasnicm2018-10-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | been a limitation for a long time. There are two new options, window-size and default-size, and a new command, resize-window. The force-width and force-height options and the session_width and session_height formats have been removed. The new window-size option tells tmux how to work out the size of windows: largest means it picks the size of the largest session, smallest the smallest session (similar to the old behaviour) and manual means that it does not automatically resize windows. The default is currently largest but this may change. aggressive-resize modifies the choice of session for largest and smallest as it did before. If a window is in a session attached to a client that is too small, only part of the window is shown. tmux attempts to keep the cursor visible, so the part of the window displayed is changed as the cursor moves (with a small delay, to try and avoid excess redrawing when applications redraw status lines or similar that are not currently visible). The offset of the visible portion of the window is shown in status-right. Drawing windows which are larger than the client is not as efficient as those which fit, particularly when the cursor moves, so it is recommended to avoid using this on slow machines or networks (set window-size to smallest or manual). The resize-window command can be used to resize a window manually. If it is used, the window-size option is automatically set to manual for the window (undo this with "setw -u window-size"). resize-window works in a similar way to resize-pane (-U -D -L -R -x -y flags) but also has -a and -A flags. -a sets the window to the size of the smallest client (what it would be if window-size was smallest) and -A the largest. For the same behaviour as force-width or force-height, use resize-window -x or -y, and "setw -u window-size" to revert to automatic sizing.. If the global window-size option is set to manual, the default-size option is used for new windows. If -x or -y is used with new-session, that sets the default-size option for the new session. The maximum size of a window is 10000x10000. But expect applications to complain and much higher memory use if making a window excessively big. The minimum size is the size required for the current layout including borders. The refresh-client command can be used to pan around a window, -U -D -L -R moves up, down, left or right and -c returns to automatic cursor tracking. The position is reset when the current window is changed.
* Add KRB5CCNAME to update-environment.nicm2018-04-23
|
* Add exit-empty option to exit server if no sessions (defaults to on).nicm2018-02-22
|
* Default allow-rename to off because it is ridiculous that applicationsnicm2017-10-25
| | | | are even able to do this and confusing when they do.
* Add monitor-bell window option to match the activity and silencenicm2017-08-17
| | | | options, from Brad Town.
* Rename BELL_* values to ALERT_* now they are used by more than bells,nicm2017-08-16
| | | | based on a diff from Brad Town.
* Make bell, activity and silence alerting more consistent:nicm2017-07-26
| | | | | | | | | | | | - remove the bell-on-alert option; - add activity-action and silence-action options with the same possible values as the existing bell-action; - add "both" value for the visual-bell, visual-activity and visual-silence options to trigger both a bell and a message. This means all three work the same way. Based on changes from Yvain Thonnart.
* Add user-keys option to allow user-defined keys to be set, from Dannicm2017-06-23
| | | | Aloni.
* Make set-clipboard a three-state option so tmux itself can ignore thenicm2017-06-03
| | | | sequencess.
* Rewrite of choose mode, both to simplify and tidy the code and to addnicm2017-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | some modern features. Now the common code is in mode-tree.c, which provides an API used by the three modes now separated into window-{buffer,client,tree}.c. Buffer mode shows buffers, client mode clients and tree mode a tree of sessions, windows and panes. Each mode has a common set of key bindings plus a few that are specific to the mode. Other changes are: - each mode has a preview pane: for buffers this is the buffer content (very useful), for others it is a preview of the pane; - items may be sorted in different ways ('O' key); - multiple items may be tagged and an operation applied to all of them (for example, to delete multiple buffers at once); - in tree mode a command may be run on the selected item (session, window, pane) or on tagged items (key ':'); - displayed items may be filtered in tree mode by using a format (this is used to implement find-window) (key 'f'); - the custom format (-F) for the display is no longer available; - shortcut keys change from 0-9, a-z, A-Z which was always a bit weird with keys used for other uses to 0-9, M-a to M-z. Now that the code is simpler, other improvements will come later. Primary key bindings for each mode are documented under the commands in the man page (choose-buffer, choose-client, choose-tree). Parts written by Thomas Adam.
* Store a copy of the old status line, will be needed soon for new choose mode.nicm2017-05-29
|
* Make update-environment an array as well.nicm2017-01-24
|
* Convert terminal-overrides to an array option.nicm2017-01-24
|
* server-info can become an alias rather than a command.nicm2017-01-24
|
* Revert WIP parts of previous I didn't mean to commit yet.nicm2017-01-16
|
* getopt() has a struct option so just return to using options_entry.nicm2017-01-16
|