Added plugins
This commit is contained in:
parent
7af594fd31
commit
79005e5771
10 changed files with 141 additions and 8 deletions
29
lua/custom/plugins/obsidian.lua
Normal file
29
lua/custom/plugins/obsidian.lua
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
return {
|
||||
"epwalsh/obsidian.nvim",
|
||||
version = "*", -- recommended, use latest release instead of latest commit
|
||||
lazy = true,
|
||||
ft = "markdown",
|
||||
-- Replace the above line with this if you only want to load obsidian.nvim for markdown files in your vault:
|
||||
-- event = {
|
||||
-- -- If you want to use the home shortcut '~' here you need to call 'vim.fn.expand'.
|
||||
-- -- E.g. "BufReadPre " .. vim.fn.expand "~" .. "/my-vault/**.md"
|
||||
-- "BufReadPre path/to/my-vault/**.md",
|
||||
-- "BufNewFile path/to/my-vault/**.md",
|
||||
-- },
|
||||
dependencies = {
|
||||
-- Required.
|
||||
"nvim-lua/plenary.nvim",
|
||||
|
||||
-- see below for full list of optional dependencies 👇
|
||||
},
|
||||
opts = {
|
||||
workspaces = {
|
||||
{
|
||||
name = "LifeOfPain",
|
||||
path = "~/Documents/Private/LifeOfPain",
|
||||
},
|
||||
},
|
||||
|
||||
-- see below for full list of options 👇
|
||||
},
|
||||
}
|
||||
23
lua/custom/plugins/statuscol.lua
Normal file
23
lua/custom/plugins/statuscol.lua
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
return {
|
||||
{
|
||||
"luukvbaal/statuscol.nvim", config = function()
|
||||
-- local builtin = require("statuscol.builtin")
|
||||
require("statuscol").setup({
|
||||
-- configuration goes here, for example:
|
||||
relculright = true,
|
||||
-- segments = {
|
||||
-- { text = { builtin.foldfunc }, click = "v:lua.ScFa" },
|
||||
-- {
|
||||
-- sign = { name = { "Diagnostic" }, maxwidth = 2, auto = true },
|
||||
-- click = "v:lua.ScSa"
|
||||
-- },
|
||||
-- { text = { builtin.lnumfunc }, click = "v:lua.ScLa", },
|
||||
-- {
|
||||
-- sign = { name = { ".*" }, maxwidth = 2, colwidth = 1, auto = true, wrap = true },
|
||||
-- click = "v:lua.ScSa"
|
||||
-- },
|
||||
-- }
|
||||
})
|
||||
end,
|
||||
}
|
||||
}
|
||||
17
lua/custom/plugins/theme.lua
Normal file
17
lua/custom/plugins/theme.lua
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
return {
|
||||
{
|
||||
"catppuccin/nvim",
|
||||
name = "catppuccin",
|
||||
opts = {
|
||||
flavour = "mocha",
|
||||
}
|
||||
-- require("catppuccin").setup({
|
||||
-- })
|
||||
},
|
||||
{
|
||||
"LazyVim/LazyVim",
|
||||
opts = {
|
||||
colorscheme = "catppuccin",
|
||||
},
|
||||
},
|
||||
}
|
||||
1
lua/mundy/config.lua
Normal file
1
lua/mundy/config.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
vim.opt.conceallevel = 2
|
||||
9
lua/mundy/eyecandy.lua
Normal file
9
lua/mundy/eyecandy.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
vim.opt.number = true
|
||||
vim.opt.relativenumber = true
|
||||
vim.opt.signcolumn = "number"
|
||||
|
||||
function LineNumberColors()
|
||||
vim.api.nvim_set_hl(0, 'LineNrAbove', { fg='grey', bold=false }) -- '#F0DBAF'
|
||||
vim.api.nvim_set_hl(0, 'LineNr', { fg='white', bold=true })
|
||||
vim.api.nvim_set_hl(0, 'LineNrBelow', { fg='grey', bold=false })
|
||||
end
|
||||
3
lua/mundy/init.lua
Normal file
3
lua/mundy/init.lua
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
require('mundy.remap')
|
||||
require('mundy.eyecandy')
|
||||
require('mundy.config')
|
||||
2
lua/mundy/remap.lua
Normal file
2
lua/mundy/remap.lua
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
vim.keymap.set('n', '<leader>pv', vim.cmd.Ex,{ desc = 'Open Netrw Directory Listing' })
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue