evil-escape icon indicating copy to clipboard operation
evil-escape copied to clipboard

Escape sequence for alternative input-method

Open lislon opened this issue 9 years ago • 2 comments

I am using org-mode and would like to exit from insert mode by fd while my input-method is alternative. I'v tested russian escape sequence, but it doesn't work.

How to reproduce:

  1. Set (setq-default evil-escape-key-sequence "ав")
  2. Change input-method (set-input-method) to cyrilic-jis-russian
  3. Switch to insert mode, change input method by C-\ and try to exit by pressing keys fd (it will be ав in russian)

Probably there should be a way to define unique escape sequence for each language to make in infrequent.

lislon avatar Sep 28 '15 15:09 lislon

+1 I have exactly the same problem. Can't find even workaround.

ed-ilyin avatar Oct 02 '15 10:10 ed-ilyin

I myself gived up on this idea, because I can't find conveniently key combination for russian layout.
For now I using M-\:

  ;; M-\ to escape
  (define-key evil-hybrid-state-map (kbd "M-\\") 'evil-escape)

lislon avatar Oct 02 '15 11:10 lislon