Awesome
Neovim Utilities for Alfred
Search neovim plugins and online :help of Neovim and plugins via Alfred.
Commands
:h
: Searches the Neovim online :help.- Groups synonyms together, for example,
:w
and:write
both get one item. - <kbd>⏎</kbd>: Open the respective help.
- <kbd>⌥⏎</kbd>: Copy the help URL to the clipboard.
- Groups synonyms together, for example,
vp
: Searches awesome-neovim for Neovim plugins. Mnemonic:[v]im [p]lugins
.- <kbd>⏎</kbd>: Open the GitHub repo.
- <kbd>⌘⏎</kbd>: Open the
:help
in the browser (vimdoc converted to HTML). - <kbd>⌥⏎</kbd>: Copy the GitHub URL to the clipboard.
ip
: Search for plugins (and Mason tools) installed locally on your device. Mnemonic:[i]installed [p]lugins
.- The modifiers (<kbd>⌘⌥⌃⇧</kbd>) from the plugin-search also apply for this command.
- In addition, <kbd>fn⏎</kbd>: Open the local directory of the plugin in Finder.
mason
: Search for tools available via mason.nvim.:old
: Displays and searches your:oldfiles
. Opens them in the system's default editor for the respective filetype. (To open them directly in Neovim, you need a Neovim GUI withOpen With…
capability, such as Neovide.)
[!NOTE] All keywords are customizable in the workflow settings.
Installation
- Requirements: Alfred 5.5 (macOS only) with Powerpack.
- Download the latest release from the Alfred Gallery.
- For the preview pane, install alfred-extra-pane.
Preview pane configuration
The demo screenshot uses the following configuration for the preview pane:
[
{
"workflowUID": "*",
"alignment": {
"horizontal": { "placement": "right", "width": 450, "minHeight": 750 }
}
}
]
Credits
- Plugin database provided by awesome-neovim.
- Vimdoc to HTML conversion by @xaizek.
- Preview pane by @mr-pennyworth.
About the developer
In my day job, I am a sociologist studying the social mechanisms underlying the digital economy. For my PhD project, I investigate the governance of the app economy and how software ecosystems manage the tension between innovation and compatibility. If you are interested in this subject, feel free to get in touch.
I also occasionally blog about vim: Nano Tips for Vim
<a href='https://ko-fi.com/Y8Y86SQ91' target='_blank'> <img height='36' style='border:0px;height:36px;' src='https://cdn.ko-fi.com/cdn/kofi1.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>