" Enable spell checking.
setlocal spell

" Support YAML and TOML front matter syntax highlighting, via vim-markdown.
let g:vim_markdown_frontmatter = 1
let g:vim_markdown_toml_frontmatter = 1

" If an H1 is used as a file heading, don't fold it, via vim-markdown.
let g:vim_markdown_folding_style_pythonic = 1

" Turn on vim-markdown plugin.
packadd vim-markdown

" Use a dictionary to lookup words.
if executable('dict')
  setlocal keywordprg=dict
  nnoremap <buffer> <silent> <s-k> :execute "split " . shellescape(&keywordprg) . "<bar> 0read !" . shellescape(&keywordprg) . " " . expand("<cword>")<bar> :Man!<CR>
endif

" vim:fdm=marker ft=vim et sts=2 sw=2

" Enable spell checking.
setlocal spell

" Support YAML and TOML front matter syntax highlighting, via vim-markdown.
let g:vim_markdown_frontmatter = 1
let g:vim_markdown_toml_frontmatter = 1

" If an H1 is used as a file heading, don't fold it, via vim-markdown.
let g:vim_markdown_folding_style_pythonic = 1

" Turn on vim-markdown plugin.
packadd vim-markdown

" Use a dictionary to lookup words.
if executable('dict')
  setlocal keywordprg=dict
  " nnoremap <buffer> <silent> <S-k> :execute "split " . shellescape(&keywordprg) . "<bar> 0read !" . shellescape(&keywordprg) . " " . expand("<cword>")<bar> :Man!<CR>
endif

" vim:fdm=marker ft=vim et sts=2 sw=2

Disable custom dict help mapping
Disable custom dict help mapping

It doesn't work the way I wanted, it has a wildcard can't be expanded
and if a split with dict is already open it causes another error.

Removing this no longer makes the content paged, which I want to fix,
but it is a lot faster and is still usable.

bronzehedwick/dotfiles,bronzehedwick/dotfiles,bronzehedwick/dotfiles,bronzehedwick/dotfiles