The question kind of describes what I'm trying to do. Right now I'm using 

`inoremap { {}<Left>`

To place the cursor between the brackets. The next thing I'm trying to achieve is if the cursor is between and enter is pressed, the result should be:

`{
 | <-cursor
}`

Seems like maybe it should be simple but after some Googling, I couldn't find a solution. (still very novice at vim scripts)