Skip to content

This plugin for Vim enable an auto-close chars feature for you. For instance if you type an '(', ``autoclose`` will automatically insert a ')' and put the cursor between than.

Notifications You must be signed in to change notification settings

yanakend/vim-autoclose

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

==========
README.txt
==========

    This  plugin was  born  as a  personal  need to  get  some little  special
features from other editors into my  preferred one. The Eclipse IDE editor has
an  auto-complete for  open-close pair  of  characters feature  that I  always
wanted into Vim.

    As  soon as  you type  a character  that could  have a  matching (closing)
counterpart,  Eclipse automatically  puts  its counterpart  in  front of  your
cursor, and it is smart enough  to ignore the closing character afterwards, if
typed, but just moves your cursor one character forward.

    But  the Eclipse  editor  does not  stop  there. If  you  type an  opening
character on any part of your code  that should not have a pair completion, it
will not insert the closing character for you.

    The AutoClose plugin is an attempt to reproduce this behavior for Vim.

About

This plugin for Vim enable an auto-close chars feature for you. For instance if you type an '(', ``autoclose`` will automatically insert a ')' and put the cursor between than.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%