fixed image support to my own Obsidian image directory

This commit is contained in:
The Menace Sauce 2026-02-09 15:21:01 -05:00
parent deebd9df10
commit 8e3b96e9b5
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{ {
"LuaSnip": { "branch": "master", "commit": "5a1e39223db9a0498024a77b8441169d260c8c25" }, "LuaSnip": { "branch": "master", "commit": "5a1e39223db9a0498024a77b8441169d260c8c25" },
"auto-session": { "branch": "main", "commit": "292492ab7af4bd8b9e37e28508bc8ce995722fd5" }, "auto-session": { "branch": "main", "commit": "dcbc339a1a0e6505f755d980ad11f892b6a8d492" },
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" }, "cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
"cmp-nvim-lsp": { "branch": "main", "commit": "cbc7b02bb99fae35cb42f514762b89b5126651ef" }, "cmp-nvim-lsp": { "branch": "main", "commit": "cbc7b02bb99fae35cb42f514762b89b5126651ef" },
"cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" }, "cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" },

View File

@ -67,7 +67,7 @@ return {
} }
}, },
telescope = { telescope = {
reverse = true, -- set to false for search bar to be on top reverse = true, -- set to false for search bar to be on top
layout = { layout = {
box = "horizontal", box = "horizontal",
backdrop = false, backdrop = false,
@ -125,7 +125,7 @@ return {
notify = true, notify = true,
command = "magick" command = "magick"
}, },
img_dirs = { "img", "images", "assets", "static", "public", "media", "attachments","Archives/All-Vault-Images/", "~/Library", "~/Downloads" }, img_dirs = { "img", "images", "assets", "static", "public", "media", "attachments","~Documents/Alibaba's Vault/Images", "~/Library", "~/Downloads" },
}, },
dashboard = { dashboard = {
enabled = true, enabled = true,
@ -148,16 +148,16 @@ return {
{ "<leader>lg", function() require("snacks").lazygit() end, desc = "Lazygit" }, { "<leader>lg", function() require("snacks").lazygit() end, desc = "Lazygit" },
{ "<leader>gl", function() require("snacks").lazygit.log() end, desc = "Lazygit Logs" }, { "<leader>gl", function() require("snacks").lazygit.log() end, desc = "Lazygit Logs" },
-- { "<leader>es", function() require("snacks").explorer() end, desc = "Open Snacks Explorer" }, -- { "<leader>es", function() require("snacks").explorer() end, desc = "Open Snacks Explorer" },
{ "<leader>rN", function() require("snacks").rename.rename_file() end, desc = "Fast Rename Current File" }, { "<leader>rN", function() require("snacks").rename.rename_file() end, desc = "Fast Rename Current File" },
{ "<leader>dB", function() require("snacks").bufdelete() end, desc = "Delete or Close Buffer (Confirm)" }, { "<leader>dB", function() require("snacks").bufdelete() end, desc = "Delete or Close Buffer (Confirm)" },
-- Snacks Picker -- Snacks Picker
{ "<leader>pf", function() require("snacks").picker.files() end, desc = "Find Files (Snacks Picker)" }, { "<leader>pf", function() require("snacks").picker.files() end, desc = "Find Files (Snacks Picker)" },
{ "<leader>pc", function() require("snacks").picker.files({cwd = vim.fn.stdpath("config") }) end, desc = "Find Config File" }, { "<leader>pc", function() require("snacks").picker.files({cwd = vim.fn.stdpath("config") }) end, desc = "Find Config File" },
{ "<leader>ps", function() require("snacks").picker.grep() end, desc = "Grep word" }, { "<leader>ps", function() require("snacks").picker.grep() end, desc = "Grep word" },
{ "<leader>pws", function() require("snacks").picker.grep_word() end, desc = "Search Visual Selection or Word", mode = {"n", "x" } }, { "<leader>pws", function() require("snacks").picker.grep_word() end, desc = "Search Visual Selection or Word", mode = {"n", "x" } },
{ "<leader>pk", function() require("snacks").picker.keymaps({ layout = "ivy" }) end, desc = "Search Keymaps (Snacks Picker)" }, { "<leader>pk", function() require("snacks").picker.keymaps({ layout = "ivy" }) end, desc = "Search Keymaps (Snacks Picker)" },
{ "<leader>gbr", function() require("snacks").picker.git_branches({ layout = "select" }) end, desc = "Pick and Switch Git Branches" }, { "<leader>gbr", function() require("snacks").picker.git_branches({ layout = "select" }) end, desc = "Pick and Switch Git Branches" },
{ "<leader>th", function() require("snacks").picker.colorschemes({ layout = "ivy" }) end, desc = "Pick Color Schemes"}, { "<leader>th", function() require("snacks").picker.colorschemes({ layout = "ivy" }) end, desc = "Pick Color Schemes"},
{ "<leader>vh", function() require("snacks").picker.help() end, desc = "Help Pages" }, { "<leader>vh", function() require("snacks").picker.help() end, desc = "Help Pages" },