This commit is contained in:
newbie 2023-12-16 12:07:36 +08:00
parent 3c09b60016
commit ff8d4684aa
2 changed files with 49 additions and 12 deletions

View File

@ -11,7 +11,6 @@ return {
-- 多光标
{
'terryma/vim-multiple-cursors',
keys = { "<c-n>", "<c-p>", "<c-x>" },
},
{
--格式整理
@ -43,18 +42,17 @@ return {
})
end
},
{
"askfiy/nvim-picgo",
config = function()
G.map({
{ 'n', '<leader>pp', ':UploadClipboard<CR>' }
})
require("nvim-picgo").setup()
end
},
-- {
-- "askfiy/nvim-picgo",
-- config = function()
-- G.map({
-- { 'n', '<leader>pp', ':UploadClipboard<CR>' }
-- })
-- require("nvim-picgo").setup()
-- end
-- },
{
-- hop
require("plugs.hop")
}
}

View File

@ -268,6 +268,45 @@ return {
},
},
{
""
'fgheng/winbar.nvim',
config = function()
require('winbar').setup({
enabled = true, -- 是否启动winbar
-- show_file_path = true, -- 是否显示文件路径
show_symbols = true, -- 是否显示函数标签
-- 颜色配置,为空,将使用默认配色
colors = {
path = '#aaffff', -- 路径的颜色,比如#ababab
file_name = '#bbbbff', -- 文件名称的颜色,比如#acacac
symbols = '', -- 函数颜色
},
-- 图标配置
icons = {
seperator = '>', -- 路径分割符号
editor_state = '',
lock_icon = '',
},
-- 关闭winbar的窗口
exclude_filetype = {
'help',
'startify',
'dashboard',
'packer',
'neogitstatus',
'NvimTree',
'Trouble',
'alpha',
'lir',
'Outline',
'spectre_panel',
'toggleterm',
'qf',
}
})
end
},
}