Add joining feature that respects text-width.
vim
  • Vim Script 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2017-07-25 18:32:40 -07:00
doc Setup join mapping. 2017-07-25 11:18:29 -07:00
plugin Revert back visual selection change. 2017-07-25 18:32:40 -07:00
README.md Join plugin setup. 2017-07-25 11:06:15 -07:00

Smart Join

[VERSION: 0.1]

Overview

Allows for line joining that respects textwidth and optionally clears whitespace.

Refer to doc/ for complete instructions on use.

Installation

I prefer using vim-plug for plugin management as follows:

Plug 'jrpotter/vim-join'

Follow use according to plugin manager you use or optionally copy plugin/join.vim from this repo into $VIM_DIR/plugin.

Usage

Create a mapping to SmartJoin to use the new joining functionality. For instance,

noremap J SmartJoin