diff --git a/native_configs/neovim/init.lua b/native_configs/neovim/init.lua index 7eac933..27f6cd5 100644 --- a/native_configs/neovim/init.lua +++ b/native_configs/neovim/init.lua @@ -148,8 +148,12 @@ vim.g.mapleader = ' ' vim.g.maplocalleader = ',' -- basic keymaps -vim.keymap.set({ 'n', 'v' }, '', '', { silent = true }) -- since we're using space for leader -vim.keymap.set('t', '', ')') -- make :terminal escape out +-- Since we use space for leader, we're asserting that this does nothing by itself +vim.keymap.set({ 'n', 'v' }, '', '', { silent = true }) +-- make :terminal escape out. For zsh-vi-mode, just use Alt-M or any keybind +-- that does not collide with vi-motion keybind. This is because +-- -> ^[x; while on the terminal is ^[ +vim.keymap.set('t', '', ')') vim.keymap.set({ 'n', 'i', 'v' }, '', 'mode', {desc = ""}) -- redraw on every mode -- diagnostics (errors/warnings to be shown)