lambdalisue/jupyter-vim-binding

The cursor in vim mode covers two letters' width

chenchr opened this issue · 3 comments

Summary

Hello, I found the cursor in vim mode covers two letters' width, which is misleading.
image

How can I address that ?
Thank.

Environment

  • Operating system : remote Ubuntu 16.04 server
  • Web browser : local chrome 73.0.3683.103
  • Version or revision of Jupyter Notebook : 4.4.0 with Python 2.7.15
  • Revision of jupyter-vim-binding : c9822c7

Behavior

As the figure shows, the cursor in vim mode covers two letters' width.

Expected

Actual

Step by step procedure

  1. Start local Jupyter Notebook by jupyter notebook
  2. Access http://localhost:8888/
  3. etc.

What you have done to solve the issue

For example, the behavior is confirmed with Firefox 44.0.2 and Google Chrome xx.xx.xx and could not be reproduced in Firefox but Chrome or what ever.

Remarks

If any

Because of #89, I'm not going to investigate this sorry but I'll keep it open for others.

I have the same question on windows, not on MacOS, anyone can help?

Here is a quick & dirty solution for chrome:

  1. install stylish plugin
  2. create a custom style to overwrite the default style
.cm-fat-cursor .CodeMirror-cursor {
    width: 7px;   /* default auto */
}

then the cursor in vim mode covers only one letter width
but chinese character not woking :(