![]() Now when I want to insert a screenshot in a document, I simply press Shift-⌘-5, capture the screenshot, switch back to Emacs, press Ctrl-⌘-y, and done. You may want to check the org-download documentation and configure these settings to your liking.įinally, I bind org-download-screenshot to Ctrl-⌘-y to keep it similar to the default Ctrl-y for pasting the clipboard and to easily perform step 2 of the workflow described above. With this configuration, images are stored in a directory named images under the current directory, in a flat directory structure and each file is prepended with a timestamp (I would prefer not to use timestamps, but org-download uses a fixed filename for screenshots, which makes it difficult to insert multiple screenshots in the same document). org-download-screenshot ) :config ( require 'org-download )) ( use-package org-download :after org :defer nil :custom ( org-download-method 'directory ) ( org-download-image-dir "images" ) ( org-download-heading-lvl nil ) ( org-download-timestamp "%Y%m%d-%H%M%S_" ) ( org-image-actual-width 300 ) ( org-download-screenshot-method "/usr/local/bin/pngpaste %s" ) :bind ( "C-M-y". After the capture, ShareX can help you perform a number of tasks, including adding image effects or watermarks, annotation, copying, printing, saving a. It can capture screen images using a variety of methods, including full-screen, active window, active monitor, region, web page, text, and more. Together with the pngpaste utility, this can be used to make org-download-screenshot store the image from the clipboard to disk, and insert it into the document. ShareX isnt just a simple screenshot app.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |