laptop fixes
This commit is contained in:
+10
-7
@@ -32,9 +32,12 @@ bind e new-window -n tmux.conf "exec \${EDITOR:-nvim} ~/.tmux.conf"
|
||||
|
||||
# --- Vim-style panes ----------------------------------------------------------
|
||||
# Keep the familiar split keys and always inherit the active pane's directory.
|
||||
bind - split-window -v -c "#{pane_current_path}"
|
||||
bind | split-window -h -c "#{pane_current_path}"
|
||||
bind m split-window -v -c "#{pane_current_path}"
|
||||
bind n split-window -h -c "#{pane_current_path}"
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
# Re-tile the current window using Ctrl-a, Ctrl-h / Ctrl-a, Ctrl-k.
|
||||
bind C-h select-layout even-vertical
|
||||
bind C-k select-layout even-horizontal
|
||||
|
||||
bind -r h select-pane -L
|
||||
bind -r j select-pane -D
|
||||
@@ -47,15 +50,15 @@ bind -r L resize-pane -R 5
|
||||
bind -r \{ swap-pane -U
|
||||
bind -r \} swap-pane -D
|
||||
bind z resize-pane -Z
|
||||
bind x confirm-before -p "kill pane #P? (y/n)" kill-pane
|
||||
bind w confirm-before -p "kill pane #P? (y/n)" kill-pane
|
||||
|
||||
# --- Windows, sessions, and buffers ------------------------------------------
|
||||
bind -r n next-window
|
||||
bind -r p previous-window
|
||||
bind -r f next-window
|
||||
bind -r b previous-window
|
||||
bind Tab last-window
|
||||
bind w choose-tree -Zw
|
||||
bind d choose-tree -Zw
|
||||
bind s choose-tree -Zs
|
||||
bind f command-prompt -p "switch to session:" "switch-client -t '%%'"
|
||||
bind g command-prompt -p "switch to session:" "switch-client -t '%%'"
|
||||
bind [ choose-buffer
|
||||
bind P paste-buffer # tmux buffer fallback; prefix + ] pastes the system clipboard
|
||||
bind C-l send-keys C-l \; clear-history
|
||||
|
||||
Reference in New Issue
Block a user