mirror of
https://github.com/iggredible/Learn-Vim
synced 2025-02-17 00:08:26 +00:00
commit
9e64f243d5
1 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ To check the current Vim version, run:
|
|||
vim --version
|
||||
```
|
||||
|
||||
This tells you the current Vim version and all available features marked with either `+` or `-` Some of these features in this guide require certain features to be available. For example, you will explore Vim's command-line history in a later chapter with the `:history` command. Your Vim needs to have `+cmdline_history` feature for the command to work. There is a good chance that the Vim you just installed have all the necessary features, especially if it is from a popular download source.
|
||||
This tells you the current Vim version and all available features marked with either `+` or `-`. Some of these features in this guide require certain features to be available. For example, you will explore Vim's command-line history in a later chapter with the `:history` command. Your Vim needs to have `+cmdline_history` feature for the command to work. There is a good chance that the Vim you just installed have all the necessary features, especially if it is from a popular download source.
|
||||
|
||||
Many things you do from the terminal can also be done from inside Vim. To see the version from *inside* Vim, you can run this:
|
||||
|
||||
|
@ -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
|
||||
|
||||
You can pass the `vim` command with different options and flags, just like any terminal commands. One of the options is the command-line command (`+{cmd}` or `c cmd`). As you learn more commands throughout this guide, see if you can apply it on start. 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 -`.
|
||||
You can pass the `vim` command with different options and flags, just like any terminal commands. One of the options is the command-line command (`+{cmd}` or `-c cmd`). As you learn more commands throughout this guide, see if you can apply it on start. 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 terminal command, check out `man vim`. To learn more about the Vim editor, continue reading this guide along with the `:help` command.
|
||||
|
|
Loading…
Add table
Reference in a new issue