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

Re: auto switch mode to NORMAL when + is pressed

Expand Messages
  • Литичевский Вова
    Thanks a lot for ! 2013/1/7 sc ... -- ÷Ï×Á ìÉÔÉÞÅ×ÓËÉÊ. -- You received this message from the vim_use maillist. Do
    Message 1 of 6 , Jan 7, 2013
    • 0 Attachment
      Thanks a lot for <C-O> !


      2013/1/7 sc <toothpik@...>
      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

          <C-O><C-F>

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

      see

          :h i_CTRL-O

      sc

      --
      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



      --
      Вова Литичевский.

      --
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.