mrjones2014 / smart-splits.nvim

🧠 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
977 stars 43 forks source link

[FEATURE]: Swap windows directionally #44

Closed mrjones2014 closed 1 year ago

mrjones2014 commented 1 year ago

Is your feature request related to a problem? Please describe.

Run :vsp then you want to swap the buffers directionally

Describe the solution you'd like

A function to swap the buffer with the buffer from the window next to it

Describe alternatives you've considered Other plugins

Additional context

CKolkey commented 1 year ago

Just a heads up, the cursor doesn't follow the buffer as you move it. Bit confusing.

mrjones2014 commented 1 year ago

This is how I intended the feature to work. I’m open to changing it with an option if you open a new issue.