Update move.nvim config

This commit is contained in:
Grafcube 2024-02-08 15:16:18 +05:30
parent 57662f87e8
commit 17aa742249
Signed by: grafcube
GPG Key ID: E383688F2878A440
1 changed files with 16 additions and 0 deletions

View File

@ -328,6 +328,22 @@ return {
"fedepujol/move.nvim",
lazy = false,
config = function()
require('move').setup({
line = {
enable = true,
indent = true,
},
block = {
enable = true,
indent = true,
},
word = {
enable = true,
},
char = {
enable = true,
},
})
local opts = { noremap = true, silent = true }
-- Normal-mode commands
vim.keymap.set('n', '<A-j>', ':MoveLine(1)<CR>', opts)