jgoerzen / twidge

Command-line twitter/identica client [Haskell]
http://wiki.github.com/jgoerzen/twidge/
GNU General Public License v2.0
220 stars 30 forks source link

some features request... #16

Open murrayf opened 13 years ago

murrayf commented 13 years ago

Hello,

I'd like twidge be able to:

Thanks a lot.

leomeloxp commented 13 years ago

I would like to see that too. Thanks =P

jeancventura commented 12 years ago

I would like this too. Will try to implemented, wish me luck.

jean commented 12 years ago

Use different colors <-- I'd prefer vim syntax highlighting. Pull tweets into a vim buffer and let it color them.

arpunk commented 12 years ago

@jean sounds awesome, could you post some hints or modify the Tips & Tricks page to reflect that setup?

jean commented 12 years ago

At the moment I just do :r! twidge lsrecent -asul in my TwitterLog file. And then munge it using this command:

:%s?^\(\d\+\t\)\(\S\+\)\t\+?http://twitter.com/\2/status/\1

I'm doing this in the context of vimwiki (http://code.google.com/p/vimwiki/), so I get highlighting of URLs, and can turn any bit of a tweet into a link to a wiki page. Many hashtags and usernames are already WikiWords, so they can be turned into a link by just hitting return. They're natural handles to add context or organize information around tweets and tweeps.

I haven't bothered with a syntax file, but I'd like one which hides everything but the username from the URL. I'd also prefer the timestamp in more compact ISO8601 format.

overflow commented 11 years ago

Use sed

twidgle lsrecent | sed -e "s/@[0-9a-zA-Z_\-]*/\x1b[40m\x1b[1;32m&\x1b[0m/"|  sed -e "s/#[a-zA-Z]*/\x1b[41m&\x1b[37m\x1b[0m/"