🧠Smart, seamless, directional navigation and resizing of Neovim + terminal multiplexer splits. Supports tmux, Wezterm, and Kitty. Think about splits in terms of "up/down/left/right".
MIT License
831
stars
33
forks
source link
[Bug]: wrapping occurs despite setting `at_edge` to a value other than `wrap` #170
[X] Before filing, I have searched for similar issues.
Neovim Version
NVIM v0.10.0-dev-a44ac26
Multiplexer Integration
Kitty
Multiplexer Version
kitty 0.33.0
Steps to Reproduce
Set at_edge to any value that is not wrap
Expected Behavior
We should never move wrap (i.e. move in the opposite direction)
Actual Behavior
We do wrap. We move in the opposite direction.
Minimal Configuration to Reproduce
NA
Additional Details and/or Screenshots
It happens here. It seems that this statement, which attempts to move in the reverse direction, should never be called unless at_edge == AtEdgeBehavior.wrap.
Similar Issues
Neovim Version
Multiplexer Integration
Kitty
Multiplexer Version
Steps to Reproduce
Set
at_edge
to any value that is notwrap
Expected Behavior
We should never move wrap (i.e. move in the opposite direction)
Actual Behavior
We do wrap. We move in the opposite direction.
Minimal Configuration to Reproduce
NA
Additional Details and/or Screenshots
It happens here. It seems that this statement, which attempts to move in the reverse direction, should never be called unless
at_edge == AtEdgeBehavior.wrap
.https://github.com/mrjones2014/smart-splits.nvim/blob/cd59333ecf787856065f1c0e4cd41b0d9ec9c432/lua/smart-splits/mux/init.lua#L92