Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 644 Bytes

Readme.md

File metadata and controls

35 lines (29 loc) · 644 Bytes

Block.vim

Description

This plugin will open a block after you input left bracket and hit enter. {<Enter> will become like

{
  <cursor here>
}

This key mapping now only for visual mode. Because delimitMate has a good support for now.

The key mapping is come from c.vim

Installation

Vundle

Insert this into your vimrc

Plugin 'DanSnow/Block.vim'

And type

:PluginInstall

Setting

You can use this to add more filetype that disable this keymapping at your vimrc.

call BlockIgnoreFiletype('<filetype>')

Author

DanSnow