Initial commit
This commit is contained in:
16
lazyvim/.config/nvim/lua/plugins/alpha.lua
Normal file
16
lazyvim/.config/nvim/lua/plugins/alpha.lua
Normal file
@@ -0,0 +1,16 @@
|
||||
return {
|
||||
"goolord/alpha-nvim",
|
||||
opts = function(_, opts)
|
||||
local logo = [[
|
||||
███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗
|
||||
████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║
|
||||
██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║
|
||||
██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║
|
||||
██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║
|
||||
╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝
|
||||
|
||||
[ @elijahmanor ]
|
||||
]]
|
||||
opts.section.header.val = vim.split(logo, "\n", { trimempty = true })
|
||||
end,
|
||||
}
|
||||
14
lazyvim/.config/nvim/lua/plugins/colorscheme.lua
Normal file
14
lazyvim/.config/nvim/lua/plugins/colorscheme.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
return {
|
||||
"catppuccin/nvim",
|
||||
name = "catppuccin",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
opts = {
|
||||
flavour = "mocha",
|
||||
transparent_background = false,
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("catppuccin").setup(opts)
|
||||
vim.cmd.colorscheme("catppuccin")
|
||||
end,
|
||||
}
|
||||
3
lazyvim/.config/nvim/lua/plugins/disabled.lua
Normal file
3
lazyvim/.config/nvim/lua/plugins/disabled.lua
Normal file
@@ -0,0 +1,3 @@
|
||||
return {
|
||||
{ "windwp/nvim-spectre", enabled = false },
|
||||
}
|
||||
13
lazyvim/.config/nvim/lua/plugins/file-browser.lua
Normal file
13
lazyvim/.config/nvim/lua/plugins/file-browser.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
return {
|
||||
"nvim-telescope/telescope-file-browser.nvim",
|
||||
keys = {
|
||||
{
|
||||
"<leader>sB",
|
||||
":Telescope file_browser path=%:p:h=%:p:h<cr>",
|
||||
desc = "Browser Files",
|
||||
},
|
||||
},
|
||||
config = function()
|
||||
require("telescope").load_extension("file_browser")
|
||||
end,
|
||||
}
|
||||
6
lazyvim/.config/nvim/lua/plugins/lazyvim.lua
Normal file
6
lazyvim/.config/nvim/lua/plugins/lazyvim.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"LazyVim/LazyVim",
|
||||
opts = {
|
||||
colorscheme = "catppuccin-mocha",
|
||||
},
|
||||
}
|
||||
37
lazyvim/.config/nvim/lua/plugins/markdown-preview.lua
Normal file
37
lazyvim/.config/nvim/lua/plugins/markdown-preview.lua
Normal file
@@ -0,0 +1,37 @@
|
||||
return {
|
||||
-- Browser preview plugin
|
||||
{
|
||||
"iamcco/markdown-preview.nvim",
|
||||
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
|
||||
build = "cd app && yarn install",
|
||||
init = function()
|
||||
vim.g.mkdp_filetypes = { "markdown" }
|
||||
vim.g.mkdp_auto_start = 0
|
||||
vim.g.mkdp_browser = "firefox" -- use your preferred browser
|
||||
vim.g.mkdp_sync_scroll_type = "middle"
|
||||
end,
|
||||
ft = { "markdown" },
|
||||
keys = {
|
||||
{
|
||||
"<leader>Mp",
|
||||
"<cmd>MarkdownPreviewToggle<CR>",
|
||||
desc = "Preview Markdown (Browser)",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
-- Terminal-based preview with Glow
|
||||
{
|
||||
"ellisonleao/glow.nvim",
|
||||
config = true, -- uses default config
|
||||
cmd = "Glow",
|
||||
ft = { "markdown" },
|
||||
keys = {
|
||||
{
|
||||
"<leader>Mg",
|
||||
"<cmd>Glow<CR>",
|
||||
desc = "Preview Markdown (Glow)",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
17
lazyvim/.config/nvim/lua/plugins/multicursors.lua
Normal file
17
lazyvim/.config/nvim/lua/plugins/multicursors.lua
Normal file
@@ -0,0 +1,17 @@
|
||||
return {
|
||||
"smoka7/multicursors.nvim",
|
||||
event = "VeryLazy",
|
||||
dependencies = {
|
||||
"nvimtools/hydra.nvim",
|
||||
},
|
||||
opts = {},
|
||||
cmd = { "MCstart", "MCvisual", "MCclear", "MCpattern", "MCvisualPattern", "MCunderCursor" },
|
||||
keys = {
|
||||
{
|
||||
mode = { "v", "n" },
|
||||
"<Leader>m",
|
||||
"<cmd>MCstart<cr>",
|
||||
desc = "Create a selection for selected text or word under the cursor",
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user