在vim中将光标设置为垂直细线 [英] Setting the cursor to a vertical thin line in vim

查看:64
本文介绍了在vim中将光标设置为垂直细线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图将插入模式下的光标设置为一条细垂直线,但我无法做到.我在我的 .vimrc 文件中试过这个:

I am trying to set the cursor in insert mode to be a thin vertical line and I am unable to. I have tried this in my .vimrc file:

set guicursor+=i:ver100-iCursor

它不会在插入模式下将光标设置为竖线.

It does not set the cursor to a vertical bar on insert mode.

我缺少什么,我该怎么做?

What am I missing and how do I do this?

推荐答案

这成功了:

设置 guicursor=i:ver25-iCursor

我不得不将 100 减少到 25

I had to reduce the 100 to 25

这篇关于在vim中将光标设置为垂直细线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆