TwitVim


Ⅰ. 插件描述

Twitter client for Vim

Ⅱ. 基本信息

创建日期:  2008-03-28
使用用户:  136
Github星:  86
插件作者:  Po Shan Cheah

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/twitvim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/twitvim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/twitvim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/TwitVim

Ⅳ. 文档说明

Introduction

TwitVim is a Vim plugin that allows you to post to Twitter and view Twitter timelines. It is an enhancement of vimscript #2124 by Travis Jeffery. Credit goes to Travis for the original script concept and implementation.

TwitVim supports most of the features of a typical Twitter client, including:

  • Friends, User, Direct Message, Mentions, and Favorites timelines
  • Twitter Search
  • Replying and retweeting
  • Hashtags (jump to search timeline)
  • In reply to (See which tweet an @-reply is for.)
  • Opening links in a browser
  • User profile display
  • Twitter List viewing and managing
  • Trending topics
  • Timeline filtering

Usage

Plugin commands:

  • :PosttoTwitter - This command will prompt you for a message to send to Twitter.
  • :CPosttoTwitter - This command posts the current line in the current buffer to Twitter.
  • :BPosttoTwitter - This command posts the current buffer to Twitter.
  • :FriendsTwitter - View friends timeline.
  • :UserTwitter - View your timeline.
  • :MentionsTwitter - View @-mentions.
  • :PublicTwitter - View public timeline.
  • :DMTwitter - View direct messages.
  • :SearchTwitter - Use Twitter Search.

Global mappings:

  • Alt-T - In Visual select mode, the Alt-T key posts the selected text to Twitter. Use this mapping if you compose your tweets in a separate scratch buffer.
  • Ctrl-T - Use this instead if the menu bar is enabled or if Alt-T is not available on your platform.

Timeline buffer mappings:

  • Alt-R or <Leader>r - Starts a @-reply. (in timeline buffer)
  • Alt-D or <Leader>d - Starts a direct message. (in timeline buffer)

Many more commands and mappings are available. See TwitVim's help documentation for full details.


License

TwitVim is distributed under the same terms as Vim itself. See :help license.


Contact

添加新评论