bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
+bind ] paste-buffer -p
set-option -g status-style "bg=black,fg=white"
set-option -g status-left "#S>"
capture-pane -J
save-buffer /tmp/tmux-buffer
delete-buffer
- display-popup -EK -w 100% -R "urlview /tmp/tmux-buffer"
+ display-popup -KE -w 100% -R "urlview /tmp/tmux-buffer"
}
bind-key y {
split-window 'vim -c "set listchars=" -c "match ExtraWhitespace //" /tmp/tmux-buffer'
}
+bind-key o {
+ capture-pane -J
+ save-buffer /tmp/tmux-buffer
+ delete-buffer
+ display-popup -KE -w 100% -R "~/bin/tmux-path-extractor.sh '#{pane_current_path}'"
+ paste-buffer
+ delete-buffer
+}
+
+bind-key O {
+ display-popup -KE -w 100% -R "~/bin/tmux-git-extractor.sh '#{pane_current_path}'"
+ paste-buffer
+ delete-buffer
+}
+
bind-key Y {
capture-pane -J -S - -E -
save-buffer /tmp/tmux-buffer