好的,我试试。谢谢
我下载一些低版本的没事,原来还有更高的版本,但是emacs官网不是只到26吗
有pretest的,还未发布的,但是可以提前尝试,也可以自己直接编译master分支的最新版本。
这个就是设置cursor-type
,你可以随你喜好设,挺多选择的,如果是这种细竖线(bar)的,还可以调宽度。Emacs默认是box
,Evil默认为bar
,如下文档
cursor-type is a variable defined in ‘C source code’.
Its value is ‘bar’
Original value was t
Automatically becomes buffer-local when set.
Documentation:
Cursor to use when this buffer is in the selected window.
Values are interpreted as follows:
t use the cursor specified for the frame
nil don’t display a cursor
box display a filled box cursor
hollow display a hollow box cursor
bar display a vertical bar cursor with default width
(bar . WIDTH) display a vertical bar cursor with width WIDTH
hbar display a horizontal bar cursor with default height
(hbar . HEIGHT) display a horizontal bar cursor with height HEIGHT
ANYTHING ELSE display a hollow box cursor
WIDTH and HEIGHT can’t exceed the frame’s canonical character size.