diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-06-23 18:09:09 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-06-23 18:09:09 +0200 |
| commit | 234f34b6ca06d7ca314d9d14ab5a3ae0ba041541 (patch) | |
| tree | 2e9c7ff551a8ac86a2e47c32d190cc50b1b06f44 /.config | |
| parent | 0b380c1fd443c4c97379403938b680bdbbc65a38 (diff) | |
| download | dotfiles-234f34b6ca06d7ca314d9d14ab5a3ae0ba041541.tar.gz dotfiles-234f34b6ca06d7ca314d9d14ab5a3ae0ba041541.zip | |
Fixed syntax error
Diffstat (limited to '.config')
| -rw-r--r-- | .config/tmux/tmux.conf | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index aaa8fb8..11ed4e6 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -96,11 +96,11 @@ bind -n M-0 select-window -t :=0 # See: https://github.com/christoomey/vim-tmux-navigator is_vim="ps -o state= -o comm= -t '#{pane_tty}' | grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|l?n?vim?x?)(diff)?$'" -bind-key -n 'C-h' if-shell "$is_vim" 'send-keys -t=+ C-h' 'if-shell -F '#{pane_in_zoom}' "break-pane" "send-keys -t=+ select-pane -L"' -bind-key -n 'C-j' if-shell "$is_vim" 'send-keys -t=+ C-j' 'if-shell -F '#{pane_in_zoom}' "break-pane" "send-keys -t=+ select-pane -D"' -bind-key -n 'C-k' if-shell "$is_vim" 'send-keys -t=+ C-k' 'if-shell -F '#{pane_in_zoom}' "break-pane" "send-keys -t=+ select-pane -U"' -bind-key -n 'C-l' if-shell "$is_vim" 'send-keys -t=+ C-l' 'if-shell -F '#{pane_in_zoom}' "break-pane" "send-keys -t=+ select-pane -R"' -bind-key -n 'C-\' if-shell "$is_vim" 'send-keys -t=+ C-\' 'if-shell -F '#{pane_in_zoom}' "break-pane" "send-keys -t=+ select-pane -l"' +bind-key -n 'C-h' if-shell "$is_vim" 'send-keys -t=+ C-h' 'if-shell -F "#{pane_in_zoom}" "break-pane" "send-keys -t=+ select-pane -L"' +bind-key -n 'C-j' if-shell "$is_vim" 'send-keys -t=+ C-j' 'if-shell -F "#{pane_in_zoom}" "break-pane" "send-keys -t=+ select-pane -D"' +bind-key -n 'C-k' if-shell "$is_vim" 'send-keys -t=+ C-k' 'if-shell -F "#{pane_in_zoom}" "break-pane" "send-keys -t=+ select-pane -U"' +bind-key -n 'C-l' if-shell "$is_vim" 'send-keys -t=+ C-l' 'if-shell -F "#{pane_in_zoom}" "break-pane" "send-keys -t=+ select-pane -R"' +#bind-key -n 'C-\\' if-shell "$is_vim" 'send-keys -t=+ C-\\'' 'if-shell -F "#{pane_in_zoom}" "break-pane" "send-keys -t=+ select-pane -l"' tmux_version='$(tmux -V | sed -En "s/^tmux ([0-9]+(.[0-9]+)?).*/\1/p")' if-shell -b '[ "$(echo "$tmux_version < 3.0" | bc)" = 1 ]' \ |
