GitXplorerGitXplorer
m

GIFL

public
4 stars
1 forks
0 issues

Commits

List of commits on branch main.
Unverified
23795b3bdc4866fe9dcb8f7900409f78dbbccd68

Added Ruby compilation check at the top of the plugin

mmutewinter committed 12 years ago
Unverified
b354411d97df519d03d8943067d16805c5692154

A minor rewrite to make it function on my vim

mmutewinter committed 12 years ago
Unverified
edee7d866cdf38a90163177eda595d90e9fbefeb

Helpdoc

committed 12 years ago
Unverified
e6d41ee67bda1fd508afb1daf3f8f029608a4f60

Helpdoc

committed 12 years ago
Unverified
ae0f3c637f9491872d67a6e7a4e369b30beacaf7

Merge branch 'master' of github.com:sgharms/GIFL

committed 13 years ago
Unverified
fab89e1851972f71c9d7b74f367285e6924edcb0

Use return not finish

committed 13 years ago

README

The README file for this repository.

Gifl: Google I'm Feeling Lucky URL Grabber

Textmate sure was a swift kick in the ass for a lot of the editors: bundles, integration, carpal-crucifying key bindings? Yet the old ways remain seductive and in the expanse between Textmate 1.0 and Textmate 2.0 alpha, many found themselves picking up the tried-and-true editors and moving them to meet up with features they liked about Textmate.

Lack of this feature was keeping my friend Daniel Miessler from converting to Vim as his blogging platform -- no more!

This plugin wraps a term set in a URL derived from the term's "I'm feeling lucky" URL. This is great for blogging or referencing known / famous URL identities.

Configuration

g:LuckyOutputFormat : set to "markdown" or "html" for link formatting

Examples

Notation

  • is \
  • * is cursor position
  • | | denote visual selection areas

OK, the examples already

*lindsay lohan
\gifl2e
[lindsay lohan](http://www.myspace.com/lindsaylohan*)

alternatively:

*Zooey Deschanel  # v2e
|Zooey Deschanel| # \gifl
[Zooey Deschanel](http://en.wikipedia.org/wiki/Zooey_Deschanel*)

If you like angle brackets:

:let g:LuckyOutputFormat='html'
*Bazinga!  # \gifl$
<a href=http://www.urbandictionary.com/define.php?term=bazinga>Bazinga!</a>

Installation

I'm using this with Janus by Yehuda and Carl so installation was super-easy:

`cd ~/.janus`
`git submodule add git://github.com/sgharms/GIFL.git gifl`

Restart Janus and you're good to go.

Status

Very, very, very alpha. Report issues here for me to repair.

Author

Steven G. Harms (@sgharms)

Thanks

Steve Losh: Author of Learn Vimscript the Hard Way, which I cribbed from to get this working.