Skip to content

Commit 9fa4944

Browse files
committed
Fix the wrong chapter headers
1 parent f9ab8dd commit 9fa4944

8 files changed

+8
-8
lines changed

ch22_vimrc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Ch21. Vimrc
1+
# Ch22. Vimrc
22

33
In the previous chapters, you learned how to use Vim. In this chapter, you will learn how to organize and configure vimrc.
44

ch23_vim_packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Ch22. Vim Packages
1+
# Ch21. Vim Packages
22

33
In the previous chapter, I mentioned using an external plugin manager to install plugins. Since version 8, Vim comes with its own built-in plugin manager called *packages*. In this chapter, you will learn how to use Vim packages to install plugins.
44

ch24_vim_runtime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Ch23. Vim Runtime
1+
# Ch24. Vim Runtime
22

33
In the previous chapters, I mentioned that Vim automatically looks for special paths like `pack/` (Ch. 22) and `compiler/` (Ch. 19) inside the `~/.vim/` directory. These are examples of Vim runtime paths.
44

ch25_vimscript_basic_data_types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Ch24. Vimscript Basic Data Types
1+
# Ch25. Vimscript Basic Data Types
22

33
In the next few chapters, you will learn about Vimscript, Vim's built-in programming language.
44

ch26_vimscript_conditionals_and_loops.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Ch25. Vimscript Conditionals and Loops
1+
# Ch26. Vimscript Conditionals and Loops
22

33
After learning what the basic data types are, the next step is to learn how to combine them together to start writing a basic program. A basic program consists of conditionals and loops.
44

ch27_vimscript_variable_scopes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Ch26. Vimscript Variable Scopes
1+
# Ch27. Vimscript Variable Scopes
22

33
Before diving into Vimscript functions, let's learn about the different sources and scopes of Vim variables.
44

ch28_vimscript_functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Ch27. Vimscript Functions
1+
# Ch28. Vimscript Functions
22

33
Functions are means of abstraction, the third element in learning a new language.
44

ch29_plugin_example_writing-a-titlecase-plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Ch28. Write a Plugin: Creating a Titlecase Operator
1+
# Ch29. Write a Plugin: Creating a Titlecase Operator
22

33
When you start to get good at Vim, you may want to write your own plugins. I recently wrote my first Vim plugin, [totitle-vim](https://github.com/iggredible/totitle-vim). It is a titlecase operator plugin, akin to Vim's uppercase `gU`, lowercase `gu`, and togglecase `g~` operators.
44

0 commit comments

Comments
 (0)