Commits

chao committed 5a5dd1b

Updated tmux configuration file for tmux v1.9

Comments (0)

Files changed (1)

 #
 # This configuration file binds many vi- and vim-like bindings to the
 # appropriate tmux key bindings.  Note that for many key bindings there is no
-# tmux analogue.  This is intended for tmux 1.3, which handles pane selection
-# differently from the previous versions
+# tmux analogue.
 
 # Rebind prefix to Ctrl-s
 unbind C-b
 # send the prefix to client inside window (ala nested sessions)
 bind-key a send-prefix
 
-# toggle last window like screen
-bind-key C-a last-window
+# new window will inherit the current path
+bind-key c new-window -c "#{pane_current_path}"
 
 # split windows like vim
 # vim's definition of a horizontal/vertical split is reversed from tmux's
-bind s split-window -v
-bind v split-window -h
+bind s split-window -v -c "#{pane_current_path}"
+bind v split-window -h -c "#{pane_current_path}"
 
 # move around panes with hjkl, as one would in vim after pressing ctrl-w
 # bind h select-pane -L