2 files changed,
2 insertions(+),
2 deletions(-)
Author:
Smirnov Oleksandr
ss2316544@gmail.com
Committed at:
2024-05-10 14:33:41 +0300
Parent:
3267499
jump to
| M | lua/core/keymaps.lua |
| M | lua/scratch/notes.lua |
M
lua/core/keymaps.lua
@@ -13,7 +13,7 @@ u.map("n", "[b", ":bp<cr>")
u.map("n", "]b", ":bn<cr>") u.map("n", "J", "mzJ`z") u.map("n", "<leader>N", function() - require("scratch.notes").open() + require("scratch.notes").global() end) u.map("n", "<leader>n", function() require("scratch.notes").project()
M
lua/scratch/notes.lua
@@ -75,7 +75,7 @@
git.aucmd(vim.fn.bufnr()) end -function notes.open() +function notes.global() vim.cmd[config.open_cmd] { args = { config.data_path .. "/notes.md" }, bang = true,