Skip to content

Commit 0f27a4b

Browse files
authored
Merge pull request #31 from dvzrv/readme-dependency-fix
README.md cleanup and fixes
2 parents 9241913 + 544d2da commit 0f27a4b

1 file changed

Lines changed: 17 additions & 24 deletions

File tree

README.md

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,26 @@
11
SCVim (> 3.5)
22
==============
33

4-
A vim plugin for supercollider.
4+
A vim plugin for supercollider (tested on Linux and Mac OSX).
55

66
This is based of the original [scvim by Alex Norman](http://www.x37v.info/scvim/).
77

88
Features
9+
--------
910

1011
* Syntax Highlighting
1112
* A faked REPL via the terminal
1213
* Code Navigation (jump to definitions) via a global tags file "~/.sctags"
1314
* Auto-Completion of known words via tag completion
1415
* Launch the SuperCollider QT Help System
1516

17+
Requirements
18+
------------
19+
20+
* ruby
21+
* supercollider >= 3.9 (for current **master** - [Linux only](https://github.com/supercollider/scvim/issues/27))
1622

17-
Installation:
23+
Installation
1824
------------
1925

2026
### `scvim` plugin installation
@@ -33,27 +39,14 @@ theory cover all use-cases for the above plugin managers).
3339

3440
### `SCVim.sc`
3541

36-
If your SuperCollider version was not build with vim support (i.e. if the class
37-
`SCVim` does not exist), you'll need to either symlink `sc/SCVim.sc` somewhere
38-
where SuperCollider can find it (typically that would be in `Platform.userExtensionDir`
39-
from within SuperCollider), either add (the absolute path to) `scvim/sc` to
40-
`includePaths:` in your `sclang_conf.yaml`.
41-
42-
The rest should work automatically for **mac** users.
43-
44-
### Linux notes
42+
If your SuperCollider version was not build with vim support (i.e. the class
43+
`SCVim` does not exist yet), you'll need to either symlink `sc/SCVim.sc`
44+
somewhere where SuperCollider can find it (typically that would be in
45+
`Platform.userExtensionDir` from within SuperCollider), or add (the absolute
46+
path to) `scvim/sc` to `includePaths:` in your `sclang_conf.yaml`.
4547

46-
On **Linux** and other unix systems the vim variable `g:sclangTerm` should be
47-
set in your `.vimrc` file to let the plugin know which terminal application
48-
should it use for launching sclang. Please, read on the next section for more
49-
details.
50-
51-
Also, if Ruby is not installed on your linux system, install it with:
52-
53-
`sudo apt-get install ruby` or `sudo yum install ruby`
54-
55-
Plugin configuration:
56-
---------------------
48+
Configuration
49+
-------------
5750

5851
### ENV variables:
5952

@@ -89,8 +82,8 @@ If for some reason vim can't find the path to the two launch scripts
8982
let g:sclangPipeApp = "~/.vim/bundle/scvim/bin/start_pipe"
9083
let g:sclangDispatcher = "~/.vim/bundle/scvim/bin/sc_dispatcher"
9184

92-
Using it:
93-
--------
85+
Usage
86+
-----
9487
To start open a file with the right extension :e foo.sc(d)
9588
Enter `:SClangStart` and a terminal should open with a running sclang session.
9689

0 commit comments

Comments
 (0)