X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=tmux.conf.in;h=ea82d371f34f5e081f630fa092044f3af13955f9;hb=03ca50de1ca1b158d17b6bd4458ff6acb9a5114f;hp=097ebc3891bac9be3a07aee01cc8e39e88492837;hpb=1df60503e9441b5d2f5a09ad2d01f99055b6e2d2;p=config%2Fdotfiles.git diff --git a/tmux.conf.in b/tmux.conf.in index 097ebc3..ea82d37 100644 --- a/tmux.conf.in +++ b/tmux.conf.in @@ -5,7 +5,7 @@ # - To swap/renumber windows (like GNU screen's :number command) use # :swap-window -t . -# Copyright (C) 2011-2012 Simon Ruderich +# Copyright (C) 2011-2013 Simon Ruderich # # This file is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ set-option -g default-shell "/bin/zsh" # Use a larger window history, in lines. -set-option -g history-limit 10000 +set-option -g history-limit 50000 # Display Tmux messages for a longer time, in milliseconds. set-option -g display-time 3000 @@ -67,7 +67,9 @@ set-option -g status-bg colour12 set-option -g status-left "" # Current load average and hostname (#H) on the right. set-option -g status-right "#(uptime | sed 's/^.*load averages*: //; s/,//g') \ - #H" + #H \ + #[] #(~/.shell/bin/battery.pl -t BATTERY)\ + " # Format for windows in the window list in the status line. #I window index, # #W window number, #F window flags. @@ -108,9 +110,14 @@ bind-key C-t display-message # Run urlview on the current screen content. Very useful to follow links. # Thanks to Arch wiki (https://wiki.archlinux.org/index.php/Tmux) for the -# basic idea. +# basic idea how to enable this in tmux. bind-key C-b capture-pane \; \ save-buffer ~/.tmp/tmux-urlview \; \ new-window "$SHELL -c 'urlview < ~/.tmp/tmux-urlview'" +# Binding for fast switching to windows 10 to 29 (and more if necessary). +# Thanks to Kays in #irssi on Freenode (2012-10-18 16:25 CEST) for reminding +# me of this issue in Tmux. See tmux-windows.pl for details how it works. +bind-key \; source-file "TMUX_WINDOW_PATH" + # vim: ft=tmux