Skip to content

Commit

Permalink
Change README and documentation to better text flow
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Nov 7, 2011
1 parent 2c417da commit a5564f3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions README.md
@@ -1,15 +1,17 @@
# RTF Pygmentize # Vim RTF Pygmentize


This plugin is used to syntax highlight pieces of code to RTF and it automatically copies it to the OSX clipboard. This Vim plugin is used to syntax highlight pieces of code to RTF and it automatically copies it to
This was basically done to scratch an itch while building my keynote presentations. the OSX clipboard.


This plugin is basically a wrapper around [pygments](http://pygments.org/) library. It is basically a wrapper around [pygments](http://pygments.org/) library, and was created to
scratch an itch while building 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 others systems For now, this plugin only works on MacOS X but I would be grateful if someone make it works in
others systems.


To use it we 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:


``` ```
easy_install pygments easy_install pygments
Expand All @@ -20,7 +22,7 @@ easy_install pygments
You can configure this plugin using two options: You can configure this plugin using two options:


```vim ```vim
" Are valid options: 'default', 'emacs', 'friendly' and 'colorful' " Valid options are: 'default', 'emacs', 'friendly' and 'colorful'
let g:rtfp_theme = 'emacs' let g:rtfp_theme = 'emacs'
``` ```


Expand Down
2 changes: 1 addition & 1 deletion plugin/rtf_pygmentize.vim
Expand Up @@ -5,7 +5,7 @@
" This program is under a MIT License " This program is under a MIT License


" syntax theme " syntax theme
" Are valid options: 'default', 'emacs', 'friendly' and 'colorful' " Valid options are: 'default', 'emacs', 'friendly' and 'colorful'
if !exists('g:rtfp_theme') if !exists('g:rtfp_theme')
let g:rtfp_theme = 'default' let g:rtfp_theme = 'default'
end end
Expand Down

0 comments on commit a5564f3

Please sign in to comment.