Closing Brackets : A dead-simple Vim plugin to automatically insert closing brackets
script karma |
Rating 0/2,
Downloaded by 802 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
tPenguinLTG |
|
script type |
utility |
|
description |
https://github.com/tpenguinltg/vim-closing-brackets
A dead-simple plugin to automatically insert the closing bracket/brace/parenthesis based on vimtip #630.
This plugin was written because the other solutions interfered with SCIM and were more complex than I needed.
Mappings ('(' can be replaced with '[' or '{'. '|' is the cursor position):
( -> (|)
() -> (|)
(<BS> ->
<C-v>( -> (|
(<Del> -> (|
) (when cursor is before a ')' )-> )|
) -> ))|
<C-v>) -> )|
|
|
install details |
Copy the plugin file to your plugins folder. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.137.171.121
|