diff --git a/nvim/.config/nvim/lua/plugins/prose.lua b/nvim/.config/nvim/lua/plugins/prose.lua index 2c2981f..502fc34 100644 --- a/nvim/.config/nvim/lua/plugins/prose.lua +++ b/nvim/.config/nvim/lua/plugins/prose.lua @@ -133,7 +133,10 @@ local prose_plugs = { keys = { -- additional key instpirations https://github.com/al1-ce/MonolithVim/blob/master/after/ftplugin/markdown.lua { "ni", "edit ~/documents/notes/index.md", desc = "open index", silent = true }, - { "nn", "ZkNotes { sort = { 'modified' } }", desc = "note list" }, + { "nn", "ZkNew { title = vim.fn.input('Title: ') }", desc = "new note" }, + { "nn", ":'<,'>ZkNewFromTitleSelection", desc = "new note from selection", mode = "v" }, + { "nN", ":'<,'>ZkNewFromContentSelection", desc = "content from selection", mode = "v" }, + { "nl", "ZkNotes { sort = { 'modified' } }", desc = "note list" }, { "nf", "ZkNotes { sort = { 'modified' }, match = { vim.fn.input('Search: ') } }", @@ -142,12 +145,9 @@ local prose_plugs = { { "nf", "ZkMatch", desc = "find note from selection", mode = "v" }, { "nt", "ZkTags", desc = "note tags" }, { "nc", "ZkCd", desc = "notedir cd" }, - { "no", "ZkNotes { sort = { 'modified' } }", desc = "orphans list" }, - { "nl", "ZkLinks", desc = "note links" }, - { "nb", "ZkBacklinks", desc = "note backlinks" }, - { "nn", "ZkNew { title = vim.fn.input('Title: ') }", desc = "new note" }, - { "nn", ":'<,'>ZkNewFromTitleSelection", desc = "new note from selection", mode = "v" }, - { "nN", ":'<,'>ZkNewFromContentSelection", desc = "content from selection", mode = "v" }, + { "no", "ZkOrphans { sort = { 'modified' } }", desc = "orphans list" }, + { "nb", "ZkBacklinks", desc = "note backlinks" }, + { "nl", "ZkLinks", desc = "note links" }, }, },