tmux: make pagers not blank the screen
This commit is contained in:
parent
a282a2ee76
commit
ca502b8054
1 changed files with 7 additions and 4 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
# prefix = Ctrl+A, double that to send it literally (like screen)
|
# prefix = Ctrl+A, double that to send it literally (like screen)
|
||||||
unbind C-b
|
unbind C-b
|
||||||
set -g prefix C-a
|
set-option -g prefix C-a
|
||||||
bind C-a send-prefix
|
bind C-a send-prefix
|
||||||
|
|
||||||
# Shift+S to type into all panes at once
|
# Shift+S to type into all panes at once
|
||||||
|
@ -23,14 +23,17 @@ bind-key - split-window -v
|
||||||
# └─────────────┘
|
# └─────────────┘
|
||||||
|
|
||||||
# mouse (scrolling, selection)
|
# mouse (scrolling, selection)
|
||||||
set -g mouse on
|
set-option -g mouse on
|
||||||
|
|
||||||
# I got room!
|
# I got room!
|
||||||
set -g history-limit 100000
|
set-option -g history-limit 100000
|
||||||
|
|
||||||
# rename windows using escape sequences
|
# rename windows using escape sequences
|
||||||
set-window-option -g automatic-rename off
|
set-window-option -g automatic-rename off
|
||||||
set -g allow-rename on
|
set-option -g allow-rename on
|
||||||
|
|
||||||
|
# so pagers don't blank the screen
|
||||||
|
set-option -g alternate-screen off
|
||||||
|
|
||||||
# ┌──────────────────────────────────────────────────────┐
|
# ┌──────────────────────────────────────────────────────┐
|
||||||
# │ Gruvbox ^^ from https://github.com/egel/tmux-gruvbox │
|
# │ Gruvbox ^^ from https://github.com/egel/tmux-gruvbox │
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue