Skip to content

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

* [Emacs] Copy it, yank anything!

=copyit.el= is Emacs Lisp package for [[https://www.gnu.org/software/emacs/manual/html_node/emacs/Yanking.html][Yanking]] / Clipboard [[https://www.emacswiki.org/emacs/CopyAndPaste][Copy And Paste]].

** Functions
*** =copyit.el=
#+BEGIN_HTML
<a href="http://melpa.org/#/copyit"><img alt="MELPA: copyit" src="http://melpa.org/packages/copyit-badge.svg"></a>
<a href="http://stable.melpa.org/#/copyit"><img alt="MELPA stable: copyit" src="http://stable.melpa.org/packages/copyit-badge.svg"></a>
#+END_HTML

| command                            | description                                                     |
|------------------------------------+-----------------------------------------------------------------|
| =M-x copyit-variable=              | Copy value of symbol's variable.                                |
| =M-x copyit-file-pathname=         | Copy file pathname.                                             |
| =M-x copyit-file-content=          | Copy file content.                                              |
| =M-x copyit-file-exif-information= | Copy [[https://en.wikipedia.org/wiki/Exchangeable_image_file_format][Exif]] information. (require [[http://www.imagemagick.org/script/index.php][ImageMagick]] =identify= command) |
| =M-x copyit-file-as-data-uri=      | Copy file content as [[https://en.wikipedia.org/wiki/Data_URI_scheme][Data URI]].                                  |
| =M-x copyit-ssh=                   | Copy file content in =~/.ssh/= directory.                       |

*** =copyit-pandoc.el=
#+BEGIN_HTML
<a href="http://melpa.org/#/copyit-pandoc"><img alt="MELPA: copyit-pandoc" src="http://melpa.org/packages/copyit-pandoc-badge.svg"></a>
<a href="http://stable.melpa.org/#/copyit-pandoc"><img alt="MELPA stable: copyit-pandoc" src="http://stable.melpa.org/packages/copyit-pandoc-badge.svg"></a>
#+END_HTML

| command                                | description                       |
|----------------------------------------+-----------------------------------|
| =M-x copyit-pandoc-export-to-html=     | Convert and Copy file as HTML     |
| =M-x copyit-pandoc-export-to-markdown= | Convert and Copy file as Markdown |

=C-u M-x copyit-pandoc-export-to-html= and =C-u M-x copyit-pandoc-export-to-markdown= convert a file.  When =C-u= is prepended, the content of the current buffer is converted.

** Customize
*** =copyit-binary-file-copy-method= (default: =data-uri=)
Binary file copy method in =copyit-file-content=.
*** =copyit-ssh-directory-path= (default: ="~/.ssh/"=)
Path to your SSH directory.
*** =copyit-copy-bare-string= (default: =t=)
Copy bare (non-quoted) string when interactively called.  (="abc"= as =abc=)

About

Copy it, yank anything!

Resources

Stars

18 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages