Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add instructions for using with Vim (issue #11)

  • Loading branch information...
commit c8d2cc692d904a98eb1d05281e9e1a3117a8eae5 1 parent b211c82
@mdr authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 README.rst
9 README.rst
@@ -105,6 +105,15 @@ See Mads Jensen's Scala TextMate bundle:
Reformat using Ctrl-Shift-H.
+Use with Vim
+While there is no specific Vim integration at present, you can use
+Scalariform as an external formatter for the ``gq`` command by adding
+the following to ``.vimrc`` ::
+ au BufEnter *.scala setl formatprg=scala\ -cp\ /path/to/scalariform_2.8.0-0.0.8.jar\ scalariform.commandline.Main
Command line tool
Please sign in to comment.
Something went wrong with that request. Please try again.