local utils = require("utils")
return {
	opts = {},
	"fedepujol/move.nvim",
	keys = {
		{ "<A-S-k>", utils.run_vim_cmd("MoveLine(-1)"), desc = "Move line up" },
		{ "<A-S-j>", utils.run_vim_cmd("MoveLine(1)"), desc = "Move line down" },
		{ "<leader>mk", utils.run_vim_cmd("MoveLine(-1)"), desc = "Move line up" },
		{ "<leader>mj", utils.run_vim_cmd("MoveLine(1)"), desc = "Move line down" },

		-- Move blocks in visual mode
		{ "<A-k>", utils.run_vim_cmd("MoveBlock(-1)"), desc = "Move line up", mode = "v" },
		{ "<A-j>", utils.run_vim_cmd("MoveBlock(1)"), desc = "Move line down", mode = "v" },

		-- Move lines in insert mode
		{ "<A-k>", utils.run_vim_cmd("MoveLine(-1)"), desc = "Move line up", mode = "i" },
		{ "<A-j>", utils.run_vim_cmd("MoveLine(1)"), desc = "Move line down", mode = "i" },
	},
}
