Re: Shifting multiple lines of code in Insert mode
- Joshua Moore-Oliva wrote:
>This is the sort of thing that Normal mode is for. If you could do
> When in insert mode, how does one go about Shifting multiple lines of
> I know that Ctrl + T and Ctrl + D shift and unshift the current *line*
> of text but how does one shift the current selection or multiple lines
> while in insert mode?
anything from any mode, there would be no reason to have different modes.
If this is something that you find yourself doing a lot, you can certainly
make a map for it. For example:
:imap <A-t> <C-O>>ap
:imap <A-d> <C-O><ap
(There is plenty of room for improvement...)
HTH --Benji Fisher