dotfiles/.tmux.conf

115 lines
3.5 KiB
Text
Raw Normal View History

2023-08-17 14:14:00 +09:00
# prefix<69>L<EFBFBD>[<5B><>M-a<>ɕύX<CF8D><58><EFBFBD><EFBFBD>
set -g prefix M-a
# M-b<>̃L<CC83>[<5B>o<EFBFBD>C<EFBFBD><43><EFBFBD>h<EFBFBD><68><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
unbind M-b
# <20>}<7D>E<EFBFBD>X<EFBFBD><58><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>L<EFBFBD><4C><EFBFBD>ɂ<EFBFBD><C982><EFBFBD>
set-option -g mouse on
# <20>f<EFBFBD>t<EFBFBD>H<EFBFBD><48><EFBFBD>g<EFBFBD>V<EFBFBD>F<EFBFBD><46><EFBFBD>̐ݒ<CC90>
set-option -g default-shell /bin/zsh
set-option -g default-command /bin/zsh
# <20>L<EFBFBD>[<5B>X<EFBFBD>g<EFBFBD><67><EFBFBD>[<5B>N<EFBFBD>̃f<CC83>B<EFBFBD><42><EFBFBD>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>
set -sg escape-time 0
# <20>E<EFBFBD>B<EFBFBD><42><EFBFBD>h<EFBFBD>E<EFBFBD>̃C<CC83><43><EFBFBD>f<EFBFBD>b<EFBFBD>N<EFBFBD>X<EFBFBD><58>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD>n<EFBFBD>߂<EFBFBD>
set -g base-index 1
# <20>y<EFBFBD>C<EFBFBD><43><EFBFBD>̃C<CC83><43><EFBFBD>f<EFBFBD>b<EFBFBD>N<EFBFBD>X<EFBFBD><58>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD>n<EFBFBD>߂<EFBFBD>
set-window-option -g pane-base-index 1
# <20>ݒ<EFBFBD><DD92>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B>h<EFBFBD><68><EFBFBD><EFBFBD>
bind-key r source-file ~/.tmux.conf \; display "Reloaded."
# M-a*2<><32>tmux<75><78><EFBFBD>̃v<CC83><76><EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD><EFBFBD>M-a<>𑗂<EFBFBD>
bind-key M-a send-prefix
# <20>E<EFBFBD>C<EFBFBD><43><EFBFBD>h<EFBFBD>E<EFBFBD><45><EFBFBD><EFBFBD>
bind-key -n M-s split-window -v -c "#{pane_current_path}"
bind-key -n M-v split-window -h -c "#{pane_current_path}"
bind-key -n M-Left select-pane -L
bind-key -n M-Right select-pane -R
bind-key -n M-Up select-pane -U
bind-key -n M-Down select-pane -D
bind-key -n M-w new-window
bind-key -n M-Tab select-window -t :+
bind-key -n M-1 select-window -t 1
bind-key -n M-2 select-window -t 2
bind-key -n M-3 select-window -t 3
bind-key -n M-4 select-window -t 4
bind-key -n M-5 select-window -t 5
bind-key -n M-6 select-window -t 6
bind-key -n M-7 select-window -t 7
bind-key -n M-8 select-window -t 8
bind-key -n M-9 select-window -t 9
bind-key -n M-h select-pane -L
bind-key -n M-l select-pane -R
bind-key -n M-j select-pane -D
bind-key -n M-k select-pane -U
bind-key -n M-q kill-pane
bind-key q kill-window
# <20>R<EFBFBD>s<EFBFBD>[<5B><><EFBFBD>[<5B>h
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xsel -bi"
bind-key -T copy-mode-vi Y send-keys -X copy-line "xsel -bi"
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xsel -bi"
bind-key Space copy-mode
bind-key p paste-buffer
# Vim<69>̃L<CC83>[<5B>o<EFBFBD>C<EFBFBD><43><EFBFBD>h<EFBFBD>Ńy<C583>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>T<EFBFBD>C<EFBFBD>Y<EFBFBD><59><EFBFBD><EFBFBD>
bind-key -r H resize-pane -L 3
bind-key -r J resize-pane -D 3
bind-key -r K resize-pane -U 3
bind-key -r L resize-pane -R 3
# 256<35>F<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD>p<EFBFBD><70><EFBFBD><EFBFBD>
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",$TERM:Tc"
# <20>y<EFBFBD>C<EFBFBD><43><EFBFBD>̘g<CC98><67>
set -g pane-border-lines single
# <20>X<EFBFBD>e<EFBFBD>[<5B>^<5E>X<EFBFBD>o<EFBFBD>[<5B><><EFBFBD>ݒ肷<DD92><E882B7>
set-option -g status-position "top"
set -g status-justify "left"
set -g status "on"
set -g status-left-style "none"
set -g message-command-style "fg=#c5cdd9,bg=#414550"
set -g status-right-style "none"
set -g pane-active-border-style "fg=#a0c980"
set -g status-style "none,bg=#33353f"
set -g message-style "fg=#c5cdd9,bg=#414550"
set -g pane-border-style "fg=#414550"
set -g status-right-length "100"
set -g status-left-length "100"
set-window-option -g window-status-activity-style "none,fg=#a0c980,bg=#33353f"
set-window-option -g window-status-separator ""
set-window-option -g window-status-style "none,fg=#c5cdd9,bg=#33353f"
set -g status-left "#[fg=#2c2e34,bg=#a0c980] #S #[fg=#a0c980,bg=#33353f,nobold,nounderscore,noitalics]"
set -g status-right ""
set-window-option -g window-status-format "#[fg=#33353f,bg=#33353f,nobold,nounderscore,noitalics]#[default] #I #W #[fg=#33353f,bg=#33353f,nobold,nounderscore,noitalics]"
set-window-option -g window-status-current-format "#[fg=#33353f,bg=#414550,nobold,nounderscore,noitalics]#[fg=#c5cdd9,bg=#414550] #I #W #[fg=#414550,bg=#33353f,nobold,nounderscore,noitalics]"
## <20><><EFBFBD>t<EFBFBD><74><EFBFBD>b<EFBFBD>V<EFBFBD><56><EFBFBD>̊Ԋu<D48A><75><EFBFBD>ݒ肷<DD92><E882B7>
set -g status-interval 1
## <20>t<EFBFBD>H<EFBFBD>[<5B>J<EFBFBD>X<EFBFBD>C<EFBFBD>x<EFBFBD><78><EFBFBD>g
set -g focus-events on
## <20><><EFBFBD>B<EFBFBD>W<EFBFBD><57><EFBFBD>A<EFBFBD><41><EFBFBD>m<EFBFBD>[<5B>e<EFBFBD>B<EFBFBD>t<EFBFBD>B<EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>L<EFBFBD><4C><EFBFBD>ɂ<EFBFBD><C982><EFBFBD>
set-window-option -g monitor-activity on
set -g visual-activity on
## Alcritty<74><79>tmux<75><78><EFBFBD>L<EFBFBD><4C><EFBFBD>ɂ<EFBFBD><C982><EFBFBD>
set-option -ga terminal-overrides ",alacritty:RGB"