On Wed, Feb 11, 2009 at 10:49 PM, Tony Mechelynck
<antoine.mechely...@gmail.com> wrote:
>
> On 12/02/09 07:11, StarWing wrote:
>> as title.
>> if you map<tab>, e.g: :map<tab>  >>, and ctrl-i will change to make a
>> indent, too, but if you map<c-i>  back: :noremap<c-i>  <tab>, the
>> <tab>  will roll back again, how can i map<tab>  and<c-i>
>> independently?
>
> You can't. All keyboard routines in Vim see Tab and Ctrl-I both as
> generating the character 0x09 (Horizontal Tab); similarly, Enter and
> Ctrl-M both generate 0x0D (Carriage Return), Esc and Ctrl-[ both
> generate 0x1B (Escape). Such definition of control-letter keys dates
> back to the original definition of (7-bit) ASCII.
>
> For the {lhs} of mappings in Vim, I recommend using F1 to F9, F11, F12,
> and Shift-F1 to Shift-F12.
>
>
> Best regards,
> Tony.
> --

Personally; I like using a simple map leader and abusing it...

Excerpt from my bashrc...

let mapleader=","

map <leader>N :NERDTreeToggle<CR>
map <leader>t :Tlist<CR>
map <leader>e :!./%<CR>
map <leader>E :!%<CR>

Thanks,
    Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to