As you might now Vim is highly configurable, Vim is configured through it’s configuration file called .vimrc. The thing with this file is, it doesn’t come pre-installed, you have to create it yourself, preferably in you r home directory. Want to know what/where your home directory is?
You might have noticed the .vimrc file starts with a dot, meaning it is a hidden file. If you type
It will show you all the hidden files and directories, as you can see I don’t have a .vimrc file yet.
Let’s create a .vimrc file
This command will ensure that I will create a .vimrc in my home directory no matter which directory I am currently in. There might not be any screen activity going on while creating the .vimrc file, but trust me it is created.
If you want to mess around with Vim color schemes then you need to have .vim directory in your home directory. Just like the .vimrc file, the .vim directory is hidden and you need create it yourself again preferably in your home directory
This command ensures that the directory will be created in the home directory regardless of what directory you are in.
Now the output of ls -a looks like this:
As you can see both the .vimrc file and .vim directory have been created.
If you insist on seeing the contents of that file type