aboutsummaryrefslogtreecommitdiff
path: root/tmux.config
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2017-04-29 09:41:16 -0600
committerCody Hiar <codyfh@gmail.com>2017-04-29 09:41:16 -0600
commitdbd80e8b5fbd0947c2064f8094a266ba83587dec (patch)
treeeac0387fc97a86b9ab485b815bd23c0cf3af250c /tmux.config
parentb0aae0258336cdc931b34bae1836eace72a00a91 (diff)
Couple of minor updates
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