Skip to content

Commit b50c0be

Browse files
committed
emacs: add org-download
1 parent a9eb42c commit b50c0be

File tree

1 file changed

+13
-0
lines changed
  • modules/common/home-manager/profiles/base/emacs

1 file changed

+13
-0
lines changed

modules/common/home-manager/profiles/base/emacs/org.nix

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,19 @@
152152
};
153153
};
154154

155+
org-download = {
156+
enable = true;
157+
hook = [ "(dired-mode . org-download-enable)" ];
158+
command = [
159+
"org-download-clipboard"
160+
"org-download-screenshot"
161+
"org-download-yank"
162+
];
163+
custom = {
164+
org-download-method = "'attach";
165+
};
166+
};
167+
155168
org-modern = {
156169
enable = true;
157170
after = [ "org" ];

0 commit comments

Comments
 (0)