On 10/02/07, Eric Leenman <[EMAIL PROTECTED]> wrote:
Hi,
Is it possible to remap the up and down key to behave a bit different.
For example I have text like below
aaaa : b123
cccc : d456
eeee : g789
And then I want everything after the : starting with xx_
When I then move the b, press i and type xx_ then it looks like xx_b123
When I then press the down-key its position to insert a character between 5
and 6.
Is it possible to remap so that it goes to the postion between the <space>
and the d?
And when that looks like xx_d456 and I press the down-key it goes to the
postion between the <space> and the g?
Looks like what your looking for is column editing. Try this:
go to b
ctrl-v
down
down
down
c
xx_
escape
I had problem doing this on the first col (trying to insert // in
front of a bunch of lines) because it ate the first char of all ines,
and using i instead of c didn't work. Maybe someone has a better
solution.
Guillaume