Skip to content

Commit 520d9f8

Browse files
author
Michael.Dupuis
committed
Cleaning up line endings and clarifying OSX steps in README.md
1 parent 071876a commit 520d9f8

File tree

1 file changed

+56
-41
lines changed

1 file changed

+56
-41
lines changed

README.md

Lines changed: 56 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ Then the plugin will work and you can enjoy sound effect when you are typing in
4646

4747
Avaliable themes are:
4848

49-
- `default`
50-
- `typewriter`
51-
- `mario`
52-
- `sword`
53-
- `bubble`
54-
49+
- `default`
50+
- `typewriter`
51+
- `mario`
52+
- `sword`
53+
- `bubble`
54+
5555
Additional sound themes can be found in `sounds` directory in your `runtimepath`, that is your `~/.vim/sounds` or `/path-to-dotfiles/sounds`.
5656

5757
Change python version:
@@ -83,42 +83,42 @@ keysound#playsound(wavfile, volume)
8383

8484
## Requirements
8585

86-
- Python or Python3 integration in vim
87-
- [PySDL2](https://github.com/marcusva/py-sdl2) with SDL2 binaries.
88-
89-
PySDL2 is used to provide low-latency audio playback.
90-
91-
### Ubuntu
92-
93-
Just install `python-sdl2` or `python3-sdl2` with `apt-get`, depend on your python version in vim:
94-
95-
```bash
96-
apt-get install python-sdl2
97-
```
98-
99-
or
100-
101-
```bash
102-
apt-get install python3-sdl2
103-
```
104-
105-
### openSUSE
106-
107-
Install `python-sdl2` or `python3-sdl2` and `libSDL2_mixer-2_0-0` with `zypper`, depend on your python version in vim:
108-
109-
```bash
110-
zypper install python-sdl2 libSDL2_mixer-2_0-0
111-
```
112-
113-
or
114-
115-
```bash
116-
zypper install python3-sdl2 libSDL2_mixer-2_0-0
117-
```
118-
86+
- Python or Python3 integration in vim
87+
- [PySDL2](https://github.com/marcusva/py-sdl2) with SDL2 binaries.
88+
89+
PySDL2 is used to provide low-latency audio playback.
90+
91+
### Ubuntu
92+
93+
Just install `python-sdl2` or `python3-sdl2` with `apt-get`, depend on your python version in vim:
94+
95+
```bash
96+
apt-get install python-sdl2
97+
```
98+
99+
or
100+
101+
```bash
102+
apt-get install python3-sdl2
103+
```
104+
105+
### openSUSE
106+
107+
Install `python-sdl2` or `python3-sdl2` and `libSDL2_mixer-2_0-0` with `zypper`, depend on your python version in vim:
108+
109+
```bash
110+
zypper install python-sdl2 libSDL2_mixer-2_0-0
111+
```
112+
113+
or
114+
115+
```bash
116+
zypper install python3-sdl2 libSDL2_mixer-2_0-0
117+
```
118+
119119
### Windows
120120

121-
Install pysdl2 in python or python3:
121+
Install pysdl2 in python or python3:
122122

123123
```batch
124124
pip install pysdl2
@@ -136,8 +136,23 @@ You can verify your SDL2 installation by `python -c "import sdl2"`. If there is
136136

137137
### Mac OS X
138138

139-
Install pysdl2 and sdl2 shared librarys by brew.
139+
Install pysdl2 in python or python3:
140+
141+
```batch
142+
pip install pysdl2
143+
```
144+
145+
or
146+
147+
```batch
148+
pip3 install pysdl2
149+
```
150+
151+
Install sdl2 with brew:
140152

153+
```batch
154+
brew install sdl2
155+
```
141156

142157
# About
143158

0 commit comments

Comments
 (0)