t9md / atom-vim-mode-plus

vim-mode improved
https://atom.io/packages/vim-mode-plus
MIT License
1.4k stars 111 forks source link

System Clipboard pasting stops working after copying into vim-default clipboard #1066

Open bwagner opened 6 years ago

bwagner commented 6 years ago
debug info ```json { "atom": "1.26.1", "platform": "darwin", "release": "17.5.0", "vmpVersion": "1.32.0", "vmpConfig": { "blackholeRegisteredOperators": [], "startInInsertModeScopes": [], "charactersToAddSpaceOnSurround": [], "highlightSearchExcludeScopes": [], "flashOnOperateBlacklist": [] } } ```

OS: 10.13.4 (High Sierra) Atom: 1.26.1 vim-mode-plus: 1.32.0

After Restart of Atom I can paste the system clipboard into an editor (either with "*p, "+p, or cmd-v. As soon as I copy something into the default clipboard within atom-vim, the copied contents take precedence over whatever new thing I copy into the system clipboard. So, from then on with every paste I get whatever I copied within vim instead of the new stuff I copied into the system clipboard.

Workaround: Whenever copying something within vim-mode, always make sure it's copied into a particular register (e.g. by saying "addinstead of simply saying dd).

Much better Workaround: In the Settings of vim-mode-plus disable Use Clipboard As Default Register