nvim: Switch from neorg to zk-nvim

Neorg is fine but not for me right now (especially with its own syntax
spec). zk seems to fit my workflow much better, this is the beginning of
trying it out.
This commit is contained in:
Marty Oehme 2023-02-25 17:16:51 +01:00
parent fd8b0b290c
commit 0127a5db07
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
2 changed files with 28 additions and 30 deletions

View file

@ -1,8 +0,0 @@
require("neorg").setup {
load = {
["core.defaults"] = {},
["core.norg.concealer"] = {},
["core.norg.completion"] = { config = { engine = "nvim-cmp" } },
["core.norg.qol.toc"] = {}
}
}

View file

@ -67,10 +67,15 @@ return {
requires = { 'kyazdani42/nvim-web-devicons', opt = true }, requires = { 'kyazdani42/nvim-web-devicons', opt = true },
config = function() require('plug._lualine') end config = function() require('plug._lualine') end
}, -- writing }, -- writing
{ 'vim-pandoc/vim-pandoc-syntax', ft = writing_ft }, { 'vim-pandoc/vim-criticmarkup', ft = writing_ft }, {
{ 'vim-pandoc/vim-criticmarkup', ft = writing_ft }, { 'mickael-menu/zk-nvim',
config = function() require('zk').setup({ picker = "telescope" }) end
}, {
'quarto-dev/quarto-nvim', 'quarto-dev/quarto-nvim',
dependencies = { 'jmbuhr/otter.nvim', 'neovim/nvim-lspconfig' }, dependencies = {
'jmbuhr/otter.nvim', 'neovim/nvim-lspconfig',
'vim-pandoc/vim-pandoc-syntax'
},
config = function() config = function()
require 'quarto'.setup { require 'quarto'.setup {
lspFeatures = { lspFeatures = {
@ -115,14 +120,7 @@ return {
{ {
"folke/which-key.nvim", "folke/which-key.nvim",
config = function() require("which-key").setup {} end config = function() require("which-key").setup {} end
}, { }, -- fuzzy matching
"nvim-neorg/neorg",
config = function() require("plug._neorg") end,
dependencies = { "nvim-lua/plenary.nvim" },
version = "*",
ft = "norg"
}, -- extensive organization plugin mimicking orgmode
-- fuzzy matching
{ "nvim-telescope/telescope-fzf-native.nvim", build = 'make' }, { { "nvim-telescope/telescope-fzf-native.nvim", build = 'make' }, {
"nvim-telescope/telescope.nvim", "nvim-telescope/telescope.nvim",
dependencies = { "nvim-lua/popup.nvim", "nvim-lua/plenary.nvim" }, dependencies = { "nvim-lua/popup.nvim", "nvim-lua/plenary.nvim" },
@ -180,15 +178,23 @@ return {
config = function() require('plug._lsp') end, config = function() require('plug._lsp') end,
event = "VeryLazy" event = "VeryLazy"
}, -- and completion }, -- and completion
{ -- { -- REQUIRES custom `yay -S --asdeps lua51-lyaml invocation` AND is suuper slow
"jghauser/papis.nvim", -- "jghauser/papis.nvim",
after = { "telescope.nvim", "nvim-cmp" }, -- after = { "telescope.nvim", "nvim-cmp" },
dependencies = { -- dependencies = {
"kkharji/sqlite.lua", "nvim-lua/plenary.nvim", -- "kkharji/sqlite.lua", "nvim-lua/plenary.nvim",
"MunifTanjim/nui.nvim", "nvim-treesitter/nvim-treesitter" -- "MunifTanjim/nui.nvim", "nvim-treesitter/nvim-treesitter"
}, -- },
ft = writing_ft, -- ft = writing_ft,
rocks = { "lyaml" }, -- rocks = { "lyaml" },
config = true -- config = function()
} -- require('papis').setup({
-- papis_python = {
-- dir = "/home/marty/documents/library/academia",
-- info_name = "info.yaml",
-- notes_name = [[notes.qmd]]
-- }
-- })
-- end
-- }
} }