/gist:24e46f72cc08e53c59a1 Secret
Created
March 2, 2010 19:05
-
-
Save ujihisa/24e46f72cc08e53c59a1 to your computer and use it in GitHub Desktop.
] for ] or completion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inoremap <buffer> <expr> ] searchpair('\[', '', '\]', 'nbW', 'synIDattr(synID(line("."), col("."), 1), "name") =~? "String"') ? ']' : "\<C-n>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment