fix(move): fix setup of move

This commit is contained in:
2024-02-26 19:11:39 +01:00
parent b0ec05f8e0
commit 88da209382
+6
View File
@@ -1,6 +1,12 @@
-- https://github.com/fedepujol/move.nvim -- https://github.com/fedepujol/move.nvim
local function setup() local function setup()
require("move").setup({
char = {
enable = true,
},
})
local opts = { noremap = true, silent = true, } local opts = { noremap = true, silent = true, }
vim.keymap.set("n", "<A-j>", function () vim.cmd.MoveLine(1) end, opts) vim.keymap.set("n", "<A-j>", function () vim.cmd.MoveLine(1) end, opts)
vim.keymap.set("n", "<A-k>", function () vim.cmd.MoveLine(-1) end, opts) vim.keymap.set("n", "<A-k>", function () vim.cmd.MoveLine(-1) end, opts)