+# Pass escape immediately to vim
+set -sg escape-time 0
+
+# Copy to X11 clipboard
+bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
+
+bind-key m set-option -g mouse on \; display 'Mouse: ON'
+bind-key M set-option -g mouse off \; display 'Mouse: OFF'
+
+# Let split et alii use the pane's current path as current path of the new pane
+bind '"' split-window -c "#{pane_current_path}"
+bind % split-window -h -c "#{pane_current_path}"
+bind c new-window -c "#{pane_current_path}"
+
+# Pass home and end keys
+bind-key -n Home send Escape "OH"
+bind-key -n End send Escape "OF"
+
+# Pass titles to terminal
+set-option -g set-titles on
+set-option -g set-titles-string "[#S : #W : #T]"
+