镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

How to exit insert mode while editing a command? #229

Open

Description

@danijar

I'm aware of those two flags to start each prompt in normal mode:

let g:vimshell_enable_start_insert = 0
let g:vimshell_enable_stay_insert = 0

However, how can I switch back to normal mode while typing the current command? I would like to edit the typed command before executing it, using normal mode navigation. <esc> or <c-c> have no effect for me.

Activity

  1. Shougo commented on Dec 25, 2016

    @Shougo
    Owner

    What is your problem?
    You can use <ESC> key to exit the insert mode.

    Please create the minimal vimrc less than 20 lines and upload the reproduce ways from Vim starting.
    I will test it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions