Skip to content

Search neovim plugins and online :help of Neovim and plugins via Alfred.

License

Notifications You must be signed in to change notification settings

chrisgrieser/alfred-neovim-utilities

Repository files navigation

Neovim Utilities for Alfred

GitHub Downloads Alfred Gallery Downloads Latest Release

Search neovim plugins and online :help of Neovim and plugins via Alfred.

Showcase help search Showcase plugin search

Commands

  • :h: Searches the Neovim online :help.
    • Groups synonyms together, for example, :w and :write both get one item.
    • : Open the respective help.
    • ⌥⏎: Copy the help URL to the clipboard.
  • vp: Searches awesome-neovim for Neovim plugins. Mnemonic: [v]im [p]lugins.
    • : Open the GitHub repo.
    • ⌘⏎: Open the :help in the browser (vimdoc converted to HTML).
    • ⌥⏎: 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 (⌘⌥⌃⇧) from the plugin-search also apply for this command.
    • In addition, fn⏎: 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 with Open With… capability, such as Neovide.)

Note

All keywords are customizable in the workflow settings.

Installation

Preview pane configuration

The demo screenshot uses the following configuration for the preview pane:

[
	{
		"workflowUID": "*",
		"alignment": {
			"horizontal": { "placement": "right", "width": 450, "minHeight": 750 }
		}
	}
]

Credits

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

Buy Me a Coffee at ko-fi.com