obsidian: disable legacy commands

This commit is contained in:
2025-10-13 17:42:27 +03:00
parent d01d304a3e
commit 2178d4f312

View File

@@ -6,8 +6,8 @@ return {
'nvim-lua/plenary.nvim', 'nvim-lua/plenary.nvim',
}, },
keys = { keys = {
{ '<leader>ot', '<cmd>ObsidianToday<CR>', desc = "Open today's daily note" }, { '<leader>ot', '<cmd>Obsidian today<CR>', desc = "Open today's daily note" },
{ '<leader>os', '<cmd>ObsidianQuickSwitch<CR>', desc = 'Search notes in my vault and switch to selected' }, { '<leader>os', '<cmd>Obsidian quick_switch<CR>', desc = 'Search notes in my vault and switch to selected' },
}, },
mappings = { mappings = {
-- Overrides the 'gf' mapping to work on markdown/wiki links within your vault. -- Overrides the 'gf' mapping to work on markdown/wiki links within your vault.
@@ -33,6 +33,7 @@ return {
}, },
}, },
opts = { opts = {
legacy_commands = false,
workspaces = { workspaces = {
{ {
name = 'tech-work-hobby', name = 'tech-work-hobby',
@@ -51,7 +52,10 @@ return {
completion = { completion = {
blink = true, blink = true,
nvim_cmp = false, nvim_cmp = false,
} },
ui = {
enable = false,
},
}, },
} }