Author Topic: tmux use current directory when creating new panes/windows on osx  (Read 890 times)

0 Members and 1 Guest are viewing this topic.

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 30208
  • who run it.
  • Respect: +7365
    • View Profile
    • Email
this has bothered me for a long time, but i've never addressed it until now.

Code: [Select]
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"

feh!!!

mattaudesse

  • Newbie
  • *
  • Posts: 1
  • Respect: +1
    • View Profile
Re: tmux use current directory when creating new panes/windows on osx
« Reply #1 on: July 12, 2016, 10:17:24 am »
+1
I registered just to say thanks for this post... You've probably saved me several seconds' frustration per week!

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 30208
  • who run it.
  • Respect: +7365
    • View Profile
    • Email
Re: tmux use current directory when creating new panes/windows on osx
« Reply #2 on: July 12, 2016, 08:20:28 pm »
0
I registered just to say thanks for this post... You've probably saved me several seconds' frustration per week!

haha! awesome!

ya it's such a sanity saver. glad it helped you!