ktr0731 / tweet.nvim

A simple Neovim remote plugin for Twitter written in Python3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tweet.nvim

MIT License
English | 日本語

A simple Neovim remote plugin for Twitter written in Python3

===

Equipments

  • Python3
  • pip3

Installation

vim-plug

Plug 'lycoris0731/tweet.nvim', { 'do': 'make' }

make is executed when install this plugin.
Then, tweet.nvim install dependency packages using by pip3.

Setup

You have to set some environment variables before use this.
You can register Twitter Apps from https://apps.twitter.com/.

export TWEET_NVIM_CONSUMER=''
export TWEET_NVIM_CONSUMER_SECRET=''
export TWEET_NVIM_ACCESS_TOKEN=''
export TWEET_NVIM_ACCESS_TOKEN_PRIVATE=''

Usage

:TweetNvimHomeTimeline

Open home timeline.
If home timeline already opened, fetch latest tweets and show.

:TweetNvimMentionsTimeline

Open the timeline about mentions to me.
If already opened, fetch latest tweets and show.

:TweetNvimShowLists

Show lists.

:TweetNvimTimeline name

Open timeline correnponding to name.
If already opened, fetch latest tweets and show.

:TweetNvimTweet [line...]

Do tweet based on arguments.
Each lines are separated by break lines.

:TweetNvimRetweet 

Do retweet a tweet that on the cursor of Neovim.

:TweetNvimLike

Do like a tweet that on the cursor of Neovim.

:TweetNvimReply [line...]

Do reply to a tweet that on the cursor of Neovim.

License

Please see LICENSE.

About

A simple Neovim remote plugin for Twitter written in Python3

License:MIT License


Languages

Language:Python 98.9%Language:Makefile 1.1%