Reputation: 17
First of all, I'm a total newbee, studying some code in order to go in a good programming school, but so far, let's say I don't know much about anything.
I'm currently using vim, but every time I launch it I have to write :set nocompatible
, :set backspace=indent,eol,start
, :set nu
(I have quite a strict norm to follow) and :syntax on
. I tried to search by myself how I could change Vim's settings in order to not have to write these every single time, but as I said, I'm new here and I don't understand most of the answers. So even though I guess you've already answered this kind of question somewhere else, I'd really need a bit of help if you may.
Thanks and sorry for the inconvenience.
Upvotes: 1
Views: 170
Reputation: 2436
Put all those commands in a .vimrc file in your home folder. It is a configuration file that vim loads everytime it starts.
:help is your friend if you don't understand what some commands you may find on the forums do.
Upvotes: 3