LoginSignup
2
0

More than 5 years have passed since last update.

tmuxでペインを分割した時にいちいちホームディレクトリに戻る問題を解決

Last updated at Posted at 2018-06-19

tmuxってペインを分割した時にいちいちホームディレクトリに戻っちゃうんですよね。
いや、どうせ同じディレクトリで作業するから!!!!

直したい・・・。
そんな時は、

tmux.confに以下を追記します。

 bind c new-window -c "#{pane_current_path}"
 bind % split-window -hc "#{pane_current_path}"
 bind '"' split-window -vc "#{pane_current_path}"

tmuxを再起動してやってみると・・・

あれ、ならへんやーん・・・。

ってなった自分は、パソコンごと再起動してみました。

そしたらできた。

めでたしめでたし

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0