Hi!
First off, thanks for this plugin! I use it literally every day.
In telescope.nvim the commands are nested under :Telescope. This allows for an easier time finding and writing a command.
In obsidian.nvim, when I type :O and then hit tab it suggests:
ObsidianBacklinks
ObsidianCheck
etc.
It would make it easier to use the command line if you could work in the following way:
:O and hit tab, autocompleting it to :Obsidian.
:Obsidian ba and hit tab, autocompleting to :Obsidian backlinks
As mentioned, this is the way telescope.nvim works by providing a complete function to nvim_create_user_command. Like so code.
This does not have to be a breaking change. We could introduce a new command just called :Obsidian with the above mentioned properties.
Additional context
Obsidian.nvim today:
Telescope.nvim:
Would be happy to create a PR for this if it sounds interesting. 🚀
PS sorry for light-mode theme, it is sunny outside 😅
🚀 The feature, motivation and pitch
Hi! First off, thanks for this plugin! I use it literally every day.
In telescope.nvim the commands are nested under
:Telescope
. This allows for an easier time finding and writing a command. In obsidian.nvim, when I type:O
and then hit tab it suggests:It would make it easier to use the command line if you could work in the following way:
:O
and hit tab, autocompleting it to:Obsidian
.:Obsidian ba
and hit tab, autocompleting to:Obsidian backlinks
As mentioned, this is the way telescope.nvim works by providing a complete function to
nvim_create_user_command
. Like so code.This does not have to be a breaking change. We could introduce a new command just called
:Obsidian
with the above mentioned properties.Additional context
Obsidian.nvim today:
Telescope.nvim:
Would be happy to create a PR for this if it sounds interesting. 🚀
PS sorry for light-mode theme, it is sunny outside 😅