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