> On Jun 30, 2015, at 11:20 AM, Steve <[email protected]> wrote:
> 
> If I have typed this (‘|’ is cursor position):
> 
>    class Something {|}
> 
> when I press return, I would like to see this
> 
>    class Something {
>       |
>        }
> 
> I know I can do this with the key sequence <Enter><Esc>O
> 
> but is there a plugin available that most people use for situations inside a 
> pair of (),[], {}, <>, etc?
> 

I'm sure that there are vim plugins to do this. Search the vim.org page for a 
vim script for automatic formatting that language you are programming in.

This vim list has a smaller audience as it primarily is related to the macvim 
port of vim.

Asking this question on the main vim list will get you a larger audience.  
After searching the vim scripts.




> -- 
> -- 
> You received this message from the "vim_mac" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "vim_mac" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to