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

135375Re: auto switch mode to NORMAL when + is pressed

Expand Messages
  • sc
    Jan 7, 2013
    • 0 Attachment
      On Mon, Jan 07, 2013 at 05:28:23PM +0200, Литичевский Вова wrote:
      > looks like the question was wrong formulated.
      > I've meant something like this

      > imap <c-f> <esc><c-f>i

      > but for all keys combinations with <Ctrl>
      > but thanks anyway!

      are you aware of <C-O>? used in insert mode it allows one normal mode
      command then returns you to insert mode. In your example above


      when executed from insert mode would leave insert mode, perform <C-F>,
      and return you to insert mode.


      :h i_CTRL-O


      You received this message from the "vim_use" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    • Show all 6 messages in this topic