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

The cursor in vim mode covers two letters' width #143

Open
4 tasks done
chenchr opened this issue Apr 23, 2019 · 3 comments
Open
4 tasks done

The cursor in vim mode covers two letters' width #143

chenchr opened this issue Apr 23, 2019 · 3 comments

Comments

@chenchr
Copy link

chenchr commented Apr 23, 2019

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

@lambdalisue
Copy link
Owner

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

@Lawrenauh
Copy link

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

@JensenQi
Copy link

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

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

4 participants