Last active
June 22, 2020 18:48
-
-
Save artheus/e8c832fb21a329eb2276af8396218fdc to your computer and use it in GitHub Desktop.
Vim Country Substitution for pacman.d/mirrorlist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" This is a substitution command for VIM where you can replace the word´Sweden´ with the country you want to keep. | |
" Whenever I install Arch linux on my machines, I usually only keep the mirrors from my country. If you do the | |
" same thing, you can use this to do it fast! | |
:%s/^##\s\(Sweden\)\@!\(.*\)\nServer = .*\n// | |
" Do you have any suggestions on making it better? Please comment! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment