Skip to content

Commit

Permalink
Update ch01_starting_vim.md
Browse files Browse the repository at this point in the history
Type fixed in "Starting Vim the Smart Way" section.
  • Loading branch information
starnsd authored Feb 1, 2022
1 parent 961ec2b commit 2a98154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch01_starting_vim.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,6 @@ If you need to suspend Vim while in the middle of editing, you can press `Ctrl-z

## Starting Vim the Smart Way

The `vim` command can take many different options, just like any other terminal command. Two options allows to pass a Vim command as a parameter: `+{cmd}` and `-c cmd`. As you learn more commands throughout this guide, see if you can apply it when starting Vim. Also being a terminal command, you can combine `vim` with many other terminal commands. For example, you can redirect the output of the `ls` command to be edited in Vim with `ls -l | vim -`.
The `vim` command can take many different options, just like any other terminal command. Two options allow you to pass a Vim command as a parameter: `+{cmd}` and `-c cmd`. As you learn more commands throughout this guide, see if you can apply it when starting Vim. Also being a terminal command, you can combine `vim` with many other terminal commands. For example, you can redirect the output of the `ls` command to be edited in Vim with `ls -l | vim -`.

To learn more about `vim` command in the terminal, check out `man vim`. To learn more about the Vim editor, continue reading this guide along with the `:help` command.

0 comments on commit 2a98154

Please sign in to comment.