Skip to content

Commit

Permalink
Merge pull request rafaelfranca#1 from rodrigoflores/master
Browse files Browse the repository at this point in the history
Some english revision on readme
  • Loading branch information
rafaelfranca committed Nov 7, 2011
2 parents a5564f3 + b715536 commit 67c91fd
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions README.md
@@ -1,25 +1,29 @@
# Vim RTF Pygmentize # Vim RTF Pygmentize


This Vim plugin is used to syntax highlight pieces of code to RTF and it automatically copies it to Suppose you will write a presentation using Keynote and needs to converts chunks of code to Keynote without losing
syntax highlighting. This plugins helps you with that: it converts pieces of code to RTF and copies it to
the OSX clipboard. the OSX clipboard.


It is basically a wrapper around [pygments](http://pygments.org/) library, and was created to It is basically a wrapper around [pygments](http://pygments.org/) library, and was created to
scratch an itch while building my keynote presentations. help me adding chunks of code to my keynote presentations.


## Dependencies ## Dependencies


For now, this plugin only works on MacOS X but I would be grateful if someone make it works in For now, this plugin only works on OS X but I would be grateful if someone make it works in
others systems. another systems.


To use it you will need the pygments library. To install use the easy_install package manager with: To use it you will need the pygments library. To install use the easy_install package manager with:


Before installing this plugin itself, you need to install the pygments library. Do this using this command:

``` ```
easy_install pygments easy_install pygments
``` ```


## Configuration ## Configuration


You can configure this plugin using two options:
There is two available options to configure this plugin:


```vim ```vim
" Valid options are: 'default', 'emacs', 'friendly' and 'colorful' " Valid options are: 'default', 'emacs', 'friendly' and 'colorful'
Expand All @@ -34,7 +38,7 @@ let g:rtfp_font = 'Monaco'


## Usage ## Usage


To highlight a file, simply use: To highlight a file, you can use this:


```vim ```vim
:RTFPygmentize :RTFPygmentize
Expand All @@ -46,7 +50,7 @@ You can also specify the language to use on highlight with:
:RTFPygmentize <lang> :RTFPygmentize <lang>
``` ```


It also works on visual selections. It also works with visual selections.


## Inspiration ## Inspiration


Expand Down

0 comments on commit 67c91fd

Please sign in to comment.