|
|
|
|
|
by mediumsmart
870 days ago
|
|
You can steal config snippets and create kbd-macros for the rest but I don’t know if that has you covered. works for my case Maybe an example is in order: I have a kbd macro (M-x doit) that fetches 3 hostfiles from the web, merges them into 1, dos2unix, makes all entries 0.0.0.0, removes comments empty lines and useless whitespace, then appends current hostfile entries, sorts lines, removes duplicate lines, inserts the header back in, saves it and sudoplonks it into etc. I recorded that because I can’t program it in lips or anything else, not smart enough |
|