On 07/03/09 23:38, Jacky Liu wrote:
> Like said. Fist I mapped<Tab> to move around long lines:
>
> no<Tab> 16l
>
> and then<C-i> to switch window a bit faster:
>
> no<C-i> ^Ww
>
> and the previous<Tab> mapping got overwritten, as if Vim would just
> take them as the same key!
>
> Anyone? Thanks
As has already been said several times, to Vim Tab and Ctrl-I are one
and the same, the reason is buried far away in the history of ASCII
control codes, and there's no getting out of it. Whatever you map to
Tab or Ctrl-I
Enter or Ctrl-M
Esc or Ctrl-[
will also be mapped to the other one of the pair. You may like it or not
like it, but you won't change it. The only way out is to choose a
different {lhs} for your mapping.
Regards,
Tony.
--
MICHAEL PALIN PLAYED: 1ST SOLDIER WITH A KEEN INTEREST IN BIRDS, DENNIS, MR
DUCK (A VILLAGE CARPENTER WHO IS ALMOST KEENER THAN
ANYONE ELSE TO BURN WITCHES), THREE-HEADED
KNIGHT, SIR
GALAHAD, KING OF SWAMP CASTLE, BROTHER MAYNARD'S
ROOMATE
"Monty Python and the Holy Grail" PYTHON (MONTY)
PICTURES LTD
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---