Skip to content

g:tmux_navigator_no_wrap prevents directional navigation when in zoomed pane #439

@komar007

Description

@komar007

When g:tmux_navigator_no_wrap is enabled, #{pane_at_*} variables are used to detect being at the edge of the tmux window and conditionally disable navigation. However, when in zoomed mode, all #{pane_at_*} variables are 1 preventing navigation in all directions.

I think the most correct behavior would be to navigate as if the pane was not zoomed (detect if pane would be the last in a given direction in unzoomed mode), but I don't think it can be implemented in the current version of tmux in a nice way.

As a workaround, it would be good to have an option to disable the wrap check when in zoomed mode, so that navigation outside of vim is possible, albeit wrapped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions