Replies: 1 comment
-
|
fwiw this is my config init = function()
local wk = require("which-key")
wk.register({
["<leader>n"] = {
name = "+neorg",
c = { "<cmd>Neorg toc split<cr>", "Open table of contents" },
n = {
name = "+notes",
n = { "<cmd>Neorg keybind norg core.dirman.new.note<cr>", "New note" },
c = { "<cmd>Neorg keybind all core.looking-glass.magnify-code-block<cr>", "Edit code block" },
d = { "<cmd>Neorg keybind norg core.tempus.insert-date<cr>", "Insert date" },
[">"] = { "<cmd>Neorg keybind norg core.promo.promote<cr>", "Promote object" },
["<"] = { "<cmd>Neorg keybind norg core.promo.demote<cr>", "Demote objectr" },
i = { "<cmd>Neorg keybind norg core.pivot.invert-list-type", "Invert List" },
t = { "<cmd>Neorg keybind norg core.pivot.toggle-list-type", "Toggle List" },
},
m = {
name = "+mode",
m = { "<cmd>Neorg<cr>", "Open Neorg menu" },
n = { "<cmd>Neorg mode norg<cr>", "Enter Neorg mode" },
h = { "<cmd>Neorg mode traverse-heading", "Enter Header Traversal mode" },
l = { "<cmd>Neorg mode traverse-link", "Enter Link Traversal mode" },
},
j = {
name = "+journal",
t = { "<cmd>Neorg journal today<cr>", "Open journal today" },
m = { "<cmd>Neorg journal tomorrow<cr>", "Open journal tomorrow" },
y = { "<cmd>Neorg journal yesterday<cr>", "Open journal yesterday" },
c = { "<cmd>Neorg journal custom<cr>", "Open journal custom date" },
o = { "<cmd>Neorg journal toc open<cr>", "Open journal table of contents" },
u = { "<cmd>Neorg journal toc update<cr>", "Update journal table of contents" },
w = {
name = "+weather",
s = { "i- Weather: Sunny <esc>", "Sunny" },
c = { "i- Weather: Cloudy <esc>", "Cloudy" },
r = { "i- Weather: Rainy <esc>", "Rainy" },
},
},
t = {
name = "+tasks",
m = { "<cmd>Neorg keybind norg core.qol.todo_items.todo.task_cycle<cr>", "Cycle task state" },
-- n = {
-- "<cmd>Neorg keybind norg core.qol.todo_items.todo.task_cycle_reverse<cr>",
-- "Reverse cycle task state",
-- },
n = { "i- ( ) ", "New Task" },
d = { "<cmd>Neorg keybind norg core.qol.todo_items.todo.task_done<cr>", "Mark task done" },
u = { "<cmd>Neorg keybind norg core.qol.todo_items.todo.task_undone<cr>", "Mark task undone" },
p = { "<cmd>Neorg keybind norg core.qol.todo_items.todo.task_pending<cr>", "Mark task pending" },
h = { "<cmd>Neorg keybind norg core.qol.todo_items.todo.task_on_hold<cr>", "Mark task on hold" },
c = { "<cmd>Neorg keybind norg core.qol.todo_items.todo.task_cancelled<cr>", "Mark task cancelled" },
i = { "<cmd>Neorg keybind norg core.qol.todo_items.todo.task_important<cr>", "Mark task important" },
r = { "<cmd>Neorg keybind norg core.qol.todo_items.todo.task_recurring<cr>", "Mark task recurring" },
},
i = { "<cmd>Neorg index<cr>", "Open index" },
r = { "<cmd>Neorg return<cr>", "Close Neorg and return" },
w = {
name = "+workspace",
w = { "<cmd>Neorg workspace work<cr>", "Open work" },
n = { "<cmd>Neorg workspace notes<cr>", "Open notes" },
},
},
})
end,
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm using LazyVim, and Neorg isn't loaded on startup (lazy loaded is my understanding).
That's good, as I don't need it all the time.
But I do want a fast way to startup a note, or go to my index, for example.
Currently I just have these two in my keymaps.lua file:
Beta Was this translation helpful? Give feedback.
All reactions