https://github.com/kobbikobb/move-lines.nvim
Simple Neovim plugin to move selected lines up or down
https://github.com/kobbikobb/move-lines.nvim
Last synced: 8 days ago
JSON representation
Simple Neovim plugin to move selected lines up or down
- Host: GitHub
- URL: https://github.com/kobbikobb/move-lines.nvim
- Owner: kobbikobb
- License: mit
- Created: 2024-12-28T23:34:01.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-12-28T23:53:55.000Z (4 months ago)
- Last Synced: 2024-12-29T00:23:34.205Z (4 months ago)
- Language: Lua
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-neovim-sorted - kobbikobb/move-lines.nvim
- awesome-neovim-sorted - kobbikobb/move-lines.nvim
README
# move-lines.nvim
A Simple Neovim plugin for moving lines selected in virtual mode.
- [Features](#features)
- [Default keybindings](#default-keybindings)
- [Installation](#installation)
- [Contributing](#contributing)
- [License](#license)## Features
- Moves selected lines up, down, left or right.
- Customizable keybindings.
- Lightweight and minimal.## Default keybindings
- `` to move lines down.
- `` to move lines up.
- `` to move lines left.
- `` to move lines right.## Installation
### Using `lazy.nvim`
```lua
{
'kobbikobb/move-lines.nvim',
config = function()
require('move-lines').setup()
end,
}
```### Using `packer.nvim`
```lua
{
'kobbikobb/move-lines.nvim',
config = function()
require('move-lines').setup()
end,
}
```### With custom keybindings
```lua
require('move-lines').setup({
move_down = '', -- Custom key for moving lines down
move_up = '', -- Custom key for moving lines up
move_left = '', -- Custom key for moving lines left
move_right = '' -- Custom key for moving lines right
})
```## Contributing
We welcome contributions! Feel free to submit issues or pull requests to improve the plugin.
## License
This project is licensed under the MIT License. See the `LICENSE` file for more details.