chrisgrieser/alfred-neovim-utilities

github github
externalos-specific
stars 24
issues 0
subscribers 1
forks 1
CREATED

2022-11-27

UPDATED

yesterday


Neovim Utilities for Alfred

Download count Last release version

Search neovim plugins and online :help via Alfred.

Demo 1 Demo 2

Features

  • :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 neovimcraft for neovim plugins. Mnemonic: [v]im [p]lugins.
    • ⏎: Open the GitHub repo.
    • ⌘⏎: Open the :help page of the plugin at GitHub.
    • ⌥⏎: Copy the GitHub URL to the clipboard.
    • ⇧⏎: Search GitHub issues of the plugin.[^1]
  • 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 though.)
  • :nvim: Creates the local cache for the online :help search. Run it once in a while, when there have been updates to the online docs.

Note
All keywords are customizable in the settings.

Installation

Requirements: Alfred 5 (macOS only) with Powerpack.

  1. Download the latest release from the Alfred Gallery.
  2. Run :nvim once to create the local cache for the online :help search. This may take up to a minute.

Credits

Thanks

About me
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.

[^1]: Due to GitHub API limitations, this searches only the latest 100 issues.