All Projects → lambdalisue → Vim Gista

lambdalisue / Vim Gista

Licence: other
An alternative gist.vim, vim plugin which manipulate gists in Vim.

Projects that are alternatives of or similar to Vim Gista

Vime
vime, an easy and structural config for (neo)vim users
Stars: ✭ 136 (-12.26%)
Mutual labels:  neovim
Django Plus.vim
🎸 Improvements to the handling of Django related files in Vim
Stars: ✭ 145 (-6.45%)
Mutual labels:  neovim
Dotfiles
📍 My dotfiles for macOS using Fish/Zsh, Neovim, and Tmux
Stars: ✭ 151 (-2.58%)
Mutual labels:  neovim
Coc Highlight
Document highlight and document colors LSP support for coc.nvim
Stars: ✭ 140 (-9.68%)
Mutual labels:  neovim
Coc Todolist
[Deprecated due to an unfixable bug and crappy design]🕐 Todolist/task manager extension for (Neo)Vim
Stars: ✭ 144 (-7.1%)
Mutual labels:  neovim
Acid.nvim
Asynchronous Clojure Interactive Development
Stars: ✭ 147 (-5.16%)
Mutual labels:  neovim
Coc Yank
Yank highlight and persist yank history support for vim
Stars: ✭ 134 (-13.55%)
Mutual labels:  neovim
Nvcode
An IDE layer for Neovim with sane defaults. Completely free and community driven.
Stars: ✭ 6,714 (+4231.61%)
Mutual labels:  neovim
Vim Bootstrap
Vim Bootstrap is a generator that provides a simple method of generating a configuration for vim / neovim.
Stars: ✭ 1,870 (+1106.45%)
Mutual labels:  neovim
Dotfiles
~ 🍭 ~
Stars: ✭ 147 (-5.16%)
Mutual labels:  neovim
Tree.nvim
Neovim file-explorer powered by C++
Stars: ✭ 140 (-9.68%)
Mutual labels:  neovim
Coc Vetur
Vue language server extension for coc.nvim
Stars: ✭ 142 (-8.39%)
Mutual labels:  neovim
Dotfiles
Dotfiles (macOS, stow, brew, yabai, nvim, kitty, tmux)
Stars: ✭ 146 (-5.81%)
Mutual labels:  neovim
Gist Reveal
Gist-powered Revealjs slides
Stars: ✭ 138 (-10.97%)
Mutual labels:  gist
Gist
Gist command line interface
Stars: ✭ 152 (-1.94%)
Mutual labels:  gist
Dots
Personal *nix configuration files
Stars: ✭ 136 (-12.26%)
Mutual labels:  neovim
Vscode Gist
vscode extension for quick gists
Stars: ✭ 146 (-5.81%)
Mutual labels:  gist
Browse At Remote
Browse target page on github/bitbucket from emacs buffers
Stars: ✭ 155 (+0%)
Mutual labels:  gist
Plenary.nvim
plenary: full; complete; entire; absolute; unqualified. All the lua functions I don't want to write twice.
Stars: ✭ 150 (-3.23%)
Mutual labels:  neovim
Iris.vim
📫 Simple mail client for Vim.
Stars: ✭ 148 (-4.52%)
Mutual labels:  neovim

vim-gista

Travis CI AppVeyor Version 2.5.0 Support Vim 7.4.2137 or above MIT License Doc Powered by vital.vim

Screenshot

vim-gista is a plugin for manipulating Gist in Vim. It provide the following features:

  • List gists of a particular lookup
  • List commits of a gist
  • Open a gist as a JSON file
  • Open a file of a gist
  • Post a content of the current buffer
  • Patch a content of the current buffer to a gist
  • Rename files in a gist
  • Remove files in a gist
  • Delete a gist
  • Star/Unstar a gist
  • Fork a gist

Requirements

One of the following is required for communicating with Gist API.

  • Vim compiled with +python (Recommended)
  • cURL
  • wget

To enable fast feching in :Gista-list, you need a Vim compiled with +python or +python3. Note that Vim compiled with +python3 without cURL or wget is not supported for now. The recommended environment is a Vim compiled with +python or a Vim compiled with +python3 with cURL or wget.

Install

Use dein.vim or vim-plug as:

" vim-plug
Plug 'lambdalisue/vim-gista'

" dein.vim
call dein#add('lambdalisue/vim-gista')

" dein.vim (Lazy)
call dein#add('lambdalisue/vim-gista', {
    \ 'on_cmd': 'Gista'
    \})

Or install the repository into your runtimepath manually.

Usage

First of all, specify your GitHub username into g:gista#client#default_username or use $ git config github.user {USERNAME} to record it into your .gitconfig file then vim-gista automatically resolve your github username from your .gitconfig file. vim-gista support an anonymous access but authorization is strongly recommended due to the GitHub API rate-limit.

After that, execute :Gista list. It will request all your gists and show gista-list window which looks like:

  ┌ API name
  │       ┌ Lookup
  │       │                  ┌ The current mode
  │       │                  │
GitHub:lambdalisue | Mode: updated_at | Press ? to toggle a ma...
- 15/12/31(07:08:22)   [3] test.vi... gistid:bb408da1b3fb100d6c1a
= 15/12/27(17:58:56) * [2] benchma... gistid:c84fe3e0b306a2bc8578
│       │            │  │     │                     │
│       │            │  │     │                     └ GistID
│       │            │  │     └ Description
│       │            │  └ The number of files
│       │            └ Is starred marker (*: starred)
│       └ A created_at/updated_at of the gist (depends on the Mode:)
└ Fetched marker (-: Unfetched, =: fetched)

In gista-list window, you can check the mappings by hitting ?. See :help vim-gista-usage for more detail.

Harmonic plugins

You may want to checkout the following harmonic plugins:

Let me know if you make a harmonic plugin ;-)

For users who use a previous version (v0.1.18)

Most of features, commands, or options are drastically changed from a previous version (v0.1.18). See Migration from v1 to v2 or use v0.1.18 tag for instance.

License

The MIT License (MIT)

Copyright (c) 2014-2016 Alisue, hashnote.net

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

External vital modules used in this plugin

vim-gista is powered by the following external vital modules.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].