Commit Graph

55 Commits

Author SHA1 Message Date
traal
0e80c95bed
Update README.md
Fix bug with escape-time 0, as described in:
https://superuser.com/a/1809494
2024-04-16 18:42:41 +02:00
Bruno Sutic
25cb91f42d
Merge pull request #66 from jjant/patch-1
Show initial values of modified options
2022-08-14 22:08:18 +02:00
Julian Antonielli
e463ee9a75
Show initial values of modified options 2022-08-14 16:34:49 +01:00
Bruno Sutic
5d089e418e
Style change 2021-08-19 09:43:20 +02:00
Bruno Sutic
8e8043c439
Merge pull request #62 from setsevireon/patch-1
XDG-friendly config reload
2021-08-19 09:41:30 +02:00
Carlos Marx
eba4cbe76f
XDG-friendly config reload
`prefix + R` is currently bound to sourcing `~/.tmux.conf`.
For anyone using `~/.config/tmux/tmux.conf` or `${XDG_CONFIG_HOME}/tmux/tmux.conf`,
this binding will be of no use, perhaps even misleading.

This patch tests if the file `${XDG_CONFIG_HOME:-$HOME/.config}/tmux/tmux.conf` exists,
if affirmative, it sources it, if not, it sources `~/.tmux.conf`.
2021-08-18 20:51:53 -03:00
Bruno Sutic
989d09249e
Merge pull request #37 from futuro/regex-fix
Fixed key_binding_not_set regex issue
2021-05-20 12:14:56 +02:00
Bruno Sutic
44af8d8eff
Merge pull request #59 from jrjsmrtn/fix-iterm2-aggressive-resize
Fix iTerm2 terminal detection
2021-03-20 11:48:04 +01:00
Georges Martin
57d999b7df Fix iTerm2 terminal detection
Fixes: #24
2021-03-19 15:10:57 +01:00
Bruno Sutic
0dd7aed9a0
Remove old UTF8 options
As the code comments say, these options were removed in tmux 2.2.
2021-03-11 12:44:44 +01:00
Bruno Sutic
e91b178ff8 Merge pull request #39 from timss/typo-obsolte
Fix 'obsolte' typo
2017-09-05 17:17:20 +02:00
timss
bb9a833510 Fix 'obsolte' typo 2017-09-03 16:11:52 +02:00
Evan Niessen-Derry
df09a123ef More suscinct and flexible escape char fix
To handle the possibility of the escape character being anywhere in the
key passed to `key_binding_not_set`, I've opted to use parameter
replacement to escape every escape character. This is more suscinct, and
will make sure every '\' is handled.
2016-10-01 19:28:28 -05:00
Evan Niessen-Derry
6bd0e2b221 Fixed key_binding_not_set regex issue
If you run key_binding_not_set against '\' that character will be placed
as is in the regex that's run, and will escape something it shouldn't.
So we test for this and escape the character if necessary.
2016-10-01 19:15:26 -05:00
Bruno Sutic
526110eb9b
Quiet warnings for utf8 options
Tmux 2.2 removed `utf8` and `status-utf8` options. Since we still want
to keep these options for earlier tmux versions we're redirecting the
output to /dev/null when setting these commands. This way tmux 2.2 (and
above) users won't get any errors when running this plugin.
2016-04-11 15:41:31 +02:00
Bruno Sutic
b0a8527eb4
Add better cygwin support 2015-10-08 14:28:56 +02:00
Bruno Sutic
3baff4e795
Remove detach-on-destroy 2015-08-10 20:29:25 +02:00
Bruno Sutic
4055083386
Update plugin installation instructions 2015-08-10 20:27:55 +02:00
Bruno Sutic
cd7faa8bba
Disable 2015-06-29 18:47:07 +02:00
Bruno Sutic
9a4309ed63
Do not set aggressive-resize on iterm terminal
Related #24
2015-06-29 18:03:58 +02:00
Bruno Sutic
2fe5834f30
Update readme 2015-06-24 16:21:33 +02:00
Bruno Sutic
2ce7679f9d
v3.0.0 2015-06-24 16:20:17 +02:00
Bruno Sutic
e1aabe4b8a
Remove 'almost sensible' feature 2015-06-24 16:17:49 +02:00
Bruno Sutic
fff9a53723
v2.3.0 2015-06-24 16:12:36 +02:00
Bruno Sutic
2476f3fb23
Fix option for tmux 2.0+ 2015-06-24 15:02:14 +02:00
Bruno Sutic
3ea5b9f6b9 Support *the* latest tmux version 2015-05-08 22:33:06 +02:00
Bruno Sutic
9d61936c53
Bugfix for 'prefix + R' key binding 2015-02-12 16:42:33 +01:00
Bruno Sutic
e725d88256
v2.2.0 2015-02-10 02:13:56 +01:00
Bruno Sutic
ba0b52d999
Enable 2015-02-10 02:13:14 +01:00
Bruno Sutic
b5a1c2ade5
Fix regex in key_binding_not_set
Fixes #15
2014-12-23 23:04:28 +01:00
Bruno Sutic
22d1305cb7
Add a link to tmux-resurrect to the readme 2014-12-12 23:42:14 +01:00
Bruno Sutic
c20bc5c4e2
v2.1.0 2014-12-12 23:25:39 +01:00
Bruno Sutic
294e607f83
Deprecate "almost sensible" feature 2014-12-12 23:17:34 +01:00
Bruno Sutic
d2565e5f10
Enable focus-events 2014-12-12 22:40:09 +01:00
Bruno Sutic
babfd71d08
Update changelog and readme 2014-12-03 13:22:19 +01:00
Bruno Sutic
c95eb0d88d Merge pull request #13 from m1foley/safe_bind_prefix
Don't overwrite $prefix if already bound
2014-12-03 13:19:50 +01:00
Mike Foley
df5b537d21 Don't overwrite $prefix if already bound 2014-12-02 17:55:10 -08:00
Bruno Sutic
bbff707eaa
Almost sensible options 2014-10-03 18:40:53 +02:00
Bruno Sutic
13f58a8870
Remove all mouse-related options 2014-10-03 17:45:31 +02:00
Bruno Sutic
c908b42f2b
Bugfix: tmux quits if 'reattach-to-user-namespace' is not installed
Fixes #9
2014-09-21 16:02:55 +02:00
Bruno Sutic
9beab4784c Merge pull request #8 from janko-m/prefix-descriptions
Add descriptions for `C-p` and `C-n` bindings
2014-09-04 15:03:14 +02:00
Janko Marohnić
4a584b0799 Add descriptions for C-p and C-n bindings
Fixes #6
2014-09-04 14:03:52 +02:00
Bruno Sutic
615906df94
v1.1.0 2014-08-30 22:48:07 +02:00
Bruno Sutic
4967aa0ce7
Do not unbind C-b if a user still uses it
Fixes #5
2014-08-30 22:44:37 +02:00
Bruno Sutic
fa3e8b91ea
Remove mode-mouse setting
Closes #4
2014-08-11 18:08:20 +02:00
Bruno Sutic
74c4a76bfa Big README update 2014-08-04 18:02:04 +02:00
Bruno Sutic
89a51c86e3 Do not force prefix to C-a
Assuming no one uses C-b as the default prefix is a wrong assumption.

Instead of making any assumption about the prefix, we're "building" on
top of whatever the user has set.

The following key-bindings will be set if prefix is set to C-a:
- `C-a + C-a` - sends prefix character
- `C-a + a` - switches to the last window

Likewise, if C-b is prefix, then the additional bindings will be
`C-b + C-b` and `C-b + b`.

Closes #1
2014-08-04 17:23:50 +02:00
Bruno Sutic
47df9983a9 Code style improvements 2014-08-04 17:13:50 +02:00
Bruno Sutic
6a9c4a78ff mode-mouse on
Close #3
2014-08-04 16:23:44 +02:00
Bruno Sutic
97904bc483 Bugfix: default-command utilizes $SHELL env var
The `default-command` setting on OS X determines the default shell if
`default-shell` is not set.
This update enables use of any user defined shell, even if
`default-shell` is not set.

Fixes #2
2014-08-04 16:01:30 +02:00