Helix 配置
目录
首先在 Arch Linux 中安装:
yay -S helixArchLinux 中 helix 的默认别名并不是 hx, 可以手动软链接
sudo ln -s /usr/bin/helix /usr/local/bin/hx配置文件默认路径在 ~/.config/helix/config.toml , 写入以下内容:
# 选择主题
theme = "tokyonight"
[editor.cursor-shape]
insert = "bar" # 插入模式光标为竖线
normal = "block" # 普通模式光标为方块
select = "underline" # 选择模式光标为下划线
# 底部状态栏样式官方文档配置
[editor.statusline]
left = ["mode", "spinner"]
center = ["file-name"]
right = ["diagnostics", "selections", "position", "file-encoding", "file-line-ending", "file-type"]
separator = "│"
mode.normal = "NORMAL"
mode.insert = "INSERT"
mode.select = "SELECT"
[editor.file-picker]
hidden = false # 文件搜索时显示隐藏文件