tmux, open new pane in same dir
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# UGH
|
||||
# set-option -g default-command "reattach-to-user-namespace -l zsh"
|
||||
set-option -g default-command "reattach-to-user-namespace -l zsh"
|
||||
|
||||
# Set the prefix to ^A
|
||||
unbind C-b
|
||||
@@ -30,7 +30,7 @@ bind C-a last-window
|
||||
set-window-option -g mode-keys vi # vi key
|
||||
set-option -g status-keys vi
|
||||
|
||||
# Terminal Titles¬
|
||||
# Terminal Titles
|
||||
set -g set-titles on
|
||||
set -g set-titles-string "#H (#S)"
|
||||
|
||||
@@ -56,3 +56,8 @@ bind-key u capture-pane \; save-buffer /tmp/tmux-buffer \; new-window -n "urlvie
|
||||
|
||||
# Escape delay
|
||||
set -s escape-time 0
|
||||
|
||||
# Open new windows in current directory
|
||||
bind '"' split-window -c "#{pane_current_path}"
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
|
||||
Reference in New Issue
Block a user