Skip to content

Commit

Permalink
feat: add <LocalLeader>cm keybind for code block magnification
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro committed Jul 23, 2024
1 parent 5febc48 commit c52c00f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lua/neorg/modules/core/keybinds/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,10 @@ module.private = {
-- Insert a link to a date at the given position
-- ^Insert Date
{ "<LocalLeader>id", "<Plug>(neorg.tempus.insert-date)", opts = { desc = "[neorg] Insert Date" } },

-- Magnifies a code block to a separate buffer.
-- ^Code Magnify
{ "<LocalLeader>cm", "<Plug>(neorg.looking-glass.magnify-code-block)", opts = { desc = "[neorg] Magnify Code Block" } },
},

i = {
Expand All @@ -334,10 +338,13 @@ module.private = {
"<Plug>(neorg.promo.promote)",
opts = { desc = "[neorg] Promote Object (Recursively)" },
},

-- Demote an object recursively
{ "<C-d>", "<Plug>(neorg.promo.demote)", opts = { desc = "[neorg] Demote Object (Recursively)" } },

-- Create an iteration of e.g. a list item
{ "<M-CR>", "<Plug>(neorg.itero.next-iteration)", opts = { desc = "[neorg] Continue Object" } },

-- Insert a link to a date at the current cursor position
-- ^Date
{
Expand Down

0 comments on commit c52c00f

Please sign in to comment.