Skip to content
Tweet from inside vim!
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
plugin
LICENSE
README.md
TODO.md
vim-twitter-screenshot.png

README.md

twitter-vim

Displaying Cher's tweets in vim.

Installation

For vim-plug, add the following to your ~/.vimrc:

Plug 'vmchale/twitter-vim'

You'll have to install the Haskell CLI tool, viz.

cabal new-install tweet-hs

You can also download it for linux from here; hopefully it shouldn't be too hard to find.

Config

After that, put your API keys in a file (default ~/.cred.toml or set path with g:twitter_cred), viz.

api-key = "API_KEY_HERE"
api-sec = "API_SECRET_HERE"
tok = "OAUTH_TOKEN_HERE"
tok-sec = "TOKEN_SECRET_HERE"

Use

To view your timeline, use :Timeline or <silent> tl. To tweet, enter :Tweet to open a scratch buffer, and then t in normal mode to tweet its contents. Hit q to exit.

You can’t perform that action at this time.