问题描述
您好,有什么方法可以像升华文字3一样更改原子的插入符号样式?在设置JSON "caret_style": "phase"
Hello is there a way to change the caret style of atom just like in sublime text 3? The way sublime text 3 did it was this way in the settings JSON "caret_style": "phase"
有没有办法在原子编辑器中做类似这样的事情?
Is there a way to do something just like this in atom editor?
推荐答案
编辑.atom/styles.less
(或~/.atom/stylesheet.css
),将以下转换添加/更新为atom-text-editor .cursor
:
Edit .atom/styles.less
(or ~/.atom/stylesheet.css
), add/update the following transition to atom-text-editor .cursor
:
atom-text-editor .cursor {
transition:opacity 0.5s linear;
}
如果要更新光标速度,则可以获取 cursor-blink-interval
包并在.atom/config.cson
中更新以下内容:
If you want to update cursor speed, you can get cursor-blink-interval
package and update the following in your .atom/config.cson
:
'*':
'cursor-blink-interval':
cursorBlinkInterval: 1200
另请参见 block-cursor 包
这篇关于更改原子编辑器的光标样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!