hello, before I used to change the mirror with kdesu kate /etc/pacman.d/mirrorlist but now I can not. How should I do it?. Thank you

sudo nano /etc/pacman.d/mirrorlist
or you can go to the mirrorlist path, open with kate, after making the change you will ask for the root password