summaryrefslogtreecommitdiff
path: root/core/tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to 'core/tmux.conf')
-rw-r--r--core/tmux.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/tmux.conf b/core/tmux.conf
index 8a21bef..a1851d0 100644
--- a/core/tmux.conf
+++ b/core/tmux.conf
@@ -32,6 +32,10 @@ set -g status-interval 1
32set -g status-right-length 70 32set -g status-right-length 70
33set -g status-right "#{?pane_in_mode,line #{e|+:#{scroll_position},#{e|-:#{e|-:#{pane_height},1},#{copy_cursor_y}}}/#{history_size} ,}\"#{=21:pane_title}\" %H:%M %d-%b-%y" 33set -g status-right "#{?pane_in_mode,line #{e|+:#{scroll_position},#{e|-:#{e|-:#{pane_height},1},#{copy_cursor_y}}}/#{history_size} ,}\"#{=21:pane_title}\" %H:%M %d-%b-%y"
34 34
35# prefix + /: whole scrollback in a read-only vim popup with line numbers (:N, /search, y); :q closes it
36# (replaces the default prefix + / "describe key"); capture goes via a named buffer so it targets this pane
37bind-key / capture-pane -J -S - -b scrollback \; display-popup -E -w 99% -h 99% "f=\$(mktemp); tmux save-buffer -b scrollback \$f; tmux delete-buffer -b scrollback; vim -M -c 'set number' + \$f; rm -f \$f"
38
35# ===== Shared clipboard: RAM file /dev/shm/clip/buf on CLIP_HOST ===== 39# ===== Shared clipboard: RAM file /dev/shm/clip/buf on CLIP_HOST =====
36%hidden CLIP_HOST="root@p.noml.ch" 40%hidden CLIP_HOST="root@p.noml.ch"
37# One persistent ssh link (opens on first use, one key touch). 41# One persistent ssh link (opens on first use, one key touch).