On Wednesday 19 November 2008, fritzophrenic wrote: > I would first suggest using an indentexpr or the indent ftplugin for > your file type. See :help 'indentexpr' and :help :filetype-indent-on > > If this doesn't work for you, a simple mapping will suffice. Great! I was looking for some references... > I would suggest: > :imap <C-CR> <CR><C-I> > :imap <C-S-CR> <CR><C-D> And this is a great start. > This will allow you to press CTRL-ENTER for a new line with more > indent, and CTRL-SHIFT-ENTER for a new line with less indent. > > These keys are not taken by any built-in functionality that I can find. Thanks Tim
--~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
