Is there any way to select multiple lines in Vim? 

For example I want to select line number 1,4,7,8 etc?

I know that I can use V or v to select lines but they select the continuous lines.

For example when I want to add comments # or // etc in different lines. I remember that Sublime-text 2 can do it, so I am wondering if Vim can do it too. 

Thanks in advance. 


Question: Migrate to new server 2008 file server but keep old server name (under domain AD)
Answer: Server 2008 may be different, but in general I try to avoid renaming Windows servers whenever possible. Most especially if there is non-Microsoft software (such as backup agents) installed on it. Microsoft themselves was bad enough at putting "servername" in the registry and random files instead of "%computername%" back in the NT and 2000 days, that it scared me off of it in 2003. That said, I've been impressed at how different 2008 is from 2003r1, so they may finally have the kinks worked out of renaming a long-standing server.

Which is to say, you CAN do it just like you found out. It works. All the deep in the bowels stuff uses SID, and the user-readable stuff as a variable. Newsid is a nice tool for catching all the leftovers if you're paranoid, but I believe you need to run that while undomained.