3 files changed,
8 insertions(+),
4 deletions(-)
Author:
Smirnov Olexander
ss2316544@gmail.com
Committed at:
2022-05-31 23:46:24 +0300
Parent:
55ab136
jump to
| M | lua/configs/neorg.lua |
| M | lua/core/keymaps.lua |
| M | lua/plugins.lua |
M
lua/configs/neorg.lua
@@ -1,10 +1,13 @@
require("neorg").setup { load = { ["core.defaults"] = {}, - ["core.norg.journal"] = {}, - ["core.norg.completion"] = { + ["core.norg.concealer"] = {}, + ["core.norg.completion"] = { config = { engine = "nvim-cmp" } }, + ["core.norg.journal"] = { config = { workspace = "self" } }, + ["core.keybinds"] = { config = { - engine = "nvim-cmp", + default_keybinds = true, + neorg_leader = ",", }, }, ["core.norg.dirman"] = {
M
lua/core/keymaps.lua
@@ -40,6 +40,7 @@
-- plugins map("n", "<leader>e", "<cmd>NvimTreeToggle<cr>") map("n", "<leader>ps", "<cmd>PackerSync<cr>") +map("n", "<leader>n", "<cmd>Neorg<cr>") -- telescope map("n", "<leader>f", "<cmd>Telescope find_files<cr>")
M
lua/plugins.lua
@@ -77,8 +77,8 @@
use { "nvim-neorg/neorg", ft = "norg", - after = "nvim-treesitter", cmd = "Neorg", + requires = "nvim-treesitter/nvim-treesitter", config = u.get_config "configs.neorg", }