Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6381507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:24:14+00:00 2026-05-25T02:24:14+00:00

The usual behavior in vim is for C-o in insert-mode to allow the user

  • 0

The usual behavior in vim is for C-o in insert-mode to allow the user to use one normal-mode command and then return to insert-mode.

Following the suggestions in this comment, I’ve set

(vimpulse-imap "\C-o" 'viper-escape-to-vi)

But when I press C-o in insert-mode, the characters “^O” are inserted in the buffer and I am unable to switch to normal-mode for one command as I expect. I understand viper-escape-to-vi is bound to C-z by default but I am also unable to switch to normal-mode using this key combination either (“^Z” is printed in the buffer instead). What am I doing wrong?

Also, second question: I would like for C-z to not be bound by viper-mode (or vimpulse) as I use it for elscreen. How can I tell it to leave C-z alone?

Edit: Found this bit of code in vimpulse-misc-keybindings.el:

;; temporarily escape to vi state
(define-key viper-insert-basic-map "\C-o" 'viper-escape-to-vi)

So should be defined already? Not sure why it doesn’t work.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T02:24:14+00:00Added an answer on May 25, 2026 at 2:24 am

    Ad 1) It works for me, maybe something went wrong with your config?

    But the output is strange: The only way to get it is a quoted-insert (or similar).

    viper-escape-to-vi in insert state is bound to viper-toggle-key (but well that defaults to C-z), so see below. Again your output is strange.

    Ad 2) You have to set viper-toggle-key to a sexp before viper is loaded, alternatively customize it.

    For the former (using the Pause key for it)

    (setq viper-toggle-key [pause])
    (require 'viper)
    

    You should try evil, being the successor to vimpulse. It’s coming along well and gets rid of viper.

    Setting the toggle key there (to pause again) is a (evil-set-toggle-key "<pause>") away, it’s a kbd sequence not a sexp.
    C-o works fine, too.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to get AStyle working with Vim so that I can use
On VC++ 2008, ceil(-0.5) is returning -0.0 . Is this usual/expected behavior? What is
hope you can help me with this one… I saw some crazy behavior so
I want sections would have same behavior as cells when I drag it. Usual
I started dealing with NSOperations and (as usual with concurrency) I'm observing strange behaviour.
The usual method of URL-encoding a unicode character is to split it into 2
As usual, some background information first: Database A (Access database) - Holds a table
The usual way to resolve lnk involve using WShell.WshShortcut or IShellLink that way :
The usual alpha symbol for regular expressions \w in the .NET Framework matches alphanumeric
The usual way to assign color box functionality on a link is like this:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.