Ⅰ. 插件描述
Chatter client for VimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'neco-/chattervim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'neco-/chattervim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'neco-/chattervim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/neco-/chattervim
Ⅳ. 文档说明
ChatterVim
Chatter client for Vim.
first, you need to authorize ChatterVim to access chatter resources.
- access an URL shown by ChatterVim in your browser.
- login chatter site and allow ChatterVim to access.
- after allowing, copy a redirected URL in address bar of you browser and paste to ChatterVim.
settings:
" set command to launch browser
let g:chatter_browser_cmd = 'cygstart firefox.exe'
" set proxy if you need
let g:chatter_proxy = 'proxy_url:port'
commandline commands:
:ChatterGetFeeds
:ChatterGetFeedsToMe
:ChatterGetFeedsCompany
:ChatterPostFeeds
buffer commands:
\c -> post comment to a feed under the cursor
\l -> post likes to a feed under the cursor
\L -> delete likes to a feed under the cursor
\u -> show a timeline of user under the cursor