Neovim-from-scratch icon indicating copy to clipboard operation
Neovim-from-scratch copied to clipboard

Can Not see the cursor when using default color scheme

Open meicale opened this issue 3 years ago • 10 comments

When I open the nvim I can not see my cursor when using the default color scheme or dark color scheme. Can I use other color scheme such as gruvbox? How should I fix the cursor problem.

meicale avatar Jan 10 '22 15:01 meicale

Can you show some image for better understanding? Try using different theme as well

nishu-murmu avatar Jan 10 '22 16:01 nishu-murmu

I prefer dark schemes and all the schemes have this problem. Just like the ping shows, actually the cursor is on line 3 column 0. I just wonder how to use the gruvbox? image

meicale avatar Jan 10 '22 23:01 meicale

It might be your terminal problem Try resetting it.

nishu-murmu avatar Jan 12 '22 11:01 nishu-murmu

You are able to install whatever colorscheme you want. You basically just put the plugin into the plugins.lua file. And obviously setting the colorscheme after installing it.

dvchoudh avatar Jan 13 '22 07:01 dvchoudh

image

It works fine in terminal. I tried all the colorscheme in the Mobaxterm terminal setting, it cause some changes but I can not see the cursor. Thank you all the same.

I use powerline10k as terminal theme, it works ok with other nvim and spacevim. In spacevim, if i use the darkmode instead of the basic mode, I ran into the same problem.

meicale avatar Jan 16 '22 02:01 meicale

You are able to install whatever colorscheme you want. You basically just put the plugin into the plugins.lua file. And obviously setting the colorscheme after installing it.

I tried other colorscheme such as gruvbox, but I still cannot see the cursor. I guess this may caused by other pluggins. When I use the 04-colorsecheme branch of this repo, I get my cursor back in nvim.

meicale avatar Jan 16 '22 02:01 meicale

Anyway, after several retries and reinstalls, my cursor in vim coming back. Thank you all guys. I have not figured out how this thing had happened. I will update when I reproduce this problem. Thx!

meicale avatar Jan 16 '22 04:01 meicale

I may figure out the problem. I cannot turn on the" termguicolor = true " in option.lua. This may not surport by mobaxterm. Any one have the similar problem please update me. Thx.

meicale avatar Jan 19 '22 03:01 meicale

Try just using basic windows terminal (mobaxterm excluded), or some other windows terminal emulator like kitty, xshell, etc. termguicolor is necessary or else you might have some color errors.

nishu-murmu avatar Jan 19 '22 06:01 nishu-murmu

I also can use putty. Others are not installed on the server. So it gets difficult to deal with.

meicale avatar Jan 19 '22 14:01 meicale