File tree Expand file tree Collapse file tree 6 files changed +17
-15
lines changed Expand file tree Collapse file tree 6 files changed +17
-15
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ request.
33
33
34
34
## Writing test files
35
35
36
- #### Generating test files
36
+ ### Generating test files
37
37
38
38
Use the [generator](lib/generate.vim) to create Vader files from their canonical
39
39
test data:
Original file line number Diff line number Diff line change
1
+ # About
2
+
1
3
[ Vim] ( http://www.vim.org ) is a decades old text editor that is still wildly popular among programmers and people who like working in terminal emulators.
2
4
3
5
In Vim, keys don't always do the same things.
Original file line number Diff line number Diff line change 1
- ## Installation
1
+ # Installation
2
2
3
3
You need [ Vim] ( http://www.vim.org ) to do the exercises:
4
4
@@ -7,7 +7,7 @@ You need [Vim](http://www.vim.org) to do the exercises:
7
7
- [ Windows] ( #windows )
8
8
- [ Source] ( #source )
9
9
10
- #### macOS
10
+ ## macOS
11
11
12
12
The OS ships with Vim by default, but it's a hopelessly outdated version.
13
13
@@ -30,7 +30,7 @@ $ sudo port install vim +huge
30
30
If you want a GUI, have a look at [ MacVim] ( https://macvim-dev.github.io/macvim )
31
31
instead.
32
32
33
- #### Ubuntu / Debian
33
+ ## Ubuntu / Debian
34
34
35
35
Install a full-fledged Vim with GUI support (` gvim ` ):
36
36
@@ -39,7 +39,7 @@ $ sudo apt-get update
39
39
$ sudo apt-get install vim-gtk
40
40
```
41
41
42
- #### Windows
42
+ ## Windows
43
43
44
44
Using [ Chocolatey] ( https://chocolatey.org ) :
45
45
@@ -49,7 +49,7 @@ C:\> choco install vim
49
49
50
50
Or download and install directly from [ here] ( http://www.vim.org/download.php#pc ) .
51
51
52
- #### Source
52
+ ## Source
53
53
54
54
If you want to compile the latest Vim yourself, check out the [ official
55
55
repository on GitHub] ( https://github.com/vim/vim ) .
Original file line number Diff line number Diff line change 1
- ## LEARNING
1
+ # LEARNING
2
2
3
3
Vim comes with great documentation built in already. The interface to the
4
4
documentation is the ` :help ` command.
Original file line number Diff line number Diff line change 1
- ## RESOURCES
1
+ # RESOURCES
2
2
3
- #### General resources
3
+ ## General resources
4
4
5
5
- [ vim-galore] ( https://github.com/mhinz/vim-galore ) is a huge guide about all
6
6
things Vim.
7
7
- [ Why, oh WHY, do those #?@! nutheads use vi?] ( http://www.viemu.com/a-why-vi-vim.html ) explains common misconceptions about vi and Vim.
8
8
- [ Your problem with Vim is that you don't grok vi] ( http://stackoverflow.com/a/1220118 ) is a pure gem. Read it every once in a while.
9
9
10
- #### Vim scripting
10
+ ## Vim scripting
11
11
12
12
- [ Learn Vimscript the Hard Way] ( http://learnvimscriptthehardway.stevelosh.com )
13
13
- [ IBM DeveloperWorks: Scripting the Vim
14
14
editor] ( http://www.ibm.com/developerworks/views/linux/libraryview.jsp?sort_order=asc&sort_by=Title&search_by=scripting+the+vim+editor )
15
15
16
- #### Books
16
+ ## Books
17
17
18
18
There is only one good book about Vim out there: [ Practical
19
19
Vim] ( https://pragprog.com/book/dnvim2/practical-vim-second-edition ) .
20
20
21
- #### Screencasts
21
+ ## Screencasts
22
22
23
23
- [ vimcasts.org] ( http://vimcasts.org/episodes/archive )
24
24
- [ wincent on YouTube] ( https://www.youtube.com/channel/UCXPHFM88IlFn68OmLwtPmZA )
Original file line number Diff line number Diff line change 1
- ## SETUP
1
+ # SETUP
2
2
3
3
This track uses two tools to run the test suite and ensure best practices:
4
4
5
5
1 . [ vader.vim] ( https://github.com/junegunn/vader.vim )
6
6
2 . [ vint] ( https://github.com/Kuniwak/vint )
7
7
8
- #### Running tests
8
+ ## Running tests
9
9
10
10
1 . Install [ vader.vim] ( https://github.com/junegunn/vader.vim/#installation ) .
11
11
1 . Open your solution:
@@ -55,7 +55,7 @@ autocmd BufRead *.{vader,vim}
55
55
Afterwards open any ` .vim ` or ` .vader ` file from an exercise directory and run
56
56
the ` :Test ` command.
57
57
58
- #### Linting Vim files
58
+ ## Linting Vim files
59
59
60
60
1 . Install [ vint] ( https://github.com/Kuniwak/vint#quick-start ) .
61
61
1 . Recursively lint all Vim files:
You can’t perform that action at this time.
0 commit comments