SquadGoals
Your question about non-EU immigration also interests me as one of my children has a non-EU partner and they wish to live in the UK. It is hugely complicated.
At present any of the 400 million EU citizens has the right to live in any EU country they choose. We cannot refuse them residence in the UK, hence Cameron's indirect attempts to limit EU migration to the UK by limiting UK benefits. If you are a non-EU citizen you have no automatic right to live in the UK and must apply for permission to do so, with no guarantee you will be granted it, even if you have close family members here, even if you are married to a British person. If your non-EU partner is already in the country they can apply for right to remain if your earning power is high enough but the Govt is planning to increase that threshold. I doubt the Govt would attempt to remove the non-EU partner of a Briton from the UK as, under Human Rights Law - right to a family life. If your non-EU partner us not already in the UK gaining right to reside is more difficult.
However any non-UK EU citizen has the right to move to the UK, and they also have the right to bring their partner, regardless if their partners nationality. So the non-EU partner of a non-UK migrant has right to reside in UK but non-EU partner of UK resident is not permitted to automatically reside in the UK. That discriminates against British people
Britons can get round this by going to live in another UK country for a period sufficient to establish residency say 3 months, and then they have the right as non-UK resident EU migrant to return to the UK and bring their non-EU partner with them to obtain right to reside in the UK for both of them. This is called the Surinder Singh loophole and Cameron's new deal will close it
Outside the EU the UK will be a sovereign country that can make its own immigration rules. It can decide who can live here and can attract the skills the country needs from all over the world. Those migrants who are already here have the right to stay.
Similarly, the EU countries can decide whether to let what will be non-EU Britons to live in their countries. Those already there have the right to stay. I cannot imagine a country like Spain booting out all the British pensioners who make a net contribution to the Spanish economy via their pensions, and occupy what would be otherwise empty homes and neither would they have the legal right to do do. Britain's have lived in foreign countries for centuries, Byron, Durrell, Greene etc. And foreigners have lived in Britain for centuries too. It's scare-mongering to suggest otherwise.
The only way to control immigration into the UK is to LEAVE.
Cameron has been trying to tie himself in knots to circumvent that fact. He will fail. The ECJ could over-rule his deal on migrant benefits as discriminatory. The European Parliament could also reject it
We are being asked to vote on something that could be over-turned. Cameron's 'deal' is still in legal terms an unratified wish list that could be changed AFTER a REMAIN vote