-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
marugoshi
committed
Feb 5, 2021
1 parent
c2fd3e5
commit 783b87c
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# prefix | ||
set -g prefix C-e | ||
|
||
# coloring | ||
set-option -g default-terminal screen-256color | ||
set -g terminal-overrides 'xterm:colors=256' | ||
|
||
# pane number | ||
set-option -g status-left '#H: [#P]' | ||
|
||
# pane select with vim key bind | ||
bind h select-pane -L | ||
bind j select-pane -D | ||
bind k select-pane -U | ||
bind l select-pane -R | ||
|
||
# split pane vertical | ||
bind | split-window -h | ||
|
||
# split pane horizontal | ||
bind - split-window -v | ||
|
||
# enable mouse | ||
set-option -g mouse on | ||
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e'" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters