Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split Keys seem inconsistent #19

Open
jbcpollak opened this issue Aug 12, 2017 · 3 comments
Open

Split Keys seem inconsistent #19

jbcpollak opened this issue Aug 12, 2017 · 3 comments

Comments

@jbcpollak
Copy link

The documentation says:

prefix + |
split current pane horizontally
prefix + -
split current pane vertically
prefix + \
split current pane full width horizontally
prefix + _
split current pane full width vertically

I have two problems:

  • The vertical split documentation seems backwards to what actually works:
    For me pressing _ gets a vertical split, and - gets a full-width vertical split. This actually makes more sense to me than the way it is described in the documentation.

  • The horizontal split is inconsistent from the vertical split:
    For full vertical splits you press shift, but for full horizontal splits you don't press shift.
    For in-pane vertical splits you do not press shift, but for in-pane horizontal splits you do press shift.

I suppose this depends on your keyboard (mine is standard US layout), but this seems inconsistent.

I tried changing the bindings in my tmux.conf file, but it doesn't work - is it possible to change the plugin so it doesn't overwrite customizations? I've seen that other plugins work that way.

Thanks!

@dragon788
Copy link

This is probably due to the naming convention that tmux uses for the split direction.

Sent from my Google Pixel XL using FastHub

@timss
Copy link

timss commented Sep 3, 2017

I tried changing the bindings in my tmux.conf file, but it doesn't work - is it possible to change the plugin so it doesn't overwrite customizations? I've seen that other plugins work that way.

I'd like something similar too. Navigation/move/resizing key bindings are nice, but I'd like to keep my split key bindings. Current "workaround" is to just adapt pain_control.tmux into my main tmux.conf.

@dragon788
Copy link

You could probably add an override parameter for the plugin similar to how the recently opened pull request has. Otherwise it would be a good overall enhancement for the plugin to figure out how the other plugins avoid clobbering existing settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants