|
|
|
@ -1,5 +1,45 @@
|
|
|
|
|
require("zk").setup()
|
|
|
|
|
require("mkdnflow").setup({})
|
|
|
|
|
require("zk").setup({ picker = "telescope" })
|
|
|
|
|
require("mkdnflow").setup({
|
|
|
|
|
mappings = {
|
|
|
|
|
MkdnEnter = { { "n", "v" }, "<CR>" },
|
|
|
|
|
MkdnTab = false,
|
|
|
|
|
MkdnSTab = false,
|
|
|
|
|
MkdnNextLink = { "n", "<Tab>" },
|
|
|
|
|
MkdnPrevLink = { "n", "<S-Tab>" },
|
|
|
|
|
MkdnNextHeading = { "n", "]]" },
|
|
|
|
|
MkdnPrevHeading = { "n", "[[" },
|
|
|
|
|
MkdnGoBack = { "n", "<BS>" },
|
|
|
|
|
MkdnGoForward = { "n", "<Del>" },
|
|
|
|
|
MkdnCreateLink = false, -- see MkdnEnter
|
|
|
|
|
MkdnCreateLinkFromClipboard = { { "n", "v" }, "<leader>p" }, -- see MkdnEnter
|
|
|
|
|
MkdnFollowLink = false, -- see MkdnEnter
|
|
|
|
|
MkdnDestroyLink = { "n", "<M-CR>" },
|
|
|
|
|
MkdnTagSpan = { "v", "<M-CR>" },
|
|
|
|
|
MkdnMoveSource = { "n", "<F2>" },
|
|
|
|
|
MkdnYankAnchorLink = { "n", "ya" },
|
|
|
|
|
MkdnYankFileAnchorLink = { "n", "yfa" },
|
|
|
|
|
MkdnIncreaseHeading = { "n", "+" },
|
|
|
|
|
MkdnDecreaseHeading = { "n", "-" },
|
|
|
|
|
MkdnToggleToDo = { { "n", "v" }, "<C-Space>" },
|
|
|
|
|
MkdnNewListItem = false,
|
|
|
|
|
MkdnNewListItemBelowInsert = { "n", "o" },
|
|
|
|
|
MkdnNewListItemAboveInsert = { "n", "O" },
|
|
|
|
|
MkdnExtendList = false,
|
|
|
|
|
-- MkdnUpdateNumbering = { "n", "<leader>nn" },
|
|
|
|
|
MkdnUpdateNumbering = false,
|
|
|
|
|
MkdnTableNextCell = { "i", "<Tab>" },
|
|
|
|
|
MkdnTablePrevCell = { "i", "<S-Tab>" },
|
|
|
|
|
MkdnTableNextRow = false,
|
|
|
|
|
MkdnTablePrevRow = { "i", "<M-CR>" },
|
|
|
|
|
MkdnTableNewRowBelow = { "n", "<leader>ir" },
|
|
|
|
|
MkdnTableNewRowAbove = { "n", "<leader>iR" },
|
|
|
|
|
MkdnTableNewColAfter = { "n", "<leader>ic" },
|
|
|
|
|
MkdnTableNewColBefore = { "n", "<leader>iC" },
|
|
|
|
|
MkdnFoldSection = { "n", "<leader>f" },
|
|
|
|
|
MkdnUnfoldSection = { "n", "<leader>F" },
|
|
|
|
|
},
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
require("clipboard-image").setup({
|
|
|
|
|
default = {
|
|
|
|
|
img_dir = { "%:p:h", "img" },
|
|
|
|
@ -11,6 +51,7 @@ require("clipboard-image").setup({
|
|
|
|
|
end,
|
|
|
|
|
},
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
require("telescope").load_extension("zk")
|
|
|
|
|
|
|
|
|
|
local wk = require("which-key")
|
|
|
|
|