In 2019 you still cannot get a decent macOS-like modifier key setup on Linux where OS-keys are mapped to Super (e.g. Super-C being copy) and such that Control works like it does on macOS, so I still always find these kinds of articles nice but you're in for lots of surprises if you try to switch.

And I say this as someone with both macOS and Linux laptops that I work from, but because of the above and other similar things I think you're always up for disappointment if you expect to get Linux to be exactly like macOS.

  setxkbmap -option ctrl:swap_lwin_lctl -option ctrl:swap_rwin_rctl

It's not as simple as swapping the keys. On macOS you use the "win key" for system shortcuts but you can also use the Ctrl key for emacs-style movement systemwide.

For example I can type Ctrl-b while editing the URL in the browser omnibar to move the cursor back a character or alt-b to move it back a word, just like you can in the terminal and then use "Win"-b to bookmark a page.

And your command changes the keys you use for moving the cursor in the terminal.

In GTK2 and 3, you can switch to the emacs key theme and then edit the files in /usr/share/themes/Emacs/ to have meta instead of ctrl. Alternatively, use a key rebinding daemon like https://github.com/snyball/Hawck to rebind the specific keys globally. Long-term I don't think this is worth it though because the programs are not built to support it like they are on a native Cocoa environment. You kind of just have to suck it up and get used to different key bindings in different environments.