nvim: 調整import架構
This commit is contained in:
parent
36ea942044
commit
28a3a6f8d6
@ -5,3 +5,4 @@
|
|||||||
-- vim.api.nvim_set_keymap('n', '<A-h>', '<cmd>tabprevious<CR>', { noremap = true, silent = true })
|
-- vim.api.nvim_set_keymap('n', '<A-h>', '<cmd>tabprevious<CR>', { noremap = true, silent = true })
|
||||||
-- vim.api.nvim_set_keymap('n', '<A-RIGHT>', '<cmd>tabnext<CR>', { noremap = true, silent = true })
|
-- vim.api.nvim_set_keymap('n', '<A-RIGHT>', '<cmd>tabnext<CR>', { noremap = true, silent = true })
|
||||||
-- vim.api.nvim_set_keymap('n', '<A-LEFT>', '<cmd>tabprevious<CR>', { noremap = true, silent = true })
|
-- vim.api.nvim_set_keymap('n', '<A-LEFT>', '<cmd>tabprevious<CR>', { noremap = true, silent = true })
|
||||||
|
|
||||||
|
@ -40,7 +40,8 @@ require("lazy").setup({
|
|||||||
-- },
|
-- },
|
||||||
-- 自動載入 plugins 資料夾中的所有插件
|
-- 自動載入 plugins 資料夾中的所有插件
|
||||||
{ import = "plugins" },
|
{ import = "plugins" },
|
||||||
{ import = "plugins.tab" },
|
{ import = "plugins.colorscheme.nightfox" }, -- 自訂配色
|
||||||
|
{ import = "plugins.tab.barbar" }, -- 目前只有barbar處理Buffer是最好的
|
||||||
|
|
||||||
-- 手動引入 o-plugins 資料夾中的插件
|
-- 手動引入 o-plugins 資料夾中的插件
|
||||||
-- require("o-plugins.nvim-listchars"),
|
-- require("o-plugins.nvim-listchars"),
|
||||||
@ -49,5 +50,23 @@ require("lazy").setup({
|
|||||||
-- colorscheme that will be used when installing plugins.
|
-- colorscheme that will be used when installing plugins.
|
||||||
install = { colorscheme = { "habamax" } },
|
install = { colorscheme = { "habamax" } },
|
||||||
-- automatically check for plugin updates
|
-- automatically check for plugin updates
|
||||||
checker = { enabled = true },
|
checker = {
|
||||||
|
enabled = true,
|
||||||
|
notify = false, -- notify on update
|
||||||
|
}, -- automatically check for plugin updates
|
||||||
|
performance = {
|
||||||
|
rtp = {
|
||||||
|
-- disable some rtp plugins
|
||||||
|
disabled_plugins = {
|
||||||
|
-- "gzip",
|
||||||
|
-- "matchit",
|
||||||
|
-- "matchparen",
|
||||||
|
-- "netrwPlugin",
|
||||||
|
-- "tarPlugin",
|
||||||
|
-- "tohtml",
|
||||||
|
-- "tutor",
|
||||||
|
-- "zipPlugin",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
-- if true then return {} end -- 停用
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
{'romgrk/barbar.nvim',
|
{'romgrk/barbar.nvim',
|
||||||
version = '^1.0.0', -- optional: only update when a new 1.x version is released
|
version = '^1.0.0', -- optional: only update when a new 1.x version is released
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
if true then return {} end -- 停用
|
|
||||||
|
|
||||||
-- 查看說明:
|
-- 查看說明:
|
||||||
-- nvim +"help bufferline" +only
|
-- nvim +"help bufferline" +only
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
if true then return {} end -- 因為barbar會與tabby衝突,停用
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
'nanozuki/tabby.nvim',
|
'nanozuki/tabby.nvim',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user