[英]Can the cursor in vim be changed to an underscore?
有沒有一種方法可以使光標成為下划線-> _而不是框?
我查看了該線程並嘗試了命令,但沒有任何更改。 我知道有一個設置的cursorline選項,但這不是我想要的。
布朗尼指出了,如果您能告訴我如何使其閃爍。
這可能受'guicursor'
選項cp影響。 :help 'guicursor'
了解詳情。 以下內容使您在所有模式下都有閃爍的下划線光標:
:set guicursor=a:hor20-Cursor
這主要僅適用於GVIM。 在終端中,您必須找到適當的ANSI轉義序列來切換光標形狀,或者最好只是在終端的設置中重新配置光標。
(In Ubuntu) Definitely, you can change Cursor Shape to I-Beam, Underscore or Block (Default) in VIM :
Step 1: Go the Edit menu in terminal
Step 2: Select the 'Profile Preferences' Option.
A window window will appear...
Step 3: Select 'General' tab into the opened window.
At the bottom of the tab you can find 'Cursor Shape' option.
From here you can change Cursor Shape to I-Beam, Underscore or Block.
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.