neorg
This commit is contained in:
parent
a7328d4cff
commit
74f4471702
7
.zshrc
7
.zshrc
@ -57,3 +57,10 @@ bindkey '^[[1;5D' backward-word # Ctrl+Left (usually)
|
||||
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
|
||||
export SDKMAN_DIR="$HOME/.sdkman"
|
||||
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
|
||||
|
||||
# bun completions
|
||||
[ -s "/home/user/.bun/_bun" ] && source "/home/user/.bun/_bun"
|
||||
|
||||
# bun
|
||||
export BUN_INSTALL="$HOME/.bun"
|
||||
export PATH="$BUN_INSTALL/bin:$PATH"
|
||||
|
||||
@ -51,3 +51,8 @@ vim.opt.conceallevel = 2
|
||||
vim.g.loaded_perl_provider = 0
|
||||
vim.g.loaded_ruby_provider = 0
|
||||
vim.g.loaded_netrw = 0
|
||||
|
||||
|
||||
|
||||
|
||||
vim.o.foldlevel = 0
|
||||
|
||||
@ -29,26 +29,26 @@ return {
|
||||
"onsails/lspkind-nvim",
|
||||
event = "InsertEnter",
|
||||
},
|
||||
{
|
||||
"zbirenbaum/copilot.lua",
|
||||
cmd = "Copilot",
|
||||
event = "InsertEnter",
|
||||
config = function()
|
||||
require("copilot").setup({
|
||||
suggestion = { enabled = false },
|
||||
panel = { enabled = false },
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"zbirenbaum/copilot-cmp",
|
||||
config = function()
|
||||
require("copilot_cmp").setup({
|
||||
event = { "InsertEnter", "LspAttach" },
|
||||
fix_pairs = true,
|
||||
})
|
||||
end
|
||||
}
|
||||
-- {
|
||||
-- "zbirenbaum/copilot.lua",
|
||||
-- cmd = "Copilot",
|
||||
-- event = "InsertEnter",
|
||||
-- config = function()
|
||||
-- require("copilot").setup({
|
||||
-- suggestion = { enabled = false },
|
||||
-- panel = { enabled = false },
|
||||
-- })
|
||||
-- end,
|
||||
-- },
|
||||
-- {
|
||||
-- "zbirenbaum/copilot-cmp",
|
||||
-- config = function()
|
||||
-- require("copilot_cmp").setup({
|
||||
-- event = { "InsertEnter", "LspAttach" },
|
||||
-- fix_pairs = true,
|
||||
-- })
|
||||
-- end
|
||||
-- }
|
||||
},
|
||||
config = function()
|
||||
local cmp = require("cmp")
|
||||
|
||||
@ -12,6 +12,7 @@ local lsp_servers = {
|
||||
local tools = {
|
||||
"luacheck",
|
||||
"latexindent",
|
||||
"prettierd"
|
||||
}
|
||||
|
||||
local on_attach = function(_, bufnr)
|
||||
|
||||
40
nvim/lua/kanopo/plugins/neorg.lua
Normal file
40
nvim/lua/kanopo/plugins/neorg.lua
Normal file
@ -0,0 +1,40 @@
|
||||
return {
|
||||
"nvim-neorg/neorg",
|
||||
lazy = true, -- Enable lazy loading
|
||||
version = "*", -- Pin Neorg to the latest stable release
|
||||
cmd = "Neorg", -- Load when the Neorg command is used
|
||||
ft = "norg", -- Load when a .norg file is opened
|
||||
build = ":Neorg sync-parsers",
|
||||
config = function()
|
||||
require("neorg").setup({
|
||||
load = {
|
||||
["core.defaults"] = {},
|
||||
["core.dirman"] = {
|
||||
config = {
|
||||
workspaces = {
|
||||
default = "~/Documents/notes",
|
||||
},
|
||||
default_workspace = "default",
|
||||
index = "index.norg",
|
||||
}
|
||||
},
|
||||
["core.journal"] = {
|
||||
config = {
|
||||
workspace = "default"
|
||||
},
|
||||
},
|
||||
["core.concealer"] = {
|
||||
config = {
|
||||
icon_preset = "varied",
|
||||
},
|
||||
},
|
||||
-- ["core.export"] = {
|
||||
-- config = {}
|
||||
-- },
|
||||
-- ["core.export.markdown"] = {
|
||||
-- config = {}
|
||||
-- }
|
||||
}
|
||||
})
|
||||
end,
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user