aboutsummaryrefslogtreecommitdiff
path: root/tmux.config
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.config')
-rw-r--r--tmux.config8
1 files changed, 8 insertions, 0 deletions
diff --git a/tmux.config b/tmux.config
index 790b781..1cfc59c 100644
--- a/tmux.config
+++ b/tmux.config
@@ -2,6 +2,12 @@
# Bindings
#####################################
+
+# Splits always start in the current pane's working directory
+unbind '"'
+unbind %
+bind '"' split-window -v -c "#{pane_current_path}"
+bind % split-window -h -c "#{pane_current_path}"
# Vim movements
bind C-h select-pane -L
bind C-j select-pane -D
@@ -31,6 +37,8 @@ bind C-v resize-pane -Z
# Settings
#####################################
+# Setup 'v' to begin selection as in Vim
+bind -Tcopy-mode-vi v send -X begin-selection
# Help with the color problems
set -g default-terminal "screen-256color"
# Mouse Scrolling