Mastering Vim Quickly by Jovica Ilic

Mastering Vim Quickly by Jovica Ilic

Author:Jovica Ilic
Language: eng
Format: epub, pdf
Publisher: Jolesoft
Published: 0101-01-01T00:00:00+00:00


You can even predefine your own color.

Related tip: You can always show your next matched string at the center of the screen when you press n or N, so it is easier to identify your location in the file. To enable this, put the following lines in your .vimrc:

nnoremap n nzz

nnoremap N Nzz

The power of the global command

The global command :g[lobal] is very useful. The way to use it is presented below:

:[range]g/pattern/cmd

Let's break it down:

[range] - We have already covered it with the substitute command. It's optional to provide a range, but it's important to notice that the default range is the whole file.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.