dotfiles

My configuration files.
Log | Files | Refs | README

commit 704a88b9c1841789fbeb63bad72ef26c45b577e6
parent d97bd2b119b597c4d5f0eee0f025d509f2e166c9
Author: Sven Möller <sven@svenmoeller.xyz>
Date:   Wed, 25 May 2022 18:32:44 +0200

tmux config

Diffstat:
Mtmux/.config/tmux/tmux.conf | 24++++++++++++++++++++++--
1 file changed, 22 insertions(+), 2 deletions(-)

diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf @@ -1,5 +1,4 @@ #Prefix is Ctrl-a -unbind C-b set -g prefix C-a bind a send-prefix bind C-a last-window @@ -8,7 +7,7 @@ unbind C-b set -sg escape-time 1 set -g base-index 1 set-window-option -g pane-base-index 1 -#set -g mouse on +set -g mouse on # easy-to-remember split pane commands bind | split-window -h @@ -21,3 +20,24 @@ bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R + +# y and p as in vim +bind Escape copy-mode +unbind p +bind p paste-buffer +bind -T copy-mode-vi 'v' send -X begin-selection +bind -T copy-mode-vi 'y' send -X copy-selection-and-cancel +bind -T copy-mode-vi 'Space' send -X halfpage-down +bind -T copy-mode-vi 'Bspace' send -X halfpage-up +bind -T copy-mode-vi 'Escape' send -X cancel + +bind -n S-F1 run-shell "pulsemixer --toggle-mute" +bind -n S-F2 run-shell "pulsemixer --change-volume -5" +bind -n S-F3 run-shell "pulsemixer --change-volume +5" +bind -n S-F4 run-shell "player toggle > /dev/null" +bind -n S-F5 new-window news +bind -n S-F6 new-window neomutt +bind -n S-F7 new-window qalc + +set -g lock-command vlock +bind L lock