From 9aabf93b3c710da31eece8c1142e78488028b861 Mon Sep 17 00:00:00 2001 From: Arti Zirk Date: Tue, 18 May 2021 17:16:58 +0300 Subject: [PATCH] Tweaks --- .config/tmux/tmux.conf | 5 +++++ .zshrc | 3 +++ 2 files changed, 8 insertions(+) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 2e200b9..3366bdf 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -1,8 +1,13 @@ set -g base-index 1 set -g mouse on +unbind C-b +set -g prefix C-a +bind C-a send-prefix + set -g set-titles on set -g set-titles-string "#T" +set -g status-style bg=black # More friendly split pane bind-key h split-window -h diff --git a/.zshrc b/.zshrc index a574c26..ed2ed4c 100644 --- a/.zshrc +++ b/.zshrc @@ -223,6 +223,9 @@ export MANWIDTH=80 # make npm gyp faster export JOBS=8 +# under tmux less needs this to support scrolling +#export LESS='--mouse --wheel-lines=3' + # https://neovim.io/doc/user/various.html#less function vless { /usr/share/nvim/runtime/macros/less.sh $@