Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change paste behavior to allow last paste to be moved to top of list #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

s1moe2
Copy link

@s1moe2 s1moe2 commented Sep 14, 2018

Issue #5
Added a config option to change the behavior of paste action so it keeps the last pasted item on the top of the list: "pasteBehavior": "keepLastPaste" can be set in package.json, otherwise the previous behavior will remain. Note that I also changed the way the "regular" paste works so that it actually fetches this most recent pasted item.
Fixed a minor bug on pasteSelected caused by the param being undefined.
Code cleanup and standardisation (a few missing ;'s, changed some let/vars for const and removed unused code lines).

…eps the last pasted item on the top of the list; Fixed a minor bug on pasteSelected caused by the param being undefined; Code cleanup and standarization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant