spell hotkeys

This commit is contained in:
Christoph J. Scherr 2023-09-07 15:05:39 +02:00
parent de99805d6c
commit 6341c35d3d
2 changed files with 5 additions and 1 deletions

View File

@ -96,7 +96,7 @@ vim.api.nvim_create_autocmd('VimResized', {
-- Wrap and enable spell-checker in text filetypes
vim.api.nvim_create_autocmd('FileType', {
group = augroup('spell_conceal'),
pattern = { 'gitcommit', 'markdown' },
pattern = { 'gitcommit', 'markdown', 'tex', 'latex', 'norg' },
callback = function()
vim.opt_local.spell = true
vim.opt_local.conceallevel = 0

View File

@ -72,6 +72,10 @@ map('c', '<C-l>', '<End>')
map('n', 'zl', 'z4l')
map('n', 'zh', 'z4h')
-- move to spelling mistake
map('n', 'zn', ']s')
map('n', 'zN', '[s')
-- Clipboard
-- ===