From 11c1383f01086bdffc672d4fc11badc87ea01cf1 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 8 Mar 2022 09:59:49 +0100 Subject: [PATCH] nvim: Remove thesaurus mappings, Update spell map Updated enabling spellchecker from Z to ZZ. ZE and ZG for language specific checking stays the same as before. Removed some dangling mappings referring to thesaurus_query plugin which has long been removed. --- nvim/.config/nvim/lua/maps.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/nvim/.config/nvim/lua/maps.lua b/nvim/.config/nvim/lua/maps.lua index 6f99ae9..5c4f83b 100644 --- a/nvim/.config/nvim/lua/maps.lua +++ b/nvim/.config/nvim/lua/maps.lua @@ -188,16 +188,11 @@ map.i.nore.silent['@@'] = 'u:CiteRef' -- Spell check set to O, 'o' for 'orthography': -- Move to the prev/next spelling error with [S ]S -- Move to the prev/next spelling error or suggestion with [s ]s -map.n.nore['Z'] = ':setlocal spell! spelllang=en_us,de_de' +map.n.nore['ZZ'] = ':setlocal spell! spelllang=en_us,de_de' map.n.nore['ZE'] = ':setlocal spell! spelllang=en_us' map.n.nore['ZG'] = ':setlocal spell! spelllang=en_us' map.n.nore['zz'] = '1z=' --- PLUGIN: tq thesaurus_query.vim --- nnoremap zt :ThesaurusQueryReplaceCurrentWord -map.n.nore['zt'] = ':ThesaurusQueryReplaceCurrentWord' -map.v.nore['zt'] = '"ky:ThesaurusQueryReplace k' - -- pp to comPile a document (or file, works for some languages like go/python/c) -- o to open the resulting document (mostly for pdfs) -- po to comPile *and* open a doc