Commit Graph

31 Commits

Author SHA1 Message Date
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
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
3baff4e795
Remove detach-on-destroy 2015-08-10 20:29:25 +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
e1aabe4b8a
Remove 'almost sensible' feature 2015-06-24 16:17:49 +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
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
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
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
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
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
Bruno Sutic
7629efcbe4 status-keys emacs
`status-keys vi` is really cumbersome for those rare times when you need
to type something in tmux command prompt.
2014-07-30 16:51:42 +02:00
Bruno Sutic
7810165e88 First commit 2014-07-30 16:33:51 +02:00