From 35f3edae1e3b0ac93ad9e3cce0697a5b5b09136f Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Thu, 27 Jun 2024 23:49:18 +0200 Subject: added line move hotkey to vim --- home/.config/nvim/init.lua | 3 +++ 1 file changed, 3 insertions(+) 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('', '', ':move-2', { silent = true }) +vim.keymap.set('', '', ':move+1', { silent = true }) -- cgit v1.2.3-70-g09d2