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

Re: Vim 7.2 for windows randomly switches between REPLACE and INSERT mode on minimize-restore Vim window

Expand Messages
  • baza
    Thanks for your answer. I can state :st :sus and restoring Vim window after them really do not chage mode. It switches between modes only if I use standart MS
    Message 1 of 4 , Jun 9, 2010
    • 0 Attachment
      Thanks for your answer.
      I can state :st :sus and restoring Vim window after them really do not chage
      mode.
      It switches between modes only if I use standart MS Windows minimization ui
      functions.



      Tony Mechelynck-2 wrote:
      >
      >
      > Toggling between Insert and Replace is the function of the <Insert> key.
      > Are you sure you don't hit it, maybe unintentionally, just before
      > minimizing Vim, or just after waking it up?
      >
      > You can disable the <Insert> key by adding the following to your vimrc:
      >
      > :map <Insert> <Nop>
      > :map! <Insert> <Nop>
      >
      > or maybe you'll prefer to use :imap instead of :map! if you want to
      > retain the ability to toggle between insert and overstrike on the Vim
      > command-line.
      >
      > To minimize Vim, you can use :sus[pend], :st[op] or even Ctrl-Z (the
      > latter, which requires no <Enter>, should be far enough from the
      > <Insert> key).
      >
      > See
      > :help <Insert>
      > :help i_<Insert>
      > :help c_<Insert>
      > :help map.txt
      > :help suspend
      >
      >
      > Best regards,
      > Tony.
      > --
      > Hatred, n.:
      > A sentiment appropriate to the occasion of another's
      > superiority.
      > -- Ambrose Bierce, "The Devil's Dictionary"
      >
      > --
      > 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
      >
      >

      --
      View this message in context: http://old.nabble.com/Vim-7.2-for-windows-randomly-switches-between-REPLACE-and-INSERT-mode-on-minimize-restore-Vim-window-tp28815686p28826606.html
      Sent from the Vim - General mailing list archive at Nabble.com.

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