all repos

init.lua @ 0a5a034bd9e0a4f53d1f13c05e999ee184df046b

my nvim config
2 files changed, 2 insertions(+), 2 deletions(-)
refactor(notes): renaming
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2024-05-10 14:33:41 +0300
Parent: 3267499
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,