From 3446a509e160006e150b2b32581236cb1ca177b0 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sat, 11 Mar 2023 14:30:38 +0100 Subject: added noremap to remap.lua --- config/essentials/nvim/lua/tlast/remap.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config/essentials/nvim/lua/tlast/remap.lua') diff --git a/config/essentials/nvim/lua/tlast/remap.lua b/config/essentials/nvim/lua/tlast/remap.lua index 4ff789b..c2d4c0b 100644 --- a/config/essentials/nvim/lua/tlast/remap.lua +++ b/config/essentials/nvim/lua/tlast/remap.lua @@ -51,7 +51,7 @@ vim.keymap.set("n", "", function () vim.opt.showcmd = opt vim.opt.laststatus = opt and 2 or 0 vim.opt.signcolumn = opt and "yes" or "no" -end) +end, { noremap = true }) -- utils vim.keymap.set("i", "r", "r!echo -n $RANDOMkJA", { noremap = true }) @@ -71,7 +71,7 @@ vim.keymap.set("n", "e", "edit", { noremap = true }) vim.keymap.set("n", "s", function () vim.cmd.source() print("sourced.") -end) +end, { noremap = true }) -- Packer vim.keymap.set("n", "P", "PackerSync", { noremap = true }) @@ -85,7 +85,7 @@ vim.keymap.set("n", "", function () local cmd = "cd " .. vim.fn.expand("%:p:h") .. "; setsid st" -- asynchrous go brr vim.fn.jobstart(cmd, { on_exit = function(job_id, exit_code, event_type) end }) -end) +end, { noremap = true }) -- clear registers @@ -98,4 +98,4 @@ vim.keymap.set("n", "rc", function () for _, r in ipairs(regs) do vim.fn.setreg(r, {}) end -end) +end, { noremap = true }) -- cgit v1.2.3