SwimBikeRun
SwimBikeRun

Reputation: 4460

Saving settings for VIM on virtual box

I am running VIM from SSHing into school's virtual box, but I would like to save my settings for every time I use it.

It's not too much of a pain to type this every time, but I would like to automate it / save it if possible:

:set number
:set mouse=a
:set cindent 

Thanks

Upvotes: 0

Views: 537

Answers (1)

mihai
mihai

Reputation: 38543

You can edit vim local configuration file ~/.vimrc to insert these lines:

set number
set mouse=a
set cindent

Upvotes: 1

Related Questions