Whitespace settings in Vim

Getting whitespace to behave in Vim using settings and plugins

For any good programmer, consistent whitespace is a measure of code-quality. Vim has a lot of built-in settings and features for handling whitespace, and this article will go over those with the examples the Vim help pages lack. For the purposes of this article, tabs are represented as blocks of the character: ░. Settings This section pertains to Vim's built-in settings flags. You can use :help 'somesettingname' with single quotes from within in Vim to see the full details, so the most useful…

Setting up Vim for JavaScript development

Configuring Vim and comparisons of JavaScript-specific Vim plugins

Before you read any of this I will caveat with the fact that Vim is perfectly adequate for modern JavaScript development without plugins. The Vim runtime comes with syntax highlighting and omni-completion already, and you can even configure Vim as a task runner without plugins. This is geared towards people who already know how to use Vim. E.g., if you understand minutiae like the difference between set autoindent and set indentexpr, and have found neither to your liking, then read on. Otherwise…