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
895 stars 37 forks source link

[Feature]: Add commands for buffer swap #137

Closed rmarquis closed 9 months ago

rmarquis commented 9 months ago

Similar Issues

Description

In #45, support for swapping buffers directionally was added. However, related commands (similarly as SmartResizeLeft or SmartCursorMoveLeft) were not added.

Is there any reason for this, or has this simply be forgotten?

If the reason is the latter, adding commands to control buffer, (such as SmartBufferMoveLeft, SmartBufferMoveDown, SmartBufferMoveUp, SmartBufferMoveRight) would be appreaciated. It would ease keymapping, and also add consistency to the available commands.

mrjones2014 commented 9 months ago

No reason they weren’t added, I think I just forgot.

would gladly take a PR or I can get to it next week.