Kanaji
Kanaji

Reputation: 153

How to quit vim's insert mode in PyCharm?

Let's say you are trying to do a rebase of your branch with git in Pycharm.

You are using the console (in Pycharm) command git rebase -i -head~X for interactive rebase with vim.

Normally you would use an escape key, but in PyCharm it just goes back to the code editor window.

So how do you quit it?

Upvotes: 7

Views: 3514

Answers (2)

Roman Nakutnyi
Roman Nakutnyi

Reputation: 1006

According to this issue for a permanent fix follow these steps:

  1. Go to Settings/Preferences | Keymap
  2. Find the action called "Switch Focus To Editor" (under Plugins / Terminal)
  3. Right-click -> Remove Escape
  4. Right-click -> Add Keyboard Shortcut to add a new shortcut of your choice

Upvotes: 4

Kanaji
Kanaji

Reputation: 153

Well, for some reason you quit it with CTRL+C combination '_'

Upvotes: 6

Related Questions