From 6c9130e407ab4a7d67588ba2cc47c39d0839cfe2 Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Fri, 8 May 2020 19:37:41 +0200 Subject: . --- tmux/.tmux.conf | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'tmux') diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index e011822..9eec3eb 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -3,9 +3,9 @@ set -g default-command "fish" set -g escape-time 0 -unbind C-b set -g prefix C-a bind C-a send-prefix +unbind C-b set -g set-clipboard on @@ -17,13 +17,23 @@ set -g default-terminal "screen-256color" set -g mouse on -bind-key -n 'C-M-Left' prev -bind-key -n 'C-M-h' prev -bind-key -n 'C-M-Right' next -bind-key -n 'C-M-l' next +bind-key -n 'C-M-Left' prev +bind-key -n 'C-M-Right' next +bind-key -n 'C-M-Up' new-window +bind-key -n 'C-M-Down' confirm-before -p "kill-window #W? (y/n)" kill-window + +bind-key -n 'C-M-h' select-pane -L +bind-key -n 'C-M-l' select-pane -R +bind-key -n 'C-M-k' select-pane -U +bind-key -n 'C-M-j' select-pane -D +#bind-key -n 'C-M-\\' split-window -h +#bind-key -n 'C-M-\-' split-window +bind-key -n 'C-M-x' confirm-before -p "kill-pane #P? (y/n)" kill-pane + set -g status-style "fg=black,bg=colour34" bind-key 'Up' select-pane -P 'fg=white,bg=black' bind-key 'Down' select-pane -P 'fg=black,bg=white' + bind-key ] run "xclip -o -selection clipboard | tmux load-buffer - && tmux paste-buffer" -- cgit v1.2.3-70-g09d2