Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dansnow/block.vim
Auto open a block after enter a bracket
https://github.com/dansnow/block.vim
Last synced: 21 days ago
JSON representation
Auto open a block after enter a bracket
- Host: GitHub
- URL: https://github.com/dansnow/block.vim
- Owner: DanSnow
- License: mit
- Created: 2015-01-07T12:47:26.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-13T06:00:06.000Z (about 9 years ago)
- Last Synced: 2024-10-15T15:22:25.814Z (about 1 month ago)
- Language: VimL
- Size: 148 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
Block.vim
=========# Description #
This plugin will open a block after you input left bracket and hit enter.
`{` will become like
```
{
}
```
This key mapping now only for visual mode. Because delimitMate has a good support for now.The key mapping is come from [c.vim](http://www.vim.org/scripts/script.php?script_id=213)
# Installation #
## Vundle ##
Insert this into your vimrc
```vim
Plugin 'DanSnow/Block.vim'
```
And type
```
:PluginInstall
```# Setting #
You can use this to add more filetype that disable this keymapping at your vimrc.
```vim
call BlockIgnoreFiletype('')
```# Author #
DanSnow