diff options
Diffstat (limited to '')
| -rw-r--r-- | README.md | 5 | ||||
| -rw-r--r-- | tmux/tmux.conf | 66 |
2 files changed, 71 insertions, 0 deletions
@@ -27,6 +27,11 @@ sudo cp picom.conf /etc/xdg/picom.conf # optional cp neofetch -r ~/.config/ cp vis -r ~/.config/ # for https://github.com/dpayne/cli-visualizer + +git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm +cp tmux -r ~/.config + +# Start tmux, and install necessary plugins with C-a I ``` Build and install each program manually or with the included script diff --git a/tmux/tmux.conf b/tmux/tmux.conf new file mode 100644 index 0000000..b8ce65d --- /dev/null +++ b/tmux/tmux.conf @@ -0,0 +1,66 @@ +set -g default-terminal "st-256color" + +set -g prefix C-a +unbind C-b +bind-key C-a send-prefix + +unbind % +bind v split-window -h +unbind '"' +bind - split-window -v + +unbind r +bind r source-file ~/.config/tmux/tmux.conf + +bind -r j resize-pane -D 5 +bind -r k resize-pane -U 5 +bind -r l resize-pane -R 5 +bind -r h resize-pane -L 5 +bind -r m resize-pane -Z +bind C-p previous-window +bind C-n next-window + +set -g mouse on + +set -g history-limit 30000 + +set-window-option -g mode-keys vi +bind P paste-buffer +bind-key -T copy-mode-vi 'v' send-keys -X begin-selection +bind-key -T copy-mode-vi 'y' send-keys -X copy-selection +bind-key -T copy-mode-vi 'y' send-keys -X copy-pipe-and-cancel 'xclip -sel clip -i' + +unbind -T copy-mode-vi MouseDragEnd1Pane + +bind-key -n 'F4' copy-mode + +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'christoomey/vim-tmux-navigator' +set -g @plugin 'rose-pine/tmux' +set -g @plugin 'tmux-plugins/tmux-resurrect' +set -g @plugin 'tmux-plugins/tmux-continuum' + +set -g @rose_pine_variant 'main' + +set -g @rose_pine_host 'on' +set -g @rose_pine_date_time '' +set -g @rose_pine_user 'on' +set -g @rose_pine_directory 'on' +set -g @rose_pine_bar_bg_disable 'on' + +set -g @rose_pine_bar_bg_disabled_color_option 'default' + +# set -g @rose_pine_only_windows 'on' +# set -g @rose_pine_disable_active_window_menu 'on' + +set -g @rose_pine_default_window_behavior 'on' +set -g @rose_pine_show_current_program 'on' + +set -g @rose_pine_prioritize_windows 'on' +set -g @rose_pine_width_to_hide '80' +set -g @rose_pine_window_count '5' + +set -g @resurrect-capture-pane-contents 'on' +set -g @continue-restore 'on' + +run '~/.tmux/plugins/tpm/tpm' |
