Buffer manager

This commit is contained in:
Saeed Afzal
2023-12-22 13:53:24 +00:00
parent 7d7b0fff77
commit 6075ff24af
5 changed files with 42 additions and 0 deletions

14
lua/plugins/go.lua Normal file
View File

@@ -0,0 +1,14 @@
return {
"ray-x/go.nvim",
dependencies = {
"ray-x/guihua.lua",
"neovim/nvim-lspconfig",
"nvim-treesitter/nvim-treesitter"
},
config = function()
require("go").setup()
end,
event = "CmdlineEnter",
ft = { "go", "gomod" },
build = ":lua require('go.install').update_all_sync()"
}

View File

@@ -1,6 +1,7 @@
return {
"LunarVim/bigfile.nvim",
"wakatime/vim-wakatime",
"j-morano/buffer_manager.nvim",
-- NOTE: Plugins

20
lua/plugins/neorg.lua Normal file
View File

@@ -0,0 +1,20 @@
return {
"nvim-neorg/neorg",
build = ":Neorg sync-parsers",
dependencies = "nvim-lua/plenary.nvim",
opts = {
load = {
["core.defaults"] = {},
["core.concealer"] = {},
["core.dirman"] = {
config = {
workspaces = {
notes = "~/Sync/Neorg",
work = "~/Sync/Work"
},
default_workspace = "notes"
}
}
}
}
}

View File

@@ -38,6 +38,9 @@ local function config()
R = { "<cmd>lua require('spectre').toggle()<CR>", "Replace All" }
},
-- Buffers
b = { "<cmd>lua require('buffer_manager.ui').toggle_quick_menu()<CR>", "Buffer Manager" },
-- Misc
h = { "<cmd>noh<CR>", "No highlight" },
s = { "<cmd>SymbolsOutline<CR>", "Symbols outline" },