From: Peter Hodge <[EMAIL PROTECTED]>
Subject: Re: Two """problems"""
Date: Thu, 14 Sep 2006 13:10:43 +1000 (EST)

> Hello,
> 
> --- Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
> > 
> >  1.) Splitting line into two from normal mode.
> >      My current "concept" (hu...great word...;) to split a line into
> >      two is (starting and ending in normal mode, which is wanted):
> >      
> >             i Ctrl-j <esc>
> > 
> >      Are there any shorter ways to split a line, may be without the
> >      detour around insert mode ?
> 
> 
> I found the following mapping helpful:
> 
>   nmap <TAB> i#<ESC>r
> 
> Basically that lets you hit <TAB> in normal mode and insert a single 
> character.
>  With that mapping in place, you could use <TAB><ENTER> to insert a linebreak
> quickly.
> 
> regards,
> Peter
> 

Oh, real nice! Very handy! It solves another """problem""" on-the-fly
even before I can post it. Do you have more of these multi-solver tips
for me, Peter ??? :)))

Thanks a lot! :O)
mcc


 

Reply via email to