Skip to content

Instantly share code, notes, and snippets.

@crcastle
Forked from jackkinsella/autoclose_janus
Created September 5, 2011 23:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crcastle/1196191 to your computer and use it in GitHub Desktop.
Save crcastle/1196191 to your computer and use it in GitHub Desktop.
How to add autoclose to Janus
#~/.janus.rake file
vim_plugin_task "autoclose", "git://github.com/Townk/vim-autoclose.git"
#~/vimrc.local file
let g:AutoClosePairs = {'(': ')', '{': '}', '[': ']', '"': '"', "'": "'", '#{': '}', '|':'|' }
let g:AutoCloseProtectedRegions = ["Character"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment