Remove neorg. Fix dashboard theme.

This commit is contained in:
Jan Eitzinger 2024-04-04 21:27:51 +02:00
parent 323cd03265
commit ad05bd783e
4 changed files with 16 additions and 41 deletions

View File

@ -61,6 +61,12 @@ return {
}
end,
},
{
"nvim-telescope/telescope-bibtex.nvim",
config = function()
require "telescope".load_extension("bibtex")
end,
},
{
'numToStr/Comment.nvim',
opts = {

View File

@ -8,7 +8,7 @@ return {
},
opts = {
take_over_my_home = true,
auto_set_filetype = true,
auto_set_filetype = false,
home = "{{ .home }}/doc/zettelkasten",
dailies = "{{ .home }}/doc/zettelkasten/daily",
weeklies = "{{ .home }}/doc/zettelkasten/weekly",
@ -78,38 +78,4 @@ return {
vim.api.nvim_set_hl(0, "tkBrackets", { fg = "gray", bg = "gray" })
end,
},
{
"nvim-neorg/neorg",
build = ":Neorg sync-parsers",
dependencies = { { "nvim-lua/plenary.nvim" }, { "nvim-neorg/neorg-telescope" } },
opts = {
load = {
["core.defaults"] = {},
["core.concealer"] = {},
["core.completion"] = {
config = {
engine = "nvim-cmp",
name = "[Norg]",
},
},
["core.integrations.nvim-cmp"] = {},
["core.integrations.telescope"] = {},
["core.esupports.metagen"] = {
config = {
type = "auto",
},
},
["core.dirman"] = { -- Manages Neorg workspaces
config = {
workspaces = {
notes = "~/doc/notes/private",
work = "~/doc/notes/work",
},
default_workspace = "work",
index = "index.norg",
},
},
},
},
},
}

View File

@ -420,14 +420,17 @@ return {
"nvimdev/dashboard-nvim",
event = "VimEnter",
opts = function()
vim.api.nvim_set_hl(0, "DashboardHeader", { fg = "#79b8ff" })
vim.api.nvim_set_hl(0, "DashboardIcon", { fg = "#39c5cf" })
vim.api.nvim_set_hl(0, "DashboardKey", { fg = "#39c5cf" })
vim.api.nvim_set_hl(0, "DashboardFooter", { fg = "#959da5" })
local logo = [[
_ _ _ _
| | (_) | | | |
_ __ ___ ___ ___| |__ _ _ _ ___| |__ __ _ _ __ __| |
| '_ ` _ \ / _ \ / _ \ '_ \| | | | / __| '_ \ / _` | '_ \ / _` |
| | | | | | (_) | __/ |_) | | |_| \__ \ |_) | (_| | | | | (_| |
|_| |_| |_|\___/ \___|_.__/|_|\__,_|___/_.__/ \__,_|_| |_|\__,_|
]]
|_| |_| |_|\___/ \___|_.__/|_|\__,_|___/_.__/ \__,_|_| |_|\__,_| ]]
logo = string.rep("\n", 8) .. logo .. "\n\n"
@ -468,8 +471,8 @@ return {
key = "c",
},
{
action = "Neorg workspace notes",
desc = " Neorg notes",
action = "Telekasten find_notes",
desc = " Find notes",
icon = " ",
key = "n",
},

View File

@ -34,5 +34,5 @@ xidle -timeout 300 -program "/usr/local/bin/slock" &
{{- end }}
xrdb -merge $HOME/.Xresources
xsetroot -solid "#282828"
/home/jan/.fehbg&
exec openbox-session