Is it possible to put the
.vimrc into the
.vim folder so that I only have to sync the whole folder and not folder and file to other computers?
If you were to create an alias for vim to specify the location of the .vimrc like thus:
alias vim='vim -u ~/.vim/vimrc'
then you could do away with having .vimrc separate.
This will cause issues with other programs interacting with vim. Pressing 'v' in 'less' will not work, since it calls vim via the contents of the EDITOR env-variable. I suppose you could add the '-u ...' bit into the EDITOR variable. might work.
For gvim, you'd use an uppercase 'U' there, to specify the location of the .gvimrc file. Again, issues ensue unless you change EVERY possible starting location of gvim in your window manager's starting links.
All in all, I'd suggest using @remyo's suggestion if you MUST have it all in one subdir.
It's relatively easy to create a post-pull script that would reestablish the link between 'repo/.vimrc' and '~/.vimrc'.
(you could recompile vim yourself, specifying a new default location for the .vimrc file.)