Awesome
twitter-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.