Add manage dired

This commit is contained in:
Andros Fenollosa 2023-06-14 12:33:35 +02:00
parent b562f8b973
commit 1d46d6e886
2 changed files with 7 additions and 0 deletions

View File

@ -30,6 +30,8 @@ Open an Org file and run `org-share-to-web-buffer`.
It will copy the URL to your clipboard to open the document share. It will copy the URL to your clipboard to open the document share.
If you need to manage the shared files, such as deleting them, use `org-share-to-web-dired`.
## Theme ## Theme
If you want it to look really nice, include the following lines at the beginning of your Org documents. If you want it to look really nice, include the following lines at the beginning of your Org documents.

View File

@ -26,6 +26,11 @@
(kill-new (concat org-share-to-web-domain filename-html))) (kill-new (concat org-share-to-web-domain filename-html)))
(message "Org shared online. URL copied to clipboard!")) (message "Org shared online. URL copied to clipboard!"))
(defun org-share-to-web-dired ()
"Open directory where org files are shared."
(interactive)
(dired org-share-to-web-directory))
(provide 'org-share-to-web) (provide 'org-share-to-web)
;;; org-share-to-web.el ends here ;;; org-share-to-web.el ends here