My professor assigned an ssh account to every student in my programming class and mandated that we use VIM for text editing. I discovered :set nu and :set auto indent via Google. I noticed that those two settings reset after every launch. Is there a way to make them persist on my ssh account? What about on VIM on my local machine?
| |||
|
feedback
|
|
Put them in your Another option is to have vimrc set up on the local machine, and use e.g. bcvi to transfer files transparently from remote to local and back again. | |||
|
feedback
|
|
When you are in Vim, type
and save it. Yell if you have any problems with this. | |||||||||
feedback
|
|
There is also the modeline where you can configure vim file-wise and are not dependent on any local vim configuration.
| ||||
|
feedback
|
vimtutor. That will help you learn how to use Vim. When you're done with that, execute:helpwithin Vim to see an overview of how to use the help system and some more introductory reading. – garyjohn Feb 1 at 15:49