From 22e0dd0f9907738e6391f5ff26ba7c07cbe1bb9d Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Wed, 1 Feb 2023 21:12:01 +0100 Subject: Fix annoying text suggestions in neovim and a tad better tmux config --- .config/tmux/tmux.conf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.config/tmux/tmux.conf') 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" -- cgit v1.2.3