add tmux
This commit is contained in:
81
dot_config/tmux/tmux.conf
Normal file
81
dot_config/tmux/tmux.conf
Normal file
@@ -0,0 +1,81 @@
|
||||
#set -g default-terminal 'screen-256color'
|
||||
|
||||
set -ga terminal-overrides ",xterm-256color:Tc"
|
||||
|
||||
# enable Mouse Mode
|
||||
set -g mouse off
|
||||
|
||||
|
||||
# start window numbers at 1 to match keyboard order with tmux window order
|
||||
set -g base-index 1
|
||||
set-window-option -g pane-base-index 1
|
||||
|
||||
|
||||
#source-file /home/sebastian/.tmux/green.tmuxtheme
|
||||
#source-file /home/sebastian/.tmux/orange.tmuxtheme
|
||||
|
||||
#run-shell "/home/sebastian/tools/tmux-power/tmux-power.tmux"
|
||||
|
||||
set -g @tmux_power_theme 'forest'
|
||||
|
||||
|
||||
set -g @tmux_power_date_icon ' ' # set it to a blank will disable the icon
|
||||
set -g @tmux_power_time_icon '🕘' # emoji can be used if your terminal supports
|
||||
set -g @tmux_power_user_icon 'U'
|
||||
set -g @tmux_power_session_icon 'S'
|
||||
set -g @tmux_power_upload_speed_icon '↑'
|
||||
set -g @tmux_power_download_speed_icon '↓'
|
||||
|
||||
set -g @tmux_power_show_upload_speed true
|
||||
set -g @tmux_power_show_download_speed true
|
||||
|
||||
# if run as "tmux attach", create a session if one does not already exist
|
||||
#new-session -n $HOST
|
||||
|
||||
|
||||
bind-key -n C-a send-prefix
|
||||
|
||||
#bindkey -n C-n new-window -c "#{pane_current_path}"
|
||||
bind '"' split-window -c "#{pane_current_path}"
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
|
||||
bind-key S-Left swap-window -t -1
|
||||
bind-key S-Right swap-window -t +1
|
||||
|
||||
# Scroll through Windows with Ctrl+B followed by Ctrl-H and Ctrl-L
|
||||
bind -n C-h select-window -t :-
|
||||
bind -n C-l select-window -t :+
|
||||
# Scroll through Windows with Ctrl+B followed by Ctrl-left-arrow and Ctrl-right-arrow
|
||||
bind -n C-Left select-window -t :-
|
||||
bind -n C-Right select-window -t :+
|
||||
|
||||
|
||||
#bind -n F1 select-window -t :=11
|
||||
#bind -n F2 select-window -t :=12
|
||||
#bind -n F3 select-window -t :=13
|
||||
#bind -n F4 select-window -t :=14
|
||||
#bind -n F5 select-window -t :=15
|
||||
#bind -n F6 select-window -t :=16
|
||||
#bind -n F7 select-window -t :=17
|
||||
#bind -n F8 select-window -t :=18
|
||||
#bind -n F9 select-window -t :=19
|
||||
#bind -n F10 select-window -t :=20
|
||||
#bind -n F11 select-window -t :=10
|
||||
|
||||
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
|
||||
set -g @plugin 'wfxr/tmux-power'
|
||||
set -g @plugin 'wfxr/tmux-net-speed'
|
||||
|
||||
|
||||
set -g @plugin "nordtheme/tmux"
|
||||
|
||||
|
||||
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
|
||||
Reference in New Issue
Block a user