]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - tmux.conf.in
digrc: Add. Configuration file for dig.
[config/dotfiles.git] / tmux.conf.in
index 699458a5ab00a7523f774eda7047b769336ff0a2..a5b83615828ffa313a138165092ac22ea04edda0 100644 (file)
@@ -4,6 +4,7 @@
 #
 # - To swap/renumber windows (like GNU screen's :number command) use
 #   :swap-window -t <number>.
+# - GNU screen's screen -x can be replicated with tmux new-session -t.
 
 # Copyright (C) 2011-2013  Simon Ruderich
 #
 
 # GENERAL
 
+# Use vlock to lock the screen. Tmux doesn't have an internal lock program
+# like GNU screen!
+set-option -g lock-command "vlock"
+# Lock sessions individually. Otherwise lock-after-time will wait on all other
+# sessions to idle before it locks this session.
+set-option -g lock-server off
+
 # Use Zsh as shell. Tmux does not display a warning if the shell isn't
 # available!
 set-option -g default-shell "/bin/zsh"