Nicholas Marriott
eb288aae32
Provide #h for short hostname (no domain) from Michal Mazurek.
2011-04-24 21:32:07 +00:00
Nicholas Marriott
8738141913
When mode-mouse is on (it is off by default), automatically enter copy
...
mode when the mouse is dragged or the mouse wheel is used. Also exit
copy mode when the mouse wheel is scrolled off the bottom. Discussed
with and written by hsim at gmx dot li.
2011-04-19 21:31:33 +00:00
Nicholas Marriott
0bb2119781
Add an option (mouse-select-window) which allows the mouse to be used by
...
clicking on the status line, written by hsim at gmx dot li.
2011-04-18 19:49:05 +00:00
Jason McIntyre
4e75e82cc3
new sentence, new line;
2011-04-17 20:39:44 +00:00
Nicholas Marriott
f4432030ee
Add -t to list-clients, based on a diff from Zac Sprackett.
2011-04-17 19:28:09 +00:00
Nicholas Marriott
3dc7b805d3
-s comes before -t and also add -s to command syntax. Prompted by jmc.
2011-04-11 16:44:36 +00:00
Nicholas Marriott
735f87bc66
Add -s option to detach all clients attached to a session, from Zac
...
Sprackett.
2011-04-11 06:44:39 +00:00
Nicholas Marriott
5d519ba526
Add a flag to cmd_find_session so that attach-session can prefer
...
unattached sessions when choosing the most recently used (if -t is not
given). Suggested by claudio@.
2011-04-05 19:37:01 +00:00
Nicholas Marriott
f8a218882a
"or" should be on a line on its own here so it is not emphasised as
...
well.
2011-04-01 16:59:11 +00:00
Nicholas Marriott
d88c20e718
Change -t on display-message to be target-pane for the #[A-Z]
...
replacements and add -c as target-client.
2011-03-29 19:30:16 +00:00
Nicholas Marriott
f19a4bf9d1
Add -a and -s options to lsp to list all panes in the server or session
...
respectively. Likewise add -s to lsw. From Ben Boeckel.
2011-03-28 23:13:00 +00:00
Nicholas Marriott
82e0165c49
Allow a start and end line to be specified for capture-pane which may be
...
negative to capture part of the history. Prompted by request from Victor
J Orlikowski.
2011-03-28 20:17:39 +00:00
Nicholas Marriott
808502ac3d
Give each pane created in a tmux server a unique id (starting from 0),
...
put it in the TMUX_PANE environment variable and accept it as a
target. Suggested by and with testing and tweaks from Ben Boeckel.
2011-03-27 20:27:26 +00:00
Nicholas Marriott
7954126dcd
Add a -P option to detach to HUP the client's parent process (usually
...
causing it to exit as well).
2011-03-03 08:51:47 +00:00
Nicholas Marriott
4f34e25dd8
Support -x and -y for new-session to specify the initial size of the
...
window if created detached with -d.
2011-01-14 23:49:23 +00:00
Nicholas Marriott
fa4a75cdab
Clarify alternate-screen description a little.
2011-01-13 09:50:11 +00:00
Nicholas Marriott
b3438c86bf
Use TMPDIR if set, from Han Boetes.
2011-01-12 22:23:58 +00:00
Nicholas Marriott
17f1cd5be8
Remove a bit of text that makes exit-unattached description unclear.
2011-01-09 18:46:46 +00:00
Nicholas Marriott
c3041eb9f0
Add missing arguments to some options.
2011-01-09 18:42:19 +00:00
Nicholas Marriott
703160b5d6
Accept colours of the hex form #ffffff and translate to the nearest from
...
the xterm(1) 256-colour set.
2011-01-08 00:48:54 +00:00
Nicholas Marriott
96c37fa80a
Now that parsing is common, merge some of the small, related commands
...
together to use the same code.
Also add some arguments (such as -n and -p) to some commands to match
existing commands.
2011-01-04 02:03:41 +00:00
Nicholas Marriott
ac3b78a841
Support for UTF-8 mouse input (\033[1005h). This was added in xterm 262
...
and supports larger terminals than the older way.
If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all
UTF-8 terminals. The option defaults to on if LANG etc are set in the
same manner as the utf8 option.
With help and based on code from hsim at gmx.li.
2011-01-03 23:35:21 +00:00
Nicholas Marriott
a4515ce138
suspend-client has used -t for the client target (like everything else)
...
for ages, fix the usage string and man page and trim some leftover code.
2011-01-01 11:24:45 +00:00
Nicholas Marriott
b6950ed8aa
Add a -P option to new-window and split-window to print the new window
...
or pane index in target form (useful to pass it into other commands).
2011-01-01 01:33:07 +00:00
Jason McIntyre
1a1efd5bc9
fix trailing whitespace;
2010-12-31 00:41:11 +00:00
Nicholas Marriott
2b3c2fd852
Fix BUFFERS section now they are global.
2010-12-30 23:17:41 +00:00
Nicholas Marriott
cc42614fa9
Change from a per-session stack of buffers to one global stack which is
...
much more convenient and also simplifies lot of code. This renders
copy-buffer useless and makes buffer-limit now a server option.
By Tiago Cunha.
2010-12-30 23:16:18 +00:00
Jason McIntyre
efa8c93664
tweak previous;
2010-12-27 19:57:31 +00:00
Nicholas Marriott
3e0bc052e1
Add a missing .Pp and sort options alphabetically, from Tiago Cunha.
2010-12-27 18:22:25 +00:00
Nicholas Marriott
c198664d15
Add other-pane-height and other-pane-width options, allowing the width
...
or height of the smaller panes in the main-horizontal and main-vertical
layouts to be set. Mostly from David Goodlad.
2010-12-19 18:35:08 +00:00
Nicholas Marriott
51487ed22f
Track the last session for a client and add a flag to switch-client and
...
a key binding (L) to move a client back to its last session.
2010-12-11 18:39:25 +00:00
Nicholas Marriott
6be32c89c5
Rephrase a confusing sentence.
2010-12-10 21:01:38 +00:00
Nicholas Marriott
e26a351865
Add an option to alert (monitor) for silence (lack of activity) in a
...
window. From Thomas Adam.
2010-12-06 22:51:02 +00:00
Nicholas Marriott
ebd0eb4fb4
If VISUAL or EDITOR contains "vi", configure mode-keys and status-keys
...
to vi.
Based on a diff from martynas@, previously requested by a couple of
other people.
2010-11-29 19:45:58 +00:00
Nicholas Marriott
7e542d119b
Update man page for update-environment.
2010-11-14 09:04:22 +00:00
Nicholas Marriott
17b56562c4
Flag to flush all key bindings from Rob Paisley.
2010-11-11 20:54:06 +00:00
Nicholas Marriott
023137a891
Typo, from Rob Paisley.
2010-11-01 20:59:45 +00:00
Nicholas Marriott
5de84eca3d
Add a last-pane command (bound to ; by default). Requested ages ago by
...
somebody whose name I have forgotten.
2010-10-23 13:04:34 +00:00
Nicholas Marriott
1580afdfdf
Put "or" on new line from command with .Ic.
2010-10-14 00:30:03 +00:00
Nicholas Marriott
9a7cde0c9b
Two new options:
...
- server option "exit-unattached" makes the server exit when no clients
are attached, even if sessions are present;
- session option "destroy-unattached" destroys a session once no clients
are attached to it.
These are useful for preventing tmux remaining in the background where
it is undesirable and when using tmux as a login shell to keep a limit
on new sessions.
2010-09-26 20:43:30 +00:00
Nicholas Marriott
2772557d15
detach-on-destroy is a session option, not server.
2010-09-25 20:35:52 +00:00
Nicholas Marriott
a22a6deda5
Add -n and -p flags to switch-client to move to the next and previous
...
session (yes, it doesn't match window/pane, but so what, nor does
switch-client).
Based on a diff long ago from "edsouza".
2010-09-08 22:02:28 +00:00
Jason McIntyre
a471b5de9c
some escapes i missed;
2010-07-15 21:54:20 +00:00
Nicholas Marriott
552c9cd83f
Custom layouts. list-windows command displays the layout as a string (such as
...
"bb62,159x48,0,0{79x48,0,0,79x48,80,0}") and it can be applied to another
window (with the same number of panes or fewer) using select-layout.
2010-06-29 03:30:13 +00:00
Nicholas Marriott
07a71fd432
Store the current working directory in the session, change the default-path
...
option to default to empty and make that mean that the stored session CWD is
used.
2010-06-27 02:56:59 +00:00
Nicholas Marriott
26524c99f6
New option, detach-on-destroy, to set what happens to a client when the session
...
it is attached to is destroyed. If on (the default), it is detached; if off, it
is switched to the most recently active session.
2010-06-27 00:22:22 +00:00
Nicholas Marriott
ef7293379f
Add a choose-buffer command for easier use of the paste buffer stack.
2010-06-21 21:44:09 +00:00
Nicholas Marriott
386849edc1
Extend the -t:+ and -t:- window targets for next and previous window to
...
accept an offset such as -t:+2. From Tiago Cunha.
2010-06-21 01:46:36 +00:00
Nicholas Marriott
1484eb8a51
Add a missing command and some missing Ic, from Tiago Cunha.
2010-06-14 23:04:44 +00:00
Nicholas Marriott
4e3bed2035
Couple of missing command aliases/flags, from Tiago Cunha.
2010-06-05 16:54:24 +00:00
Nicholas Marriott
ceed5cc9a9
Support the status_replace # replacement sequences in the pipe-pane
...
command, thanks to Andrea Barisani.
2010-06-05 16:34:30 +00:00
Nicholas Marriott
43fa9a9ba6
When the mode-mouse option is on, support dragging to make a selection
...
in copy mode.
Also support the scroll wheel, although xterm strangely does not ignore
it in application mouse mode, causing redraw artifacts when scrolling up
(other terminals appear to be better behaved).
2010-05-31 19:51:29 +00:00
Nicholas Marriott
e1e120de1c
Better to say "command key bindings" since we've just called them
...
command keys.
2010-05-30 19:19:42 +00:00
Nicholas Marriott
7b7397241f
There is no real reason not to list all the key bindings here rather
...
than just a selection.
2010-05-30 19:09:50 +00:00
Nicholas Marriott
0ed727a012
Enhance paste-buffer to allow lines to be separated by any string, from
...
Andrea Barisani.
2010-05-19 22:28:14 +00:00
Nicholas Marriott
d91127958d
Colour+attribute options for status line alerts, from Alex Alexander.
2010-05-14 19:03:09 +00:00
Nicholas Marriott
4af4d12475
Accept (and document) "none" instead of "default" for attributes as it
...
is clearer and avoids confusion with default colours.
2010-05-14 18:56:21 +00:00
Nicholas Marriott
e0f4697e7c
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 :%%".
2010-05-05 23:24:23 +00:00
Igor Sobrado
fc09ec3025
sort options.
2010-05-02 15:19:35 +00:00
Nicholas Marriott
d529e7e14e
Add a tiled layout, originally from Liam Bedford a while ago, fixed up
...
by me.
2010-04-25 20:28:13 +00:00
Nicholas Marriott
ac9daf92d7
Merge copy mode and output mode, dropping the latter. Idea and code from
...
Micah Cowan.
2010-04-06 21:35:44 +00:00
Nicholas Marriott
f81190a793
Mention title setting, and the new default.
2010-04-05 17:46:05 +00:00
Jason McIntyre
680f920b55
tweak;
2010-04-04 21:23:20 +00:00
Nicholas Marriott
b02cd35354
Run job commands explicitly in the global enviroment (which can be
...
modified with setenv -g) rather than with the environment tmux started
with.
2010-04-04 19:02:09 +00:00
Nicholas Marriott
d3d85c3df9
-a flag to insert a window after an existing one, moving other windows
...
up necessary.
2010-03-27 11:46:58 +00:00
Jason McIntyre
d267845cfc
dispense with some wacky escape sequences;
2010-03-26 19:30:40 +00:00
Nicholas Marriott
9abbe349af
paste-buffer should be per pane, from C. Coutinho.
2010-03-22 19:13:28 +00:00
Nicholas Marriott
0ac6efa6d5
Add vi-style "jump" commands for copy mode, from Micah Cowan.
2010-03-22 19:10:42 +00:00
Nicholas Marriott
6f04866044
Support up, down, left, right movement through panes with -UDLR flags to
...
select-pane.
Also REMOVE the up- and down-pane commands: equivalent behaviour is now
available using -t :.+ and -t :.-.
2010-03-22 19:07:52 +00:00
Nicholas Marriott
7bc3f5dd8a
Permit keys in copy mode to be prefixed by a repeat count, entered with
...
[1-9] in vi mode, or M-[1-9] in emacs mode.
From Micah Cowan, tweaked a little by me.
2010-03-02 00:32:41 +00:00
Nicholas Marriott
6767072c9d
Option to set the characters considered word separators in copy mode, from
...
Micah Cowan.
2010-02-22 20:41:16 +00:00
Nicholas Marriott
c164f5886f
Man page additions/improvements, thanks to Robin Lee Powell.
2010-02-17 21:12:06 +00:00
Nicholas Marriott
44ded35d5d
Add "N" key to search the opposite way from the last search (reverse of "n"),
...
from Micah Cowan.
2010-02-11 20:39:40 +00:00
Nicholas Marriott
f429057072
Clarify default status-right, from Seth Wright.
2010-02-10 19:17:27 +00:00
Nicholas Marriott
11dedde511
Add an option to disable the smcup/rmcup alternate screen behaviour inside
...
tmux. From clemens fischer.
2010-02-08 00:14:38 +00:00
Nicholas Marriott
2dc74f2e4d
next-layout is bound to Space not C-Space.
2010-02-07 20:33:27 +00:00
Nicholas Marriott
bb53c20c18
Support attaching a client read-only with a new -r flag to the attach-session
...
command.
2010-02-06 22:55:31 +00:00
Nicholas Marriott
3ef3802629
Rectangle copy support, from Robin Lee Powell.
2010-02-06 17:35:01 +00:00
Nicholas Marriott
5e6a7c85cc
vi-style B, W and E keys in copy mode to navigate between words treating only
...
spaces as word separators. Also add . to the list of word separators for
standard word navigation.
From Micah Cowan, tweaked slightly by me.
2010-02-04 20:00:26 +00:00
Nicholas Marriott
604b02cfaa
Option to display the active pane in a different colour with the display-panes
...
command. From Paul Hoffman, thanks.
2010-02-04 18:20:16 +00:00
Nicholas Marriott
6abd984608
Typo, from Micah Cowan.
2010-01-28 19:09:12 +00:00
Nicholas Marriott
3e2cc2d2c4
Alter next-word to have vi-like movement behaviour, and add next-word-end with
...
the existing emacs behaviour. From Micah Cowan.
2010-01-27 20:18:52 +00:00
Nicholas Marriott
1e5a94fdb5
Top/bottom of history mode keys, diff from Micah Cowan, tweaked by me.
2010-01-25 21:33:39 +00:00
Nicholas Marriott
8865eb2866
Use C-e and C-y for scrolling in vi mode, from Micah Cowan.
2010-01-23 17:49:21 +00:00
Nicholas Marriott
7d75dbbdda
Permit !, + and - to be used for window targets to specify last window (!), or
...
next and previous window by number (+ and -).
Also tidy an if in cmd-new-window.c.
2010-01-19 21:27:47 +00:00
Nicholas Marriott
f569950664
Missing Pp, from Tiago Cunha.
2010-01-18 19:16:04 +00:00
Nicholas Marriott
a4ebd9af33
Document swap-pane -d.
2010-01-14 22:10:47 +00:00
Nicholas Marriott
6a45fab608
New command, join-pane, to split and move an existing pane into the space (like
...
splitw then movep, or the reverse of breakp).
2010-01-07 20:52:18 +00:00
Nicholas Marriott
462a11301a
Change split-window to accept a pane target (it should be split-pane but
...
renaming the command would be annoying).
2010-01-07 19:47:10 +00:00
Nicholas Marriott
7e4f8b45b6
Options to set the colour of the pane borders, with different colours for the
...
active pane.
2010-01-03 12:51:05 +00:00
Nicholas Marriott
30962cb200
New server option, escape-time, to set the timeout used to detect if escapes
...
are alone or part of a function key or meta sequence.
2009-12-14 10:43:41 +00:00
Nicholas Marriott
a4c9a80dac
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.
2009-12-10 09:16:52 +00:00
Nicholas Marriott
6311bd119e
Permit panes to be referred to as "top", "bottom", "top-left" etc, if the right
...
pane can be identified.
2009-12-08 07:49:31 +00:00
Nicholas Marriott
e755475475
Wrap at 80 columns.
2009-12-03 22:54:34 +00:00
Nicholas Marriott
15a64b805e
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...
2009-12-03 22:50:09 +00:00
Nicholas Marriott
6c9862662f
Eliminate duplicate code and ease the passage for server-wide options by adding
...
a -w flag to set-option and show-options and making setw and showw aliases to
set -w and show -w.
Note: setw and showw are still there, but now aliases for set -w and show -w.
2009-12-03 17:44:02 +00:00
Nicholas Marriott
0926a23014
New command, capture-pane, which copies the entire pane contents to a paste
...
buffer. From Jonathan Alvarado.
2009-12-01 18:42:38 +00:00
Nicholas Marriott
87821fce0e
Add a -p flag to display-message to print the output rather than displaying in
...
the status line, this allows things like "display -p '#W'" to find the current
window index.
2009-11-24 19:16:11 +00:00
Nicholas Marriott
fce47e2e63
Add cursor keys to the key names list.
2009-11-22 22:52:39 +00:00
Nicholas Marriott
543fb99bc6
Two new options, window-status-format and window-status-current-format, which
...
allow the format of each window in the status line window list to be controlled
using similar # sequences as status-left/right.
This diff also moves part of the way towards UTF-8 support in window names but
it isn't quite there yet.
2009-11-19 16:22:10 +00:00