Panos Laganakos wrote:

One thing that would also be great, was if you were able to "tab" your
way out of it, ie move to the outside of the bracket, once you're
done. Now you need to either press right, to move ahead (which is not
quite vim-ish), or hit escape and Shift_A, to resume editing.

Only possible way I can think of, is to use a snippet system, like
snippetsEmu[1] or something. Any other suggestions?

Here's one: http://vim.sourceforge.net/scripts/script.php?script_id=1269

As an example of use:

if`   (that's a backquote)

expands to

if() {}

(with indentation handled by cindent)

and the cursor after the first "(". Type whatever, hit <esc>. The cursor is then moved
to a new line after the "{".

Regards,
Chip Campbell

Reply via email to