mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Update alacritty, kitty, bspwm, i3wm, vim,tmux configs & sctipts
This commit is contained in:
parent
246dc34d13
commit
c7da10d076
22 changed files with 256 additions and 282 deletions
|
|
@ -35,3 +35,11 @@ set -g status-style fg=colour110
|
|||
set -g pane-border-style fg=colour240
|
||||
set -g pane-active-border-style fg=colour39
|
||||
set-window-option -g window-status-current-style fg=colour39
|
||||
|
||||
# VIM tmux navigation
|
||||
is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
|
||||
| grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
|
||||
bind-key -n C-h if-shell "$is_vim" "send-keys C-h" "select-pane -L"
|
||||
bind-key -n C-j if-shell "$is_vim" "send-keys C-j" "select-pane -D"
|
||||
bind-key -n C-k if-shell "$is_vim" "send-keys C-k" "select-pane -U"
|
||||
bind-key -n C-l if-shell "$is_vim" "send-keys C-l" "select-pane -R"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue