Major config changes
Add alacritty config, as it is my main terminal now Change **a lot** of nvim configs Add tmux configuration Update zsh configs Add .gitconfig with custom pager Include tmux-plugin-manager as a submodule
This commit is contained in:
parent
bb8a0eaec7
commit
90ca95ad38
23 changed files with 529 additions and 51 deletions
13
.config/tmux/vim.conf
Normal file
13
.config/tmux/vim.conf
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
is_vim="ps -o state= -o comm= -t '#{pane_tty}'| grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
|
||||
|
||||
bind-key -n M-h if-shell "$is_vim" "send-keys C-h" "select-pane -L"
|
||||
bind-key -n M-j if-shell "$is_vim" "send-keys C-j" "select-pane -D"
|
||||
bind-key -n M-k if-shell "$is_vim" "send-keys C-k" "select-pane -U"
|
||||
bind-key -n M-l if-shell "$is_vim" "send-keys C-l" "select-pane -R"
|
||||
|
||||
bind-key -T copy-mode-vi M-h select-pane -L
|
||||
bind-key -T copy-mode-vi M-j select-pane -D
|
||||
bind-key -T copy-mode-vi M-k select-pane -U
|
||||
bind-key -T copy-mode-vi M-l select-pane -R
|
||||
|
||||
# vim: ft=tmux
|
||||
Loading…
Add table
Add a link
Reference in a new issue