diff --git a/vim/plugin/match-brackets.vim b/vim/plugin/match-brackets.vim index 3773a97..184dce0 100644 --- a/vim/plugin/match-brackets.vim +++ b/vim/plugin/match-brackets.vim @@ -14,28 +14,27 @@ " your ~/.vimrc file (or cut and paste it into your .vimrc). " " NOTE: -" On pressing { in insert mode, this plugin will insert a corresponding closing -" } and will also move the cursor up and indent one level. -" On pressing ( or [, this plugin will insert the corresponding closing ) or ] -" and will place the cursor on the closing ) or ] in insert mode. +" On pressing {, ( or [ in insert mode, this plugin will insert a corresponding +" closing }, ) or ] and will place the cursor on the closing brace in insert +" mode. " -" Nirenjan Krishnan nirenjan@gmail.com 2008/12/16 +" Nirenjan Krishnan nirenjan@gmail.com 2013/05/16 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Braces {} " Typing { in insert mode will automatically insert a closing " curly brace as well and place the curser on the closing brace -imap { {} +inoremap { {} " Parantheses () " Typing ( in insert mode will automatically insert a closing " paranthesis as well and place the cursor on the closing paranthesis " in insert mode. -imap ( () +inoremap ( () " Brackets [] " Typing [ in insert mode will automatically insert a closing " bracket as well and place the cursor on the closing bracket " in insert mode. -imap [ [] +inoremap [ []