spell hotkeys
This commit is contained in:
parent
4a15676545
commit
3b83c331a6
|
@ -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
|
||||
|
|
|
@ -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
|
||||
-- ===
|
||||
|
||||
|
|
Loading…
Reference in New Issue