Skip to content

cirla/vim-giphy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

giphy.vim

Giphy in your vim.

Testimonials

  • "As an avid vim user, I'm all about productivity and ensuring that my hands never leave the keyboard. Therefore, I've always felt that leaving vim just to enjoy a humorous animated GIF is not worth my time. Thanks to vim-giphy, I can take very efficient breaks by summoning GIFs right inside of vim! Now my hands never leave the keyboard even during my breaks!" - Enraged Ginger

1. Dependencies

  • *nix(-like) OS (for mktemp, etc.)
  • webapi-vim
  • ffmpeg configured with --enable-libcaca

2. Demo

Demo

3. Installation

3.1 Install Prerequisites

3.1.1 ffmpeg

OS X
  1. Run brew install ffmpeg --with-libcaca
Plug/Vundle
  1. Add Plug 'mattn/webapi-vim' (or Plugin for Vundle) to your .vimrc and run +PlugInstall/+PluginInstall.
Pathogen
  1. cd ~/.vim/bundle && git clone [email protected]:mattn/webapi-vim.git

3.2 Install giphy.vim

Plug/Vundle/Pathogen

  1. Similar to installation of webapi-vim above, just replace repo name with 'cirla/vim-giphy'.
  2. If you have recieved a private Giphy API key, you can replace the public beta key in s:giphy_api_key.
  3. If you use a non-POSIX shell (e.g. fish), you'll have to edit the ffmpeg command or add set shell=/bin/bash in your .vimrc.

4. License and Attribution

This software is distributed under the MIT License.

Powered by Giphy

About

Giphy in your vim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published