sponsor Vim development Vim logo Vim Book Ad

enwise : Press `enter` to close unbalanced brackets in cursorline.

 script karma  Rating 7/3, Downloaded by 83  Comments, bugs, improvements  Vim wiki

created by
Aaron Taner
 
script type
utility
 
description
A vim plugin that allows you to use Enter key to close brackets.

Features:

- Free you mind from closing unbalanced brackets { ( [.
- Respect your tab size and space size when inserting newline.
- Smart enough to escape brackets inside quoted string.
- Behave soundly when you press enter before some trailing characters in cursorline.
- Brackets inside comments like // { /* { */ are normally escaped.

See https://github.com/mapkts/enwise for more information about this plugin.
 
install details
Install enwise with your favorite plugin manager, e.g vim-plug:

Plug 'mapkts/enwise'

or install manually by unzipping the src listed below to ~/.vim/pack/vendor/start/ (Vim 8+ only).
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
enwise.zip v0.3.2 2021-06-20 7.0 Aaron Taner refactor code
ip used for rating: 34.226.244.254

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
OSDN