From 692dfc6f02b98805149bbd0b0b32d7f0acd03d11 Mon Sep 17 00:00:00 2001 From: sam rolfe Date: Mon, 20 Oct 2025 11:50:04 +1100 Subject: [PATCH] nvim changes --- nvim/lua/sam/options.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nvim/lua/sam/options.lua b/nvim/lua/sam/options.lua index 19009f3..da6b872 100644 --- a/nvim/lua/sam/options.lua +++ b/nvim/lua/sam/options.lua @@ -33,7 +33,7 @@ local keymap = function(mode, lhs, rhs, opts) vim.api.nvim_set_keymap(mode, lhs, rhs, options) end --- --- General --- +-- --- General --V- -- Save the current file keymap("n", "w", ":w", { desc = "Write (Save) File" }) @@ -60,3 +60,6 @@ keymap("n", "", ":bnext", { desc = "Next Buffer" }) -- Go to the previous buffer keymap("n", "", ":bprevious", { desc = "Previous Buffer" }) +vim.keymap.set({'n', 'i', 'v'}, '', '', { desc = 'Enter Visual Block' }) +vim.keymap.set({'n', 'i'}, '', 'V', { desc = 'Enter Visual Line' }) +