How do you set up .vimrc

Viewed 94836

How do you set up a .vimrc file on Ubuntu?

This is not helping: http://vim.wikia.com/wiki/Open_vimrc_file

  1. Where do you create it?
  2. Whats the format inside?

I know the stuff I want to put in it, just don't know how.

4 Answers

Open vim ~/.vimrc using vim ~/.vimrc, put this in it:

set paste
set nonumber
set hlsearch

Save the file and quit using :wq. Changes in this .vimrc will be used when reopening your Vim editor.

Related