Skip to content

DanSnow/Block.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Auto open a block after enter a bracket

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published