Commit graph

15 commits

Author SHA1 Message Date
Robert Speicher
b1356a9d00 Use tmux 1.9+ syntax for status styling (#635)
As of tmux 1.9, the `-bg`, `-fg`, and `-attr` options were condensed
into a single `-style` option, which takes a comma-separated list of
options.

In tmux 2.9, the old options were fully removed.

See https://git.io/fjR7c for more information.
2019-06-18 09:57:12 +01:00
Andy Waite
3594ac5181 Use consistent syntax for tmux mappings
`bind` is effectively an alias for `bind-key`:

See https://superuser.com/questions/581939/on-tmux-what-is-the-difference-between-bind-and-bind-key
2017-12-28 12:55:23 -05:00
Matthew Sumner
b9b9e7db8c Unbind the shortcut for suspend-client
Why:

I occasionally will try to zoom in on a pane with the key combination of
C-s then z. However, instead of having the agility to remove my finger
from the ctrl key, I clumsily continue to have it depressed while
applying pressure to the z key. This results in the `suspend-client`
command being executed by tmux. I am then left not knowing what to do
and I can't reattach to the session the that terminal window. It's very
disconcerting and I wish it hadn't happened.

This PR:

Removes the binding for `suspend-client`.
2017-04-28 14:41:57 -04:00
Tute Costa
87e72a9098 Use C-s as tmux prefix
C-a allow use to trigger tmux prefix more easily than C-b, at the cost
of overriding the readline beginning of line. This change remaps it to
C-s, which has the same effect without that drawback.

Remove last-pane bindings.
Map prefixes to underlying behavior

Quoting Chris Toomey:

> I'm wondering if we might want to take a different approach with these
> keys. last-pane is already bound to ; by default which is comfortably
> on the home row, and if using vim-tmux-navigator also bound to
> (unprefixed) C-\.
2015-05-22 14:53:40 -04:00
aaron
c7255d3b92 Add extra option for base pane index for tmuxinator 2014-03-07 16:11:47 -08:00
Sterling Cobb
b024bdcd3a Allow for a local tmux.config file 2013-08-03 11:14:31 -07:00
nXqd
830f4fed17 Add shortcut to toggle between two most recent panes
* Mimics GNU screen's ctrl+a a
2013-06-10 12:29:20 +02:00
Dan Croak
d830652ab9 Remove reattach-to-user-namespace
This is Mac OS X-specific. Including this line in the dotfiles causes
`tmux` and `tmux new -s new-session` to break with `[exited]`.

I personally don't do copy-pasteable work inside tmux anymore.

I'm sure this is valuable to some of the thoughtbot vim users but I'm
thinking it better belongs above `DO NOT EDIT BELOW THIS LINE` as custom
configuration for those users.
2013-05-17 14:41:59 -07:00
Greg Lazarev
3ef486f915 Increase tmux scrollback lines 2013-04-06 11:33:48 -07:00
Dan Croak
d251e63bcf Renumber tmux windows after closing any of them 2013-02-23 19:19:19 -08:00
Dan Croak
a639b11303 Start tmux window numbers at 1
The keyboard from left to right is 1 2 3 4 5 6 7 8 9 0. Make tmux
windows match this order.
2013-02-23 19:00:46 -08:00
Dan Croak
397312ee8b Simplify tmux status bar
* Remove administrative debris (session name, hostname, time).
* Soften colors from harsh green to grayscale.
2012-11-07 17:31:20 -08:00
Dan Croak
3ef63fef9a Set tmux to use reattach-to-user-namespace
* Improves tmux compatibility with other systems.
* Better copy-paste: http://goo.gl/DN82E.
* Better RubyMotion: http://goo.gl/WDlCy.
2012-09-25 22:06:48 -07:00
Dan Croak
dc4c65e7ca use screen-256-color for tmux so that certain color schemes in vim look breathtakingly vibrant 2011-09-06 16:25:06 -04:00
Dan Croak
16cae933e9 adding tmux.conf 2011-08-11 12:16:32 -04:00