A Simple Neovim plugin for moving lines selected in virtual mode.
<C-J> to move lines down.<C-K> to move lines up.<C-H> to move lines left.<C-L> to move lines right.lazy.nvim{
'kobbikobb/move-lines.nvim',
config = function()
require('move-lines').setup()
end,
}
packer.nvim{
'kobbikobb/move-lines.nvim',
config = function()
require('move-lines').setup()
end,
}
require('move-lines').setup({
move_down = '<C-J>', -- Custom key for moving lines down
move_up = '<C-K>', -- Custom key for moving lines up
move_left = '<C-H>', -- Custom key for moving lines left
move_right = '<C-L>' -- Custom key for moving lines right
})
We welcome contributions! Feel free to submit issues or pull requests to improve the plugin.
This project is licensed under the MIT License. See the LICENSE file for more details.