finds.dev← search

// the find

mattn/vim-gist

★ 1,690 · Vim Script · updated Apr 2026

Vim plugin for Gist

vim-gist is a Vimscript plugin by mattn (prolific Vim ecosystem contributor) that lets you post, edit, list, and delete GitHub Gists without leaving Vim. It covers the full Gist API surface — private, public, anonymous, multi-file, forking, starring — through a single `:Gist` command with flags.

The command interface is genuinely well-designed: flag composition (`:Gist -e -s description`) is consistent and predictable. GitHub Enterprise support via `g:gist_api_url` means it works in corporate environments without patching. The listing buffer with keyboard mappings (open, paste into current buffer, yank) makes it actually useful as a snippet retrieval tool, not just a posting shortcut. OAuth token flow stores a token rather than your password, which is the right call.

Depends on `curl` as an external process and `webapi-vim` as a separate plugin — two runtime dependencies for what is ultimately a few HTTP calls; modern Neovim users would expect a Lua plugin using the built-in HTTP client. The install instructions still reference Vundle and NeoBundle, both abandoned; no mention of lazy.nvim or vim-plug. Authentication via GitHub's legacy OAuth device flow may break if GitHub deprecates it further — there's no PAT-only path documented. Neovim users report compatibility issues that haven't been systematically addressed since the codebase is pure Vimscript with no Lua bridge.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →