summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-06-27 23:49:18 +0200
committerBotond Hende <nettingman@gmail.com>2024-06-27 23:49:36 +0200
commit35f3edae1e3b0ac93ad9e3cce0697a5b5b09136f (patch)
tree3f76a94fcace42b57fd8e8d864c8e77ed1a48d3e /home
parenta7d1978e22a63b0736f624f8095df83a4553ad37 (diff)
added line move hotkey to vim
Diffstat (limited to 'home')
-rw-r--r--home/.config/nvim/init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/home/.config/nvim/init.lua b/home/.config/nvim/init.lua
index 5873992..187057f 100644
--- a/home/.config/nvim/init.lua
+++ b/home/.config/nvim/init.lua
@@ -13,3 +13,6 @@ vim.opt.number = true
local r = vim.version.range('0.0.0 - 0.10.0')
vim.cmd("colorscheme vim")
+
+vim.keymap.set('', '<M-Up>', ':move-2<CR>', { silent = true })
+vim.keymap.set('', '<M-Down>', ':move+1<CR>', { silent = true })