Browse files

More readme

  • Loading branch information...
1 parent c4df62e commit 187e392db7b11cc1da00f0c75c34d81da2f5490e @kchmck committed Jul 7, 2011
Showing with 17 additions and 8 deletions.
  1. +17 −8
@@ -7,15 +7,24 @@ indenting, and compiling.
-### Installing and Using
+### Installing
1. Install [tpope's][tpope] [pathogen] into `~/.vim/autoload/` and add this line
to your `vimrc`:
call pathogen#runtime_append_all_bundles()
- To get the all the features of this plugin, make sure you also have a
- `filetype plugin indent on` line added **after** this call.
+ Be aware that it must be added before any `filetype plugin indent on`
+ lines according to the install page:
+ > Note that you need to invoke the pathogen functions before invoking
+ > "filetype plugin indent on" if you want it to load ftdetect files. On
+ > Debian (and probably other distros), the system vimrc does this early on,
+ > so you actually need to "filetype off" before "filetype plugin indent on"
+ > to force reloading.
+ To get the all the features of this plugin, be sure you do have a `filetype
+ plugin indent on` line.
@@ -90,12 +99,12 @@ with the `-b` option, but shows any errors:
autocmd BufWritePost *.coffee silent CoffeeMake! -b | cwindow
-#### Passing options on-the-fly
+#### Default compiler options
The `CoffeeMake` command passes any options in the `coffee_make_options`
-variable along to the compiler. This can be used to set options on-the-fly:
+variable along to the compiler. This can be used to set default options:
- :let coffee_make_options = "-n"
+ let coffee_make_options = "-n"
### Compiling a CoffeeScript Snippet
@@ -121,9 +130,9 @@ This scratch buffer can be quickly closed by hitting the `q` key.
The `CoffeeRun` command compiles the current file or selected snippet and runs
the resulting JavaScript. Output is shown at the bottom of the screen:
- ![CoffeeRun](
+ ![CoffeeRun](
- ![CoffeeRun Output](
+ ![CoffeeRun Output](
### Customizing

0 comments on commit 187e392

Please sign in to comment.