insanum / sncli

Simplenote CLI
MIT License
396 stars 34 forks source link

Copy paste support #16

Closed shawnaxsom closed 9 years ago

shawnaxsom commented 9 years ago

I assume you would like to review any submissions I make?

This pull request adds basic copying support to notes. Just a single line for now. So you can copy (yank) a note line by pressing "y". This should be helpful IMO for copying URLs or simple bash commands, for example. It requires xsel or pbcopy, so it will do nothing if neither are installed.

I don't know if I will later add multi-line copy support, that would add a good amount of complexity to the view. It might not be worth it when there is the alternative of editing in Vim and copying there. Let me know if you have any thoughts.

insanum commented 9 years ago

Nope I don't need to review unless you think a change is controversial. I gave you the keys to the sncli kingdom. Have fun. :-)