diff options
author | Raymaekers Luca <luca@spacehb.net> | 2025-03-17 15:43:07 +0100 |
---|---|---|
committer | Raymaekers Luca <luca@spacehb.net> | 2025-03-17 15:43:32 +0100 |
commit | 4e31578c1e4b9e989cec824e3e832ac2aa66efcd (patch) | |
tree | c7d3851efcb6c31953b6af2cce102ae315f4cfb4 /lua/config/map.lua | |
parent | 53f6e19f84ba06bbf143339deba84bc51cd6706e (diff) |
checkpoint
Diffstat (limited to 'lua/config/map.lua')
-rw-r--r-- | lua/config/map.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/config/map.lua b/lua/config/map.lua index 7dcf82a..a39f362 100644 --- a/lua/config/map.lua +++ b/lua/config/map.lua @@ -4,6 +4,7 @@ local map = vim.keymap.set vim.g.mapleader = " " vim.g.maplocalleader = "," + -- open config map("n", " c", function() vim.cmd("cd ~/.config/nvim") @@ -13,6 +14,8 @@ end, { desc = "Open neovim config file" }) map("v", "J", ":m '>+1<CR>gv=gv", { desc = "Move selected text up" }) map("v", "K", ":m '<-2<CR>gv=gv", { desc = "Move selected text down" }) +map("n", "<M-b>", "<cmd>make<cr>", { desc = "Make" }) + -- better find next and previous map("n", "n", "nzzzv", { desc = "Keep cursor in middle with search" }) map("n", "N", "Nzzzv", { desc = "Keep cursor in middle with search" }) |