diff options
author | 2020-09-21 18:46:26 -0700 | |
---|---|---|
committer | 2020-09-21 18:46:26 -0700 | |
commit | 45658a0bfa635cf1799b00c1585e8710424ba162 (patch) | |
tree | cb5a4da8dd9551002f723caa0c479b179a44e70f /oni-org/capture-templates/clocked/code-note.org | |
parent | 721fccc2cac73bc9027b899dcea26e0bb1839f47 (diff) | |
download | emacs-config-45658a0bfa635cf1799b00c1585e8710424ba162.tar.gz emacs-config-45658a0bfa635cf1799b00c1585e8710424ba162.zip |
Move all capture templates into their own files
Diffstat (limited to 'oni-org/capture-templates/clocked/code-note.org')
-rw-r--r-- | oni-org/capture-templates/clocked/code-note.org | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/oni-org/capture-templates/clocked/code-note.org b/oni-org/capture-templates/clocked/code-note.org new file mode 100644 index 0000000..ee9489f --- /dev/null +++ b/oni-org/capture-templates/clocked/code-note.org @@ -0,0 +1,8 @@ +%U +- File: [[file:%F::%(number-to-string (with-current-buffer (get-buffer (find-file-noselect \"%F\")) (line-number-at-pos (region-beginning))))][%f]] + +%? + +#+BEGIN_SRC %(string-remove-suffix \"-mode\" (symbol-name (with-current-buffer (get-buffer (find-file-noselect \"%F\")) major-mode))) +%i +#+END_SRC" |