mirror of
https://github.com/cap153/nvim.git
synced 2026-04-18 02:06:21 +08:00
配置状态栏和主题
This commit is contained in:
parent
b2f854ee27
commit
35ccbebb91
5 changed files with 68 additions and 2 deletions
|
|
@ -2,6 +2,8 @@
|
|||
-- === Editor behavior
|
||||
-- ===
|
||||
|
||||
-- 关闭底部状态栏
|
||||
vim.o.laststatus = 0
|
||||
-- 开启左侧数字
|
||||
vim.o.number = true
|
||||
-- 使用相对数
|
||||
|
|
@ -76,7 +78,8 @@ autocmd BufLeave * :silent !fcitx5-remote -c
|
|||
-- 开启高亮复制
|
||||
vim.cmd([[au TextYankPost * silent! lua vim.highlight.on_yank()]])
|
||||
|
||||
|
||||
-- 主题颜色
|
||||
vim.cmd.colorscheme("catppuccin")
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue