
Vim + Markdown = Writer's Heaven
I use Jekyll, Markdown and Vim to write content for my blog. Rather than wrestling with a full-fledged CMS or writing raw HTML, I can use a human readable markup language to write my posts. Vim is my editor of choice, and while I like the friendliness of GUI markdown tools, I miss my shortcuts, autocomplete and plugins in vim. Having a minimalistic text editor gives me an environment that is distraction free, version controlled and easy to publish. This article will go into how to set up vim to effectively edit Markdown with these features: Spelling English Auto-Completion Auto-Formatting Grammar Checking Some notes before we begin: I use vim-plug to manage my plugins, and this guide assumes you do too. There are two .vimrc files used here: ~/.vimrc and ~/.vim/after/ftplugin/markdown.vim , which is a file that runs only after ~/.vimrc is loaded and a markdown file is detected. The Basics Vanilla vim itself comes with a lot of markdown support, such as frontmatter highlighting and spell
Continue reading on Dev.to Webdev
Opens in a new tab




