All Projects → keith → Gist.vim

keith / Gist.vim

Licence: mit
Create gists from Vim

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Gist.vim

Nvim Config
我的neovim配置
Stars: ✭ 5 (-72.22%)
Mutual labels:  viml
Phpclassexplorer
Simple (and I mean SIMPLE) method explorer for vim
Stars: ✭ 6 (-66.67%)
Mutual labels:  viml
Vimpeg
A PEG parser for Vim
Stars: ✭ 16 (-11.11%)
Mutual labels:  viml
My.vimrc
Stars: ✭ 5 (-72.22%)
Mutual labels:  viml
Vim Textobj Help
Vim plugin: Text objects for Vim help documents
Stars: ✭ 5 (-72.22%)
Mutual labels:  viml
Vim Slantstatus
A segmented vim statusline plugin
Stars: ✭ 6 (-66.67%)
Mutual labels:  viml
Vim Colors Solarized
precision colorscheme for the vim text editor
Stars: ✭ 6,306 (+34933.33%)
Mutual labels:  viml
Vim Stim
StIm - Star Improved
Stars: ✭ 18 (+0%)
Mutual labels:  viml
Vim Operator Substitute
Vim-Plugin: Use :substitute like an operator
Stars: ✭ 6 (-66.67%)
Mutual labels:  viml
Rainbow parentheses.vim
Better Rainbow Parentheses
Stars: ✭ 892 (+4855.56%)
Mutual labels:  viml
Vim Terraform
basic vim/terraform integration
Stars: ✭ 5 (-72.22%)
Mutual labels:  viml
Pocket.vim
Stars: ✭ 5 (-72.22%)
Mutual labels:  viml
Dotfiles Windows
[pt-BR] meus dotfiles para windows
Stars: ✭ 7 (-61.11%)
Mutual labels:  viml
Vim Focusclip
Integrate vim and system clipboard without breaking your workflow.
Stars: ✭ 5 (-72.22%)
Mutual labels:  viml
Vim Nosecompiler
Vim Compiler file for the nose framework
Stars: ✭ 16 (-11.11%)
Mutual labels:  viml
Git Repo
Git-Repo: CLI utility to manage git services from your workspace
Stars: ✭ 818 (+4444.44%)
Mutual labels:  gist
Vim Pants
Vim plugin for Pants
Stars: ✭ 6 (-66.67%)
Mutual labels:  viml
Vimrc
Stars: ✭ 18 (+0%)
Mutual labels:  viml
Vim Diff Toggle
🛠 Vim plugin to speed up editing diff files
Stars: ✭ 17 (-5.56%)
Mutual labels:  viml
Easytags.vim
Automated tag file generation and syntax highlighting of tags in Vim
Stars: ✭ 15 (-16.67%)
Mutual labels:  viml

Gist.vim

Gist.vim, as expected, is a plugin for creating gists straight from Vim. It is also well documented.

Note: Gist.vim requires Vim to be compiled with +python3.

Usage

This plugin adds two commands:

:Gist [-pPao] [DESCRIPTION]
:GistOpenLast

The Gist command creates a gist from the buffer you're currently viewing. It uses the current filename and all of the content. If you would just like to post a portion of the content, invoke the :'<,'>Gist command with a visual selection.

Here are the flags you can use when calling :Gist. Any other trailing text will be used for the description. If you don't provide any other text you will be prompted for a description.

-P, --public: This creates a public Gist. This is the default.
            Set g:gist_default_private to change this default.

-p, --private: This creates a private gist. Public is the default.
              See g:gist_default_private to change this default.

-o, --open: Open the created Gist in the browser after it's created.
          This is on by default.
          See g:gist_open_url to change this default.

Credentials are pulled from your ~/.netrc file. They need to be in this format: (The URL can vary based on your g:gist_base_url)

machine api.github.com
  login <Username>
  password <Password>

If you're using two factor auth, provide a personal access token from here as the password.

By default the gist is opened in the browser upon creation. You can change this default by setting g:gist_open_url to 0.

If you don't have a preferred installation method check out vim-plug

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].