[prev in list] [next in list] [prev in thread] [next in thread]
List: vim
Subject: Re: i_ctrl-i v. <TAB>
From: Bram Moolenaar <Bram () moolenaar ! net>
Date: 2002-12-30 21:36:55
[Download RAW message or body]
Steve Hall wrote:
> Is there any way to map the <Tab> key and Ctrl+I to different
> functions? I've tried
>
> function! Tab()
> return nr2char(9)
> endfunction
> imap <silent> <Tab> <C-r>=Tab()<CR>
> imap <silent> <C-i> <C-o>:echo "C-i"<CR>
>
> and variations, but it seems only the second map is ever used (even
> when reversed).
No, for Vim CTRL-I and <Tab> are identical. Just like CTRL-[ and <Esc>
are identical.
--
hundred-and-one symptoms of being an internet addict:
232. You start conversations with, "Have you gotten an ISDN line?"
/// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\
/// Creator of Vim - Vi IMproved -- http://www.vim.org \\\
\\\ Project leader for A-A-P -- http://www.a-a-p.org ///
\\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic