Loading ...
Sorry, an error occurred while loading the content.

Re: i_ctrl-i v.

Expand Messages
  • Bram Moolenaar
    ... No, for Vim CTRL-I and are identical. Just like CTRL-[ and are identical. -- hundred-and-one symptoms of being an internet addict: 232. You
    Message 1 of 2 , Dec 30, 2002
    • 0 Attachment
      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@... -- 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 ///
    Your message has been successfully submitted and would be delivered to recipients shortly.