Both Atom and VSCode are not supporting `cmd-e` correctly on macOS. There is a macOS API called NSFindPboard that gives you the content of a special paste shared across all apps. There is a way to shell out to get it but it would be nicer (and likely faster) if electron exposed it as an API in JS.

Issues:
- Atom: https://github.com/atom/atom/issues/4650
- VSCode: https://github.com/Microsoft/vscode/issues/11233

@orta wrote a little specification of what the API could look like which would solve both editor use cases: https://github.com/orta/electron/blob/orta-pasteboard/docs/api/pasteboard.md

Thanks!

atom/common/api/atom_api_clipboard.cc
#include <string>
#include <vector>
#include "atom/common/native_mate_converters/image_converter.h"
#include "atom/common/native_mate_converters/string16_converter.h"
#include "base/strings/utf_string_conversions.h"
#include "native_mate/arguments.h"
#include "native_mate/dictionary.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/base/clipboard/clipboard.h"
#include "ui/base/clipboard/scoped_clipboard_writer.h"
#include "ui/gfx/image/image.h"
#include "atom/common/node_includes.h"
namespace {
ui::ClipboardType GetClipboardType(mate::Arguments* args) {