diff options
| author | pml68 <contact@pml68.dev> | 2025-04-06 01:41:07 +0200 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2025-04-06 01:41:12 +0200 |
| commit | e986f561730f195f876ba2784c68cda5a2b94834 (patch) | |
| tree | 99e75fddbf4e6b635e352e5d186de313a24d6ea8 | |
| parent | feat: remove keymaps (they're mapped in 0.11 by default) [skip ci] (diff) | |
| download | nvim-e986f561730f195f876ba2784c68cda5a2b94834.tar.gz | |
feat: add increment/decrement keymaps [skip ci]
| -rw-r--r-- | lua/pml68/remap.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/pml68/remap.lua b/lua/pml68/remap.lua index f33dffa..e165ecd 100644 --- a/lua/pml68/remap.lua +++ b/lua/pml68/remap.lua @@ -12,6 +12,8 @@ vim.keymap.set("i", "<A-J>", ":m .+1<CR>==") vim.keymap.set("i", "<A-K>", ":m .-2<CR>==") vim.keymap.set("v", "J", ":m '>+1<CR>gv=gv") vim.keymap.set("v", "K", ":m '<-2<CR>gv=gv") +vim.keymap.set("n", "<A-a>", "<C-a>") +vim.keymap.set("n", "<A-x>", "<C-x>") vim.keymap.set("n", "<leader>sl", "<cmd>exec \"normal i\".nr2char(getchar()).\"\\e\"<CR>") vim.keymap.set("n", "<leader>sc", "<cmd>exec \"normal a\".nr2char(getchar()).\"\\e\"<CR>") |
