readonly mode shortcut

This commit is contained in:
Wryn Wagner 2020-10-29 17:29:37 -06:00
parent 7e9c67b320
commit 3455457999
2 changed files with 3 additions and 1 deletions

View File

@ -37,3 +37,6 @@ bind-key -n M-a send-prefix
# rena[M]e session # rena[M]e session
bind-key -n M-m command-prompt -I "#S" "rename-session '%%'" bind-key -n M-m command-prompt -I "#S" "rename-session '%%'"
# toggle readonly session
bind-key -n M-r switch-client -r;

View File

@ -6,7 +6,6 @@ set -s escape-time 0
# quick reload # quick reload
bind-key r source-file ~/.tmux.conf\; display "TMUX CONFIG RELOADED" 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 # force color
set -g default-terminal "tmux-256color" set -g default-terminal "tmux-256color"