christoomey / dotfiles

My vim, zsh, git, tmux, and other config files and utility scripts.
MIT License
465 stars 31 forks source link

tmux split-window with \ does not work in tmux version 3.0 #127

Open sajoku opened 4 years ago

sajoku commented 4 years ago

since I'm always "stealing" your config files Upon upgrading my tmux to stable 3.0a tmux was nagging about split-window not being a valid command. I did some googling and apparently configuration parsing has changed. The \(backslash) now needs to be escaped tmux.

You have this here; https://github.com/christoomey/dotfiles/blob/ea34518fa4d6a03d26d09998fa4486815a2305c0/tmux/tmux.conf#L83

You can just escape this with adding a backslash. bind \\ split-window -h -c "#{pane_current_path}

Nothing to major but I figured I could save you the trouble of running into this and needing to google it yourself.

christoomey commented 4 years ago

Hey @sajoku, thanks for the tip, and I'm glad you've found value in "stealing" from my dotfiles :) I'm a firm believer that they're meant for sharing, and mine is really just cobbled together bits I stole from others, so we're all in this together.

Mark24Code commented 4 years ago

thanks