All Projects → unhammer → org-rich-yank

unhammer / org-rich-yank

Licence: other
📋 Rich text clipboard for org-mode: Paste as a #+BEGIN_SRC block of correct mode, with link to where it came from

Programming Languages

emacs lisp
2029 projects

Projects that are alternatives of or similar to org-rich-yank

Piknik
Copy/paste anything over the network.
Stars: ✭ 2,221 (+3664.41%)
Mutual labels:  clipboard, paste
Pasteex
📋 Paste As File 把剪贴板的内容直接粘贴为文件
Stars: ✭ 634 (+974.58%)
Mutual labels:  clipboard, paste
MagicWE2
[MagicWE2] Lag free asynchronous world editor for PMMP with plenty of options
Stars: ✭ 109 (+84.75%)
Mutual labels:  clipboard, paste
Nopaste
📋 Client-side paste service
Stars: ✭ 79 (+33.9%)
Mutual labels:  clipboard, paste
Feedback
Feedback & wiki for Snipaste https://snipaste.com
Stars: ✭ 1,863 (+3057.63%)
Mutual labels:  clipboard, paste
Vim Paste Easy
Automatically set paste for you
Stars: ✭ 87 (+47.46%)
Mutual labels:  clipboard, paste
Clipboard Polyfill
📋 Simple copying on the web, with maximum browser compatibility.
Stars: ✭ 748 (+1167.8%)
Mutual labels:  clipboard, paste
Xcv
✂️ Cut, Copy and Paste files with Bash
Stars: ✭ 144 (+144.07%)
Mutual labels:  clipboard, paste
vim-poweryank
Copy text over SSH
Stars: ✭ 51 (-13.56%)
Mutual labels:  clipboard, yank
draftjs exporter
Library to convert Draft.js ContentState to HTML
Stars: ✭ 77 (+30.51%)
Mutual labels:  rich-text
nvim-hclipboard
Hijack your clipboard in Neovim
Stars: ✭ 19 (-67.8%)
Mutual labels:  clipboard
clipper
📋 Cross Platform Desktop App to Save history of all information you copy and use them whenever with a solitary snap
Stars: ✭ 42 (-28.81%)
Mutual labels:  clipboard
PasteServer
PasteServer to upload text or code
Stars: ✭ 29 (-50.85%)
Mutual labels:  paste
yeonghoey
A personal knowledge base
Stars: ✭ 13 (-77.97%)
Mutual labels:  org-mode
ob-elixir
org-babel functions for elixir evaluation
Stars: ✭ 24 (-59.32%)
Mutual labels:  org-mode
cbs
interface to manage clipboard from the command line
Stars: ✭ 25 (-57.63%)
Mutual labels:  clipboard
copypasta
Cross-platform Rust system clipboard library
Stars: ✭ 186 (+215.25%)
Mutual labels:  clipboard
AsyncClipboardService
📋 An async & low-level windows clipboard service implementation for .NET, C#
Stars: ✭ 14 (-76.27%)
Mutual labels:  clipboard
org-roam-ui
A graphical frontend for exploring your org-roam Zettelkasten
Stars: ✭ 1,393 (+2261.02%)
Mutual labels:  org-mode
nroam
Org-roam backlinks within org-mode buffers
Stars: ✭ 106 (+79.66%)
Mutual labels:  org-mode

org-rich-yank

https://melpa.org/packages/org-rich-yank-badge.svg

Do you often yank source code into your org files, manually surrounding it in #+BEGIN_SRC blocks? This package will give you a new way of pasting that automatically surrounds the snippet in blocks, marked with the major mode of where the code came from, and adds a link to the source file after the block.

org-rich-yank.gif

Installation

MELPA

If you use MELPA, you can just do M-x list-packages, find org-rich-yank in the list and hit i x.

Manual

Just put org-rich-yank.el somewhere in load-path.

Usage

Manual, loading on startup:

To use, require and bind whatever keys you prefer to the interactive function:

(require 'org-rich-yank)
(define-key org-mode-map (kbd "C-M-y") #'org-rich-yank)

With use-package, enabled after org:

If you prefer use-package, the above settings would be:

(use-package org-rich-yank
  :ensure t
  :demand t
  :bind (:map org-mode-map
              ("C-M-y" . org-rich-yank)))

The :demand t in there is because we never know when the user will hit C-M-y, so we always have to store the current buffer on kills. You can remove the :demand t and have lazy/deferred loading, but then the first time you hit C-M-y after startup, you’ll get a message that you have to kill the selection again.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].