diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2019-11-27 08:53:03 +0100 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2019-11-27 08:53:03 +0100 |
commit | 3389e4fdde8fd612fd8a54db28d97f62ca729a7f (patch) | |
tree | 5168cfef88ccec6c111b33ea7f73c7230418e405 /vim/.vim/ftplugin/markdown.vim | |
parent | 34bd59d19e3a9e057c40869c89b1a4af88f04c1e (diff) |
Remove vim config, it's old and not in use
Diffstat (limited to 'vim/.vim/ftplugin/markdown.vim')
-rw-r--r-- | vim/.vim/ftplugin/markdown.vim | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/vim/.vim/ftplugin/markdown.vim b/vim/.vim/ftplugin/markdown.vim deleted file mode 100644 index f891b35..0000000 --- a/vim/.vim/ftplugin/markdown.vim +++ /dev/null @@ -1,29 +0,0 @@ -setlocal syntax=markdown - -" Spellcheck in markdown (automatic to english) -setlocal spelllang=en -setlocal spell - -" Textwidth for automatic wrap `gq` is formatting operation -setlocal textwidth=79 -setlocal formatoptions+=t -setlocal formatoptions-=l - - -" Highlight where the lines are more than 80 characters wide -setlocal colorcolumn=80 -highlight ColorColumn ctermbg=LightGreen - -" Auto-capitalize script -augroup SENTENCES - au! - autocmd InsertCharPre * if &ft=='markdown' | if search('\v(%^|[.!?]\_s+|\_^\-\s|\_^title\:\s|\n\n)%#', 'bcnw') != 0 | let v:char = toupper(v:char) | endif | endif -augroup END - -" Highlight spelling errors in red and underline -hi clear SpellBad -hi SpellBad cterm=underline ctermfg=Red - -" Tabs to 2 spaces -set tabstop=2 softtabstop=0 expandtab shiftwidth=2 -set autoindent |