2017-11-26 23:04:41 +08:00
2016-07-19 14:11:06 -04:00
2017-06-18 18:35:29 -04:00
2014-12-03 17:06:37 -05:00
2014-12-03 17:06:37 -05:00
2017-11-26 23:04:41 +08:00

delimitMate

Vim plugin for automatic closing of quotes, parenthesis, brackets, etc.

Installation

Plug 'Raimondi/delimitMate'

Features

Automatic closing & exiting

Type You get
( `(
() `()
(<S-Tab> `()
{("<C-G>g `{("")}

Expansion of space and CR

You start with You get
`( )`

after press <Cr> in (|), you will get:

(
    |
)

Backspace

  What  |      Before       |      After
==============================================
  <BS>  |  call expand(|)   |  call expand|
--------|-------------------|-----------------
  <BS>  |  call expand( | ) |  call expand(|)
--------|-------------------|-----------------
  <BS>  |  call expand(     |  call expand(|)
        |  |                |
        |  )                |
--------|-------------------|-----------------
 <S-BS> |  call expand(|)   |  call expand(|

Smart Quotes

 What |    Before    |     After
=======================================
  "   |  Text |      |  Text "|"
  "   |  "String|    |  "String"|
  "   |  let i = "|  |  let i = "|"
  'm  |  I|          |  I'm|

BALANCING MATCHING PAIRS

e.g. typing at the "|": >

 What |    Before    |     After
=======================================
  (   |  function|   |  function(|)
  (   |  |var        |  (|var
Description
Vim plugin, provides insert mode auto-completion for quotes, parens, brackets, etc.
Readme 683 KiB
Languages
Vim Script 94.1%
Makefile 5.9%