summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/options-table.c
AgeCommit message (Collapse)Author
2015-08-28Remove the lock-server option which is a bit redundant, it isn't thatNicholas Marriott
different without it.
2015-07-20Add an option (history-file) for a file to save/restore command promptNicholas Marriott
history, from Olof-Joachim Frahm.
2015-05-12Add a session_alerts format which is a list of all the alerts in theNicholas Marriott
current session in symbolic form (something like "0!,4~,5!"). Use this in the default set-titles-string. Prompted by a request from Jan ONDREJ.
2015-05-12Add bell-action "other" to pass through bells in all windows except theNicholas Marriott
current, suggested by Jan ONDREJ.
2015-05-11Left the c0-* options behind in the table.Nicholas Marriott
2015-05-06Add a format window_linked which is 1 if a window has been linkedNicholas Marriott
multiple times, also remove the default space in window_flags and use a conditional to add it in window-status-format (this means additional flags can be added in the option without extra spaces). From Thomas Adam with tweaks by me.
2015-04-29If default-terminal is set to "screen" or "screen-*", emulate screen'sNicholas Marriott
historical (incorrect) behaviour for SGR 3 and send smso (standout). Previously, we would send sitm (italics) if the terminal outside had it and smso otherwise. This was acceptably until recently because xterm's terminfo entry lacked sitm, so most users got smso. People who want italics should set default-terminal to the forthcoming "tmux" entry (and be prepared to deal with it being missing on older hosts). As a side-effect this changes default-terminal to be a server rather than a session option. suggested by and ok naddy
2015-04-19Rewrite of tmux mouse support which was a mess. Instead of havingNicholas Marriott
options for "mouse-this" and "mouse-that", mouse events may be bound as keys and there is one option "mouse" that turns on mouse support entirely (set -g mouse on). See the new MOUSE SUPPORT section of the man page for description of the key names and new flags (-t= to specify the pane or window under mouse as a target, and send-keys -M to pass through a mouse event). The default builtin bindings for the mouse are: bind -n MouseDown1Pane select-pane -t=; send-keys -M bind -n MouseDown1Status select-window -t= bind -n MouseDrag1Pane copy-mode -M bind -n MouseDrag1Border resize-pane -M To get the effect of turning mode-mouse off, do: unbind -n MouseDrag1Pane unbind -temacs-copy MouseDrag1Pane The old mouse options are now gone, set-option -q may be used to suppress warnings if mixing configuration files.
2015-04-19Support setting the default window and pane background colours (windowNicholas Marriott
and active pane via window-style and window-active-style options, an individual pane by a new select-pane -P flag). From J Raynor.
2015-02-06Move pane border options to window options rather than session, from Marc Finet.Nicholas Marriott
2015-01-21In options-table.c r1.51 an extra space was added to the default status-right,Stuart Henderson
overrunning status-right-length with long window titles. Allow for the extra space so the last digit of the year isn't lost. ok nicm@
2014-11-05Do not put a space between status-left/status-right and the window list,Nicholas Marriott
instead move the space into the defaults for the options (so status-left now defaults to "[#S] ". From Balazs Kezes.
2014-04-17Wrap some long lines.Nicholas Marriott
2014-04-17Remove some unnecessary includes and fix a typo.Nicholas Marriott
2014-04-17Remove the "info" message mechanism, this was only used for about fiveNicholas Marriott
mostly useless and annoying messages. Change those commands to silence on success like all the others. Still accept the -q command line flag and "quiet" server option for now.
2014-04-17Remove the monitor-content option and associated bits and bobs. It'sNicholas Marriott
never worked very well. If there is a big demand for it to return, will consider better ways to do it.
2014-03-31Make message-limit a server option.Nicholas Marriott
2014-02-23Change terminal-overrides to a server option (now that we have them), itNicholas Marriott
doesn't make much sense as a session option.
2014-01-28Fix missing argument, stupid last minute changes...Nicholas Marriott
2014-01-28Allow replacing each of the many sets of separate foo-{fg,bg,attr}Nicholas Marriott
options with a single foo-style option. For example: set -g status-fg yellow set -g status-bg red set -g status-attr blink Becomes: set -g status-style fg=yellow,bg=red,blink The -a flag to set can be used to add to rather than replace a style. So: set -g status-bg red Becomes: set -ag status-style bg=red Currently this is fully backwards compatible (all *-{fg,bg,attr} options remain) but the plan is to deprecate them over time. From Tiago Cunha.
2013-10-10Alter how tmux handles the working directory to internally use fileNicholas Marriott
descriptors rather than strings. - Each session still has a current working directory. - New sessions still get their working directory from the client that created them or its attached session if any. - New windows are created by default in the session working directory. - The -c flag to new, neww, splitw allows the working directory to be overridden. - The -c flag to attach let's the session working directory be changed. - The default-path option has been removed. To get the equivalent to default-path '.', do: bind c neww -c $PWD To get the equivalent of default-path '~', do: bind c neww -c ~ This also changes the client identify protocol to be a set of messages rather than one as well as some other changes that should make it easier to make backwards-compatible protocol changes in future.
2013-10-10Add automatic-rename-format option allowing automatic rename to useNicholas Marriott
something other than pane_current_command.
2013-10-10Add length limit operator for formats.Nicholas Marriott
2013-10-05Change the default for the default-path option to ~. This is a quickNicholas Marriott
change to turn off the KERN_PROC_CWD code which is unpredictable. Later it will go away and there may be other changes to how this works.
2013-06-23Focus events can cause trouble if left on and they can't be turned offNicholas Marriott
during idle periods (like the other states are) because we'd miss events. So add a server option to control them. Defaults to off.
2013-06-02The actual terminfo entries we ended up with for cursor changes are Cs,Nicholas Marriott
Ce, Ss and Se (not Cc, Ce, Cs, Csr). So use and document these instead of the ones we were using earlier.
2013-03-27Remove tmux's (already minimal) 88 colour support. Such terminals areNicholas Marriott
few and unnecessary.
2013-03-25Revert the command-prefix change which breaks sequences of commands.Nicholas Marriott
2013-03-24Add option command-prefix which is automatically prepended to anyNicholas Marriott
command (apart from a naked default-shell). The default is "exec ".
2013-03-21Add -v to set and setw to show only option value.Nicholas Marriott
2013-01-17Remove the layout undo/redo code which never really worked.Nicholas Marriott
2013-01-15If timing between keys is less than (by default) 1 millisecond, assumeNicholas Marriott
the text is being pasted. assume-paste-time option changes the value (0 disables). Based on a diff from Marcin Kulik.
2012-11-27Add window-status-last-* options, from Boris Faure.Nicholas Marriott
2012-04-29Add a flag to move-window to renumber the windows in a session (closingNicholas Marriott
any gaps) and add an option to do this automatically each time a window is killed. From Thomas Adam.
2012-04-23Add window-status-separator option, from Thomas Adam.Nicholas Marriott
2012-04-01Add a layout history which can be stepped through with select-layout -uNicholas Marriott
and -U commands (bound to 'u' and 'U' by default).
2012-03-2050 is a too low trigger default on larger terminals, bump to 250.Nicholas Marriott
2012-03-20Add a simple form of output rate limiting by counting the number ofNicholas Marriott
certain C0 sequences (linefeeds, backspaces, carriage returns) and if it exceeds a threshold (current default 50/millisecond), start to redraw the pane every 100 milliseconds instead of making each change as it comes. Two configuration options - c0-change-trigger and c0-change-interval. This makes tmux much more responsive under very fast output (for example yes(1) or accidentally cat'ing a large file) but may not be perfect on all terminals and connections - feedback very welcome, particularly where this change has a negative rather than positive effect (making it off by default is a possibility). After much experimentation based originally on a request Robin Lee Powell (which ended with a completely different solution), this idea from discussion with Ailin Nemui.
2012-03-17Add a wrap-search option to turn off wrapping of searches in copyNicholas Marriott
mode. From Jacobo de Vera.
2012-02-29Remove accidentally committed option.Nicholas Marriott
2012-02-25Allow a single option to be specified to show-options to show just thatNicholas Marriott
option.
2012-02-15Sort some entries, from Ben Boeckel.Nicholas Marriott
2012-01-29Add an option to move the status line to the top of the screen,Nicholas Marriott
requested by many.
2012-01-21Drop the ability to have a list of keys in the prefix in favour of twoNicholas Marriott
separate options, prefix and prefix2. This simplifies the code and gets rid the data options type which was only used for this one option. Also add a -2 flag to send-prefix to send the secondary prefix key, fixing a cause of minor irritation. People who want three prefix keys are out of luck :-).
2012-01-20Add some trivial additional status line attributes from jwcxz at usersNicholas Marriott
dot sourceforge dot net.
2012-01-20Add an option to disable the window rename escape sequence, from RomainNicholas Marriott
Francoise.
2011-11-15Move word-separators to be a session rather than window option, from BenNicholas Marriott
Boeckel.
2011-11-05Option to change status line (message) background when using vi keys andNicholas Marriott
in command mode. From Ben Boeckel.
2011-10-27Add screen*:XT to terminal-overrides for tmux-in-tmux, from RomainNicholas Marriott
Francoise.
2011-08-24Add pane-base-index option, from Ben Barbour.Nicholas Marriott