Stuart Henderson
16f9667620
Show how to set default-path to revert to tmux's old behaviour of opening
...
new windows in the current working directory at the time tmux was started,
it's not obvious. naddy@ agrees this is a useful inclusion.
2011-12-30 14:59:13 +00:00
Nicholas Marriott
92aef64c5a
Add CNL and CPL escape sequences.
2011-12-29 08:06:24 +00:00
Stefan Sperling
fdd1d0b72e
Allow $HOME as default-path in tmux.conf so the same config file can be used
...
on different machines regardless of where the user's home directory is.
ok nicm
2011-12-27 14:07:20 +00:00
Nicholas Marriott
d377a68593
Add \033[s and \033[u to save and restore cursor position.
2011-12-27 14:06:19 +00:00
Nicholas Marriott
5db593e5c2
Extend history that can be captured to INT_MIN rather than
...
SHRT_MIN. From Chris Johnsen.
2011-12-27 13:46:26 +00:00
Nicholas Marriott
d71e4b9aca
Reset flags on every loop or it is displayed too often, from Chris
...
Johnsen.
2011-12-27 13:41:50 +00:00
Jason McIntyre
da145e7c20
formatting errors, found using freebsd's "igor";
2011-12-24 08:46:48 +00:00
Nicholas Marriott
d655566ce7
Fix so that when mouse-select-pane and mouse-select-window are both
...
enabled, clicking on the status line does not change the current
pane. From Romain Francoise.
2011-12-24 08:26:59 +00:00
Nicholas Marriott
f308ba93aa
Change the way the working directory for new processes is discovered. If
...
default-path isn't empty, it is used. Otherwise:
1) If tmux neww is run from the command line, the working directory of the
client is used.
2) Otherwise sysctl KERN_PROC_CWD is used to retrieve the current
working directory of the process in the active pane.
3) If that fails, the directory where the session was created is used.
Support code by Romain Francois, OpenBSD specific bits by me.
Note this requires a recent userland and kernel with KERN_PROC_CWD.
2011-12-09 16:28:18 +00:00
Nicholas Marriott
e04d13f6a6
Support "jump to" like vi in copy mode using t and T keys. Also add x
...
and X for delete in edit mode.
From Ben Boeckel, thanks.
2011-12-04 16:18:01 +00:00
Nicholas Marriott
c44d2d854f
Log terminal overrides.
2011-12-01 23:47:08 +00:00
Nicholas Marriott
31f13e49d8
Add home and end keys for command prompt, from Matthias Lederhofer.
2011-12-01 20:44:12 +00:00
Nicholas Marriott
2397083f7e
Make M-f and M-b work the same at the command prompt as in copy mode,
...
pointed out by Romain Francoise.
2011-12-01 20:42:31 +00:00
Nicholas Marriott
fc5f8804ec
Add word movement and editing command for command prompt editing, from
...
Ben Boeckel.
2011-11-15 23:34:12 +00:00
Nicholas Marriott
fd25d35868
Move word-separators to be a session rather than window option, from Ben
...
Boeckel.
2011-11-15 23:24:04 +00:00
Nicholas Marriott
7c9bc377a3
Add a pane_index format string and use it, from Ben Boeckel.
2011-11-15 23:21:52 +00:00
Nicholas Marriott
57df442916
Make window_pane_index work the same as window_index, from Ben Boeckel.
2011-11-15 23:19:51 +00:00
Nicholas Marriott
9f738dd2fe
Fix a trivial copy-and-paste error (sx->sy), from Chris Johnsen.
2011-11-09 12:02:07 +00:00
Nicholas Marriott
6c1c304fc3
Missing bits for new keys and buffer indexes, from Tiago Cunha
2011-11-05 09:13:00 +00:00
Nicholas Marriott
e5bf63cb59
Option to change status line (message) background when using vi keys and
...
in command mode. From Ben Boeckel.
2011-11-05 09:06:31 +00:00
Jason McIntyre
e5d6df8979
minor formatting fix;
2011-10-27 23:33:35 +00:00
Nicholas Marriott
b2ee98b8d7
Add screen*:XT to terminal-overrides for tmux-in-tmux, from Romain
...
Francoise.
2011-10-27 22:54:06 +00:00
Nicholas Marriott
0ff42d975b
Missing -o on usage for pipe-pane, from Tiago Cunha.
2011-10-27 22:41:03 +00:00
Nicholas Marriott
5ed3daf28b
Didn't really think the else behaviour through - requiring argv to
...
contain "else" is silly so just omit that, also some manpage
tweaks. From Tiago Cunha.
2011-10-27 22:40:15 +00:00
Nicholas Marriott
f5a73c5433
When copying, make repeat count indicate buffer to replace if used.
2011-10-23 23:38:16 +00:00
Nicholas Marriott
e3225bc4e3
Alias NPage/PPage as PageDown/PgDn/PageUp/PgUp to reduce occasional
...
confusion.
2011-10-23 10:19:26 +00:00
Nicholas Marriott
f0aad68aee
Support for \e[3J to clear the history. Also send the corresponding
...
terminfo code (E3) before locking.
2011-10-23 10:16:14 +00:00
Nicholas Marriott
7ff4cf9405
Try to resolve relative paths for loadb and saveb (first using client
...
working directory if any then default-path or session wd).
2011-10-23 08:34:01 +00:00
Nicholas Marriott
179d0686d7
For initial session, use size of command client even if detached.
2011-10-23 08:10:11 +00:00
Nicholas Marriott
b32254acda
Ignore LC_ALL and LC_CTYPE if they are empty as well as unset.
2011-10-23 08:03:27 +00:00
Nicholas Marriott
16d75a6bf2
Add client formats, from Ben Boeckel.
2011-10-23 01:12:46 +00:00
Nicholas Marriott
e63909655c
Plug a memory leak and update some comments, from Tiago Cunha.
2011-10-23 00:49:25 +00:00
Nicholas Marriott
6821ccc882
Add an else clause for if-shell, from "arno-" on SourceForge.
2011-10-18 08:57:01 +00:00
Nicholas Marriott
49ef0b4af3
Add a few more formats for panes (tty, pid, start cmd/cwd).
2011-10-02 06:55:48 +00:00
Nicholas Marriott
b1ed2d5bd9
Add -S option to refresh-client to redraw status line, from Marco Beck.
2011-09-28 20:11:21 +00:00
Nicholas Marriott
e6a59c4bee
Reject $SHELL if it is not a full path.
2011-09-25 18:53:04 +00:00
Nicholas Marriott
f14da260c8
Tweaks to the format parts, from Tiago Cunha.
2011-09-23 18:33:43 +00:00
Nicholas Marriott
b6bd9515ea
Fix typo: ) -> }.
2011-09-23 12:23:24 +00:00
Nicholas Marriott
5985143813
Mark dead panes with some text saying they are dead, suggested by and
...
with help from Randy Stauner.
2011-09-05 23:40:51 +00:00
Nicholas Marriott
9800eaa63f
Another memory leak from Tiago Cunha.
2011-08-30 09:20:17 +00:00
Nicholas Marriott
423649b2c6
Plug memory leak, from Tiago Cunha.
2011-08-30 09:18:52 +00:00
Jason McIntyre
2888843a18
tweak previous;
2011-08-26 13:07:49 +00:00
Nicholas Marriott
4a5dff3f11
Add initial framework for more powerful formatting of command output and
...
use it for list-{panes,windows,sessions}. This allows more descriptive
replacements (such as #{session_name}) and conditionals.
Later this will be used for status_replace and list-keys and other
places.
2011-08-26 10:53:16 +00:00
Nicholas Marriott
4697b35d4f
-lm is no longer needed, from Tiago Cunha.
2011-08-25 10:52:23 +00:00
Nicholas Marriott
0588168a64
Support \ for line continuation in the configuration file, from Julius
...
Plenz.
2011-08-24 10:46:01 +00:00
Nicholas Marriott
f01b7191a3
Add pane-base-index option, from Ben Barbour.
2011-08-24 10:29:57 +00:00
Nicholas Marriott
029c34ce6b
Add a tty_bell wrapper function, from Dylan Alex Simon.
2011-08-24 09:58:44 +00:00
Nicholas Marriott
47d41d0203
There is no need to use sqrt()/INFINITY here which simplifies the code
...
and makes it more portable, from Havard Eidnes.
2011-08-22 10:14:15 +00:00
Nicholas Marriott
3657aa675e
Fix a couple of memory leaks, from marcel partap.
2011-08-20 20:37:30 +00:00
Nicholas Marriott
88e9079870
Add a -r flag to switch-client to toggle the client read-only flag. From
...
Johan Commelin.
2011-08-16 10:00:52 +00:00