@@ -27,7 +27,7 @@ Installation
2727### ` scvim ` plugin installation
2828
2929It is highly recommended to use either Vim 8+'s native ` packages ` or a plugin
30- manager to install ` scvim ` .
30+ manager to install ` scvim ` .
3131
3232The most common package manager addons are:
3333
@@ -91,20 +91,14 @@ Path to the tags file
9191
9292The following variables are available for configuration in your ` .vimrc ` file:
9393
94- * ` g:sclangTerm ` : Command to open a terminal window. Defaults to `"open -a
95- Terminal.app"` on OSX, and ` "x-terminal-emulator -e $SHELL -ic"` on Linux.
96- On some Linux systems this value may need to changed.
97- * ` g:sclangPipeApp ` : Absolute path to the plugin ** start_pipe** script. (Default
98- ` "~/.vim/bundle/scvim/bin/start_pipe" ` )
99- Change it if you have installed the plugin in other location.
100- * ` g:sclangDispatcher ` : Absolute path to the plugin ** sc_dispatcher** script.
101- (Default ` "~/.vim/bundle/scvim/bin/sc_dispatcher" ` )
102- Change it if you have installed the plugin in other location.
103- * ` g:scFlash ` : Highlighting of evaluated code. (Default ` 0 ` )
104- * ` g:scSplitDirection ` : sets default window orientation when using a supported
105- terminal multiplexer. See Multiplexer Options below for more info. (Default ` "h" ` )
106- * ` g:scSplitSize ` : sets post window size (% of screen) when using a supported
107- terminal multiplexer. See Multiplexer Options below for more info. (Default ` 50 ` )
94+ | Variable | Description | Default |
95+ | -------- | ----------- | ------- |
96+ | ` g:sclangTerm ` | Command to open a terminal window | ` "open -a Terminal.app" ` on macOS,<br />` "x-terminal-emulator -e $SHELL -ic" ` on Linux |
97+ | ` g:sclangPipeApp ` | Absolute path to ** start_pipe** script | ` "~/.vim/bundle/scvim/bin/start_pipe" ` |
98+ | ` g:sclangDispatcher ` | Absolute path to ** sc_dispatcher** script | ` "~/.vim/bundle/scvim/bin/sc_dispatcher" ` |
99+ | ` g:scFlash ` | Highlighting of evaluated code | ` 0 ` |
100+ | ` g:scSplitDirection ` | Default window orientation when using a terminal multiplexer | ` "h" ` |
101+ | ` g:scSplitSize ` | Post window size (% of screen) when using a terminal multiplexer | ` 50 ` |
108102
109103Example ` .vimrc ` line for gnome-terminal users:
110104
@@ -114,12 +108,6 @@ To enable highlighting of evaluated code:
114108
115109 let g:scFlash = 1
116110
117- If for some reason vim can't find the path to the two launch scripts
118- ** start_pipe** and ** sc_dispatcher** you can set them manually in your .vimrc:
119-
120- let g:sclangPipeApp = "~/.vim/bundle/scvim/bin/start_pipe"
121- let g:sclangDispatcher = "~/.vim/bundle/scvim/bin/sc_dispatcher"
122-
123111Usage
124112-----
125113To start open a file with the right extension : e foo.sc(d)
0 commit comments