From 917d80b7f2a3d4aad480db596b77faff070e8cab Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sun, 19 Mar 2023 14:48:25 +0100 Subject: [PATCH] nvim: Change spell fix shortcut to z mapping --- nvim/.config/nvim/lua/maps.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nvim/.config/nvim/lua/maps.lua b/nvim/.config/nvim/lua/maps.lua index d9fb737..30ca8ff 100644 --- a/nvim/.config/nvim/lua/maps.lua +++ b/nvim/.config/nvim/lua/maps.lua @@ -136,7 +136,6 @@ map('n', 'vm', ":Mason", { desc = 'Mason' }) -- Set vim to distraction free prose mode with F11 map('n', 'vz', ':ZenMode', { silent = true }) - -- PLUGIN: Telescope GLOBAL FUZZY FINDING -- buffers and files in current workdir prefix({ ['f'] = { name = '+find' } }) @@ -199,8 +198,8 @@ map('n', 'ZE', ':setlocal spell! spelllang=en_us', map('n', 'ZG', ':setlocal spell! spelllang=de_de', { desc = 'Toggle DE spellcheck' }) -- undo last spelling mistake from insert and normal mode -map('i', '', 'u[s1z=`]au') -map('n', 's', 'ms[s1z=`s', { desc = 'Fix last spell error' }) +map('i', '', 'u[s1z=`]au') +map('n', 'z', 'ms[s1z=`s', { desc = 'Fix last spell error' }) -- PLUGIN: mini.nvim prefix({ ['s'] = { name = '+show' } })