more ergonomic keybindings for tmux and some other popups
This commit is contained in:
+8
-9
@@ -6,19 +6,18 @@ bind-key C-a send-prefix
|
|||||||
unbind c
|
unbind c
|
||||||
bind c new-window -c "#{pane_current_path}"
|
bind c new-window -c "#{pane_current_path}"
|
||||||
|
|
||||||
bind r source-file ~/.tmux.conf \; display "Reloaded!"
|
bind c-r source-file ~/.tmux.conf \; display "Reloaded!"
|
||||||
|
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
|
|
||||||
bind h select-pane -L
|
bind c-h select-pane -L
|
||||||
bind j select-pane -D
|
bind c-j select-pane -D
|
||||||
bind k select-pane -U
|
bind c-k select-pane -U
|
||||||
bind l select-pane -R
|
bind c-l select-pane -R
|
||||||
|
|
||||||
bind | split-window -h
|
bind c-g popup -E -w 100% -h 100% -d "#{pane_current_path}" -b rounded lazygit
|
||||||
bind - split-window -v
|
bind c-k popup -E -w 100% -h 100% -b rounded "tmux list-keys | fzf"
|
||||||
|
bind c-t popup -E -w 100% -h 100% -b rounded -d "#{pane_current_path}"
|
||||||
bind g popup -E -w 100% -h 100% -d "#{pane_current_path}" -B lazygit
|
|
||||||
|
|
||||||
set -g default-terminal "tmux-256color"
|
set -g default-terminal "tmux-256color"
|
||||||
set -as terminal-overrides ",xterm-256color:Tc"
|
set -as terminal-overrides ",xterm-256color:Tc"
|
||||||
|
|||||||
Reference in New Issue
Block a user