misc updates.

This commit is contained in:
jmug
2026-11-20 12:31:01 -08:00
parent a23fd391b8
commit dce2751ab9
6 changed files with 34 additions and 2 deletions
@@ -2,6 +2,8 @@ local map = vim.keymap.set
map('n', '<Space>', '<Nop>', { silent = true })
map('i', ',m', '<Esc>', { silent = true })
-- Preserve a pending comma from the ,m mapping when leaving insert mode.
map('i', '<C-c>', '<Esc>', { silent = true })
for _, mode in ipairs({ 'n', 'i', 'v', 's', 'x', 'c', 'o', 't' }) do
map(mode, '<C-g>', '<Esc>', { silent = true })