update config 27102023
This commit is contained in:
parent
26d88706e5
commit
6c41fb4140
|
@ -125,10 +125,13 @@ return {
|
||||||
config = {
|
config = {
|
||||||
-- neorg_leader = "<leader><leader>",
|
-- neorg_leader = "<leader><leader>",
|
||||||
hook = function(keybinds)
|
hook = function(keybinds)
|
||||||
keybinds.map("norg", "n", "gj", "<Cmd>Neorg journal today<CR>")
|
keybinds.map("norg", "n", "ngj", "<Cmd>Neorg journal today<CR>")
|
||||||
keybinds.map("norg", "n", "jo", "<Cmd>Neorg journal toc open<CR>")
|
keybinds.map("norg", "n", "njo", "<Cmd>Neorg journal toc open<CR>")
|
||||||
keybinds.map("norg", "n", "jO", "<Cmd>Neorg journal toc update<CR>")
|
keybinds.map("norg", "n", "njO", "<Cmd>Neorg journal toc update<CR>")
|
||||||
keybinds.map("norg", "n", "np", "<Cmd>Neorg presenter start<CR>")
|
keybinds.map("norg", "n", "np", "<Cmd>Neorg presenter start<CR>")
|
||||||
|
keybinds.map("norg", "n", "nt", "<Cmd>Neorg tangle current-file<CR>")
|
||||||
|
keybinds.map("norg", "n", "nwn", "<Cmd>Neorg workspace notes<CR>")
|
||||||
|
keybinds.map("norg", "n", "nww", "<Cmd>Neorg workspace work<CR>")
|
||||||
keybinds.remap_event("norg", "i", "<C-f>", "core.integrations.telescope.insert_link")
|
keybinds.remap_event("norg", "i", "<C-f>", "core.integrations.telescope.insert_link")
|
||||||
keybinds.remap_event("norg", "n", "ge", "core.looking-glass.magnify-code-block")
|
keybinds.remap_event("norg", "n", "ge", "core.looking-glass.magnify-code-block")
|
||||||
keybinds.remap_event("norg", "n", "<C-s>", "core.integrations.telescope.find_linkable")
|
keybinds.remap_event("norg", "n", "<C-s>", "core.integrations.telescope.find_linkable")
|
||||||
|
|
|
@ -7,3 +7,8 @@ snippet lk
|
||||||
snippet lf
|
snippet lf
|
||||||
{file:///${1:some/path/}:}[${2:Description}]
|
{file:///${1:some/path/}:}[${2:Description}]
|
||||||
|
|
||||||
|
snippet <s
|
||||||
|
#tangle ${1:Name of the file...}
|
||||||
|
@code ${2:Language}
|
||||||
|
${0:Start coding...}
|
||||||
|
@end
|
||||||
|
|
Loading…
Reference in New Issue