jupyter-vim-binding icon indicating copy to clipboard operation
jupyter-vim-binding copied to clipboard

The cursor in vim mode covers two letters' width

Open chenchr opened this issue 6 years ago • 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

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

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

chenchr avatar Apr 23 '19 18:04 chenchr

Because of https://github.com/lambdalisue/jupyter-vim-binding/issues/89, I'm not going to investigate this sorry but I'll keep it open for others.

lambdalisue avatar Apr 30 '19 17:04 lambdalisue

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

Lawrenauh avatar Sep 18 '19 02:09 Lawrenauh

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 :(

JensenQi avatar Apr 12 '20 07:04 JensenQi