sponsor Vim development Vim logo Vim Book Ad

Fanfou.vim : This is a Vim plugin for Fanfou (饭否)

 script karma  Rating 14/5, Downloaded by 1576  Comments, bugs, improvements  Vim wiki

created by
Vincent T.
 
script type
utility
 
description
The fanfou.vim plugin is a simple UNOFFICIAL client for Fanfou.com (饭否), it allows you
to check timeline and update status via Vim.

NOTE: fanfou.vim requires Vim to be compiled with Python bindings.
              It needs Vim with Python3 bindings after v0.50.


This plugin defines four commands:

    FanTimeline - View latest timeline from Fanfou in preview window
    FanUpdate - Update status in command line
    FanUpline - Send the line which is cursor on
    FanRT - Retweet the line which is cursor on

Default key mappings:

    <leader>fft is mapped to FanTimeline,
    <leader>ffu is mapped to FanUpdate,
    <leader>ffs is mapped to FanUpline.
    <leader>ffr is mapped to FanRT.

See more help information in source code.


Links:

    * Github https://github.com/Vayn/Fanfou
 
install details
Extract the zipfile and place the file as follows:

>
    <your runtime directory>/plugin/fanfou.vim
    ...
<

In order to communicate with Fanfou you have to set your Fanfou account,
you can set them using:

    let g:fanfou_login = "Username:Password"

or add this into your ~/.vimrc
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
fanfou_0.50.zip 0.50 2011-08-21 7.0 Vincent T. * Use Python3 bindings instead of Python2.
* Optimize the code.
fanfou_0.42.zip 0.42 2011-05-28 7.0 Vincent T. * New feature - RT a message
* Keyword highlight
* Press enter to copy link in the message
fanfou_0.3.1.zip 0.3.1 2011-05-26 7.0 Vincent T. * Use Python module urllib2 instead of cURL
* Minor code optimization
fanfou_0.2.0.zip 0.2.0 2011-05-25 7.0 Vincent T. Added "timeline window automatically closes" and "auto update"
fanfou_0.1.1.zip 0.1.1 2011-05-24 7.0 Vincent T. add source as app name in fanfou
ip used for rating: 216.73.216.130

Questions about Vim should go to the maillist. Help Uganda.     Vim at Github