sponsor Vim development Vim logo go to HTTPS page Vim Book Ad

Twitter : A simple client for Twitter

 script karma  Rating 240/348, Downloaded by 3508    Comments, bugs, improvements  Vim wiki

created by
Amir Mohammad Saied
script type
It's just a simple client for Twitter, if you want to update your Twitter status, check public timeline or your friends timeline all right from within your Vim, then this script is for you!

NOTE: It requires your Vim to be compiled with Python bindings (which is, in most distributions by default)
install details
Extract the tarball into your ~/.vim/plugin
In order to update your status or fetch your friends time line you have to set your Twitter accounts username/password pair, you can set them using:

:let g:twitterusername='username'
:let g:twitterpassword='password'

or put 'em in your ~/.vimrc

USER NOTES (useful tips from a user of this script):
Here's what I added to my _vimrc:

" helpful mappings for using twitter.vim
" see http://vim.sourceforge.net/scripts/script.php?script_id=1853

let g:twitterusername='username'
let g:twitterpassword=''

map <unique> <eader>tp <Esc>:let g:twitterpassword=inputsecret('password? ')<cr>
map <unique> <eader>tw <Esc>:execute 'TwitterStatusUpdate ' . inputdialog('Enter a Twitter status message:')<cr>
map <unique> <eader>tf <Esc>:TwitterFriendsTimeline<cr>

tp will prompt you for your twitter password so you don't have to hardcode it in a file, tw will prompt you for your status message and tf will list your friend's twitters.

Rating scripts is only available on the HTTPS page

script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
twitter.tar.gz 0.2 2008-04-17 6.0 Amir Mohammad Saied Source fixed, now you would get "from VimScript#1853" appended to your status updates.
twitter.tar.gz 0.1.1 2007-04-05 6.0 Amir Mohammad Saied BUGFIX: It's now possible to pass statuses containing ' (single-quotation)
(Thanks to Armen Baghumian)
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo