aboutsummaryrefslogtreecommitdiff
path: root/.config/tmux/tmux.conf
diff options
context:
space:
mode:
authorLuca Matei Pintilie <lucafulger@gmail.com>2023-02-01 20:12:01 +0000
committerLuca Matei Pintilie <lucafulger@gmail.com>2023-02-01 20:12:01 +0000
commit22e0dd0f9907738e6391f5ff26ba7c07cbe1bb9d (patch)
treea1ab5df83f794535c224bc85b50a04a91411450f /.config/tmux/tmux.conf
parentff0f307766b0b61c4cb0a0caaa3bf36e691b3570 (diff)
downloaddotfiles-22e0dd0f9907738e6391f5ff26ba7c07cbe1bb9d.tar
dotfiles-22e0dd0f9907738e6391f5ff26ba7c07cbe1bb9d.tar.gz
dotfiles-22e0dd0f9907738e6391f5ff26ba7c07cbe1bb9d.tar.bz2
dotfiles-22e0dd0f9907738e6391f5ff26ba7c07cbe1bb9d.tar.lz
dotfiles-22e0dd0f9907738e6391f5ff26ba7c07cbe1bb9d.tar.xz
dotfiles-22e0dd0f9907738e6391f5ff26ba7c07cbe1bb9d.tar.zst
dotfiles-22e0dd0f9907738e6391f5ff26ba7c07cbe1bb9d.zip
Fix annoying text suggestions in neovim and a tad better tmux config
Diffstat (limited to '.config/tmux/tmux.conf')
-rw-r--r--.config/tmux/tmux.conf8
1 files changed, 7 insertions, 1 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
index 7227e31..cbc5cba 100644
--- a/.config/tmux/tmux.conf
+++ b/.config/tmux/tmux.conf
@@ -12,7 +12,13 @@ set -g status-position bottom
# status-right
set -g status-right-length 100
-set -g status-right "#(echo $USER)@#(uname -n) | #(date -d now '+%a/%b/%Y %R') "
+set -g status-right "#{user}@#{host} | #(date -d now '+%a/%b/%Y %R') "
+
+set -g set-titles on
+set -g set-titles-string "#{window_name} #{user}@#{host_short}"
bind-key b set-option status
+set -g lock-command vlock
+bind L lock-session
+bind R source-file ~/.config/tmux/tmux.conf; display-message "source-file done"