adds easier handling of brackets in insert mode