some VIM basic questions

  • Thread starter Thread starter Chup
  • Start date Start date
C

Chup

I've been using VIM and there are some thing's that I like about it, as well as somethings that I'd like to change.

1 - I'm not sure what I'm meant to do about the .vimrc file? I have one, and it's location is

/usr/share/vim

Is that the one that I'm meant to use, or am I meant to make a custom one?
Edit - I've made a .vimrc file, and it's in my home folder

2 - I want to use different languages, at the moment I'm only using C but before long I'll use others, is this something that I need to bear in mind with any .vimrc stuff?

3 - I want to make is so that what I press return (new line) it stays in line with the current indentation that I'm using, so that If I'm in a nested for loop I don't have to press a few tabs each time.

Any guidance much appreciated!

Just using yy p to copy paste has been nice :)

Continue reading...
 
Back
Top