3 files changed,
7 insertions(+),
21 deletions(-)
Author:
Oleksandr Smirnov
olexsmir@gmail.com
Committed at:
2025-02-19 15:21:44 +0200
Parent:
90751b4
jump to
| M | lazy-lock.json |
| M | lua/plugins/orgmode.lua |
| M | lua/plugins/telescope.lua |
M
lazy-lock.json
@@ -1,5 +1,5 @@
{ - "CopilotChat.nvim": { "branch": "main", "commit": "b634f04ee275cba4870533a69b89054a7e1c1cb3" }, + "CopilotChat.nvim": { "branch": "main", "commit": "49aae4df360d4cbdb3fe6e12e2c101341442fe9a" }, "LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, "cmp-cmdline": { "branch": "main", "commit": "d250c63aa13ead745e3a40f61fdd3470efde3923" },@@ -12,7 +12,7 @@ "copilot.lua": { "branch": "master", "commit": "30321e33b03cb924fdcd6a806a0dc6fa0b0eafb9" },
"curl.nvim": { "branch": "main", "commit": "24cb78e7cadaeaab7cfe34347c93480f9a16d251" }, "fidget.nvim": { "branch": "main", "commit": "b61e8af9b8b68ee0ec7da5fb7a8c203aae854f2e" }, "friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" }, - "gitsigns.nvim": { "branch": "main", "commit": "c23bbd3ed2c7a3fdc3399e97e24f9e158f57612f" }, + "gitsigns.nvim": { "branch": "main", "commit": "6668f379ca634c36b8e11453118590b91bf8b295" }, "harpoon": { "branch": "harpoon2", "commit": "ed1f853847ffd04b2b61c314865665e1dadf22c7" }, "helpful.vim": { "branch": "master", "commit": "8c071a4528eca4f7ab4cf158b63e984500bdb2e1" }, "image.nvim": { "branch": "master", "commit": "6ffafab2e98b5bda46bf227055aa84b90add8cdc" },@@ -34,13 +34,13 @@ "nvim-cmp": { "branch": "main", "commit": "8c82d0bd31299dbff7f8e780f5e06d2283de9678" },
"nvim-lspconfig": { "branch": "master", "commit": "bf81bef7d75a0f4a0cf61462b318ea00b3c97cc8" }, "nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" }, "nvim-treesitter": { "branch": "master", "commit": "cfc6f2c117aaaa82f19bcce44deec2c194d900ab" }, - "nvim-treesitter-context": { "branch": "master", "commit": "821e5208353be1febf5dcbc1deb832a9d6f0fddc" }, + "nvim-treesitter-context": { "branch": "master", "commit": "198720b4016af04c9590f375d714d5bf8afecc1a" }, "nvim-treesitter-endwise": { "branch": "master", "commit": "cb718aab7fa66e43187674e875713097492a6618" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "1b212c2eee76d787bbea6aa5e92a2b534e7b4f8f" }, "nvim-web-devicons": { "branch": "master", "commit": "5b9067899ee6a2538891573500e8fd6ff008440f" }, "oil.nvim": { "branch": "master", "commit": "975a77cce3c8cb742bc1b3629f4328f5ca977dad" }, "org-bullets.nvim": { "branch": "main", "commit": "21437cfa99c70f2c18977bffd423f912a7b832ea" }, - "org-roam.nvim": { "branch": "main", "commit": "cf00a0b3797ee3370c2ca2bdedbc04b2f5309a1e" }, + "org-roam.nvim": { "branch": "main", "commit": "c32aa470a9f9c2aa9e63c91859b0425e45cb3d1d" }, "orgmode": { "branch": "master", "commit": "e42150494290ab3163d42c7df776d61d3e872265" }, "plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" }, "schemastore.nvim": { "branch": "main", "commit": "6d840a01545b9be71c45843f2aabcc384d4fafbf" },
M
lua/plugins/orgmode.lua
@@ -4,7 +4,7 @@ ---@param p string
---@param not_file? boolean ---@return string local function orgpath(p, not_file) - return orgdir .. p .. (not not_file and ".org" or "") + return vim.fs.joinpath(orgdir, p) .. (not not_file and ".org" or "") end ---@param act string@@ -15,21 +15,6 @@ return require("orgmode").action(act, opts or {})
end end -local function find_orgfiles() - require("telescope.builtin").find_files { - cwd = orgdir, - -- stylua: ignore - find_command = { - "fd", - "--type", "f", - "--exclude", "finance", -- idk why i store my ledger files in the same repo - "--exclude", "notes", -- i also store notes here now - "--exclude", "*.org_archive", - ".org", - }, - } -end - ---@type LazySpec return { "nvim-orgmode/orgmode",@@ -37,7 +22,6 @@ ft = "org",
keys = { "<leader>o", { "<leader>oo", ("<cmd>e " .. orgpath "refile" .. "<CR>") }, - { "<leader>so", find_orgfiles }, { "<leader>oc", action "capture.prompt" }, { "<leader>oa", action "agenda.prompt" }, },@@ -45,6 +29,7 @@ dependencies = {
{ "akinsho/org-bullets.nvim", config = true }, { "chipsenkbeil/org-roam.nvim", + version = false, keys = { "<leader>r" }, ---@module "org-roam" ---@type org-roam.config.Data
M
lua/plugins/telescope.lua
@@ -70,6 +70,7 @@ diagnostics = { theme = "ivy" },
spell_suggest = { theme = "ivy" }, git_branches = { theme = "ivy" }, git_commits = { theme = "ivy" }, + git_bcommits = { theme = "ivy" }, git_status = { theme = "ivy" }, lsp_definitions = { theme = "ivy" }, lsp_references = { theme = "ivy" },