diff options
Diffstat (limited to 'tmux')
| -rw-r--r-- | tmux/.tmux.conf | 20 |
1 files changed, 15 insertions, 5 deletions
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" |
