diff --git a/tmux/n-bindings.tmux b/tmux/n-bindings.tmux index 32a6e9e..9a55abd 100644 --- a/tmux/n-bindings.tmux +++ b/tmux/n-bindings.tmux @@ -37,3 +37,6 @@ bind-key -n M-a send-prefix # rena[M]e session bind-key -n M-m command-prompt -I "#S" "rename-session '%%'" + +# toggle readonly session +bind-key -n M-r switch-client -r; diff --git a/tmux/tmux.conf b/tmux/tmux.conf index fe96a23..e6d22b5 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -6,7 +6,6 @@ set -s escape-time 0 # quick reload bind-key r source-file ~/.tmux.conf\; display "TMUX CONFIG RELOADED" -bind-key -n M-r source-file ~/.tmux.conf\; display "TMUX CONFIG RELOADED" # force color set -g default-terminal "tmux-256color"