From the course: Learning Vim

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Various settings

Various settings - vi Tutorial

From the course: Learning Vim

Start my 1-month free trial

Various settings

- [Instructor] There are many, many settings you can use in Vim. You can use the built in help system to view them all. Let's start Vim, and then, to access the help system, colon help, and we'll search for the topic. In our case, option summary. This gives us the summary of options that are available, but if we go down, we'll start to see the options. Here, we have aleph, which is a number, et cetera, et cetera. If you'd like to view the current settings, use set. Let's close this window, with colon close, and then, colon set, and enter, and we see the current set option. Number comes from our vimrc, and the rest are some defaults for the system, and again, enter to go back to Vim. Let's cover some useful options. By default, search in Vim is case sensitive. Let's open e sherlock.txt, and let's start looking for Sherlock. So, forward slash sherlock, and it doesn't find it, because Sherlock is written with a capital S. If you set the ignore case, or ic, you can have case insensitive…

Contents