Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

<esc> returns to Jupyter Mode instead of vim mode in vivaldi #112

Open
4 tasks
SamCB opened this issue Sep 7, 2017 · 8 comments
Open
4 tasks

<esc> returns to Jupyter Mode instead of vim mode in vivaldi #112

SamCB opened this issue Sep 7, 2017 · 8 comments

Comments

@SamCB
Copy link

SamCB commented Sep 7, 2017

Summary

Escape doesn't work as expected.

Environment

  • Operating system : macOS Sierra 10.12.6
  • Web browser : Vivaldi 1.11.917.43 (compared with Chrome 60.0.3112.113)
  • Version or revision of Jupyter Notebook : 4.3.0
  • Revision of jupyter-vim-binding : d6e3886

Behavior

Expected

In Insert Mode, pressing escape should return you to vim mode.

Actual

In Insert Mode, pressing escape returns you to jupyter mode.

Step by step procedure

  1. Start local Jupyter Notebook by jupyter notebook
  2. Access http://localhost:8888/ in Vivaldi
  3. Open an existing notebook
  4. With a cell activated, enter insert mode (e.g. press i twice)
  5. Press <esc>, you are immediately taken out of vim mode, there is no cursor.

What you have done to solve the issue

I've tried turning off all extensions (Moly Keys, Moly HaH, LastPass, Google Docs Offline) also running in private mode with no success.

I've compared this with Chrome (60.0.3112.113) running the exact same server and exact same notebook. It works as expected there.

@lambdalisue
Copy link
Owner

Confirmed. I'll investigate. The workaround is using Ctrl-[ instead of Esc like the native Vim.

@lambdalisue
Copy link
Owner

Well... I have no idea for this issue for now... Prob. further deep investigation is required but I don't have enough time and motivations sorry...

ref. #89

@DrJimFan
Copy link

DrJimFan commented Nov 22, 2017

Since I don't use Vivaldi browser, this doesn't answer your question. But I see exactly the same weird behavior with <Esc> key in my Chrome browser. For future visitors to this issue: disable all extensions and try again. I solved my problem by disabling a specific plugin called Vimium. I forgot to whitelist the domain localhost:*.

@mik13ST
Copy link

mik13ST commented Mar 28, 2018

I have the same problem. I am using Vivaldi on Archlinux, however disabling all extensions did not solve the issue. It works fine in Chromium.
EDIT: Possible hotfix is specifying the default browser in Jupyter to e.g. Chromium: https://stackoverflow.com/questions/35229604/how-to-change-the-default-browser-used-by-the-ipython-jupyter-notebook-in-linux

@harshhpareek
Copy link

I am having this issue as well. Does anyone have any ideas about how to fix this in the binding? (Don't have much experience with this type of code, but could try)

@SamCB
Copy link
Author

SamCB commented May 4, 2018

@harshhpareek I've stopped using Vivaldi, however if I remember correctly, one of the things I did find was that the error is not jupyter-vim-binding specific, but is also found in CodeMirror's vim bindings. Since CodeMirror is used for this plugin, it would most likely need to be fixed there. Given CodeMirror doesn't seem to officially support Vivaldi, I'm not sure how easy fixing it here is going to be.

@harshhpareek
Copy link

harshhpareek commented May 4, 2018 via email

@GetCurious
Copy link

GetCurious commented Dec 27, 2018

gosh i thought this is bugging me. it's either this or chrome's Ctrl-n

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants