Commit graph

340 commits

Author SHA1 Message Date
J Hacksworth
cf02fe5c2e lang/org: Bind org-agenda-show-and-scroll-up
Default Org binds 'SPC' to `org-agenda-show-and-scroll-up`, which
displays the original location of the Agenda item in another window
without moving focus from the Agenda window.

This is useful to preview items while staying in the Agenda window.
Since we can't use 'SPC', bind it to ‘C-SPC’, Doom's canonical "preview"
key for helm and ivy.

See https://orgmode.org/manual/Agenda-commands.html
2019-12-03 11:47:30 -05:00
Henrik Lissner
7cec80e9f1
lang/org: fix #2117 regression 2019-12-02 20:28:55 -05:00
Henrik Lissner
ef4e9b31be
lang/org: org-babel-lisp-eval-fn = sly-eval 2019-12-02 20:22:00 -05:00
Henrik Lissner
5baa1eb631
lang/org: fix non-prefix-key SPC errors on org-agenda 2019-11-30 14:45:41 -05:00
Henrik Lissner
b0734aa61c
lang/org: fix 'void-function t' error running shell links 2019-11-30 14:06:54 -05:00
Henrik Lissner
19e4c42adc
lang/org: org-tags-column = 0 2019-11-30 14:06:53 -05:00
Henrik Lissner
ae5a18c364
lang/org: respect org-agenda-sticky
And remove remappings of org-agenda-{q,Q}uit to org-agenda-exit
2019-11-30 14:06:53 -05:00
Henrik Lissner
b33630057d
lang/org: load contrib/journal if +journal 2019-11-27 22:09:55 -05:00
Henrik Lissner
b6a9fcb12b
lang/org: fix #2117 2019-11-27 22:06:19 -05:00
Henrik Lissner
26c8f5c6ef
Bytecompiler bytecompiler, won't you shut up 2019-11-23 01:21:25 -05:00
Thijs Vermeir
837203a876 lang/org: add support for org-cliplink 2019-11-21 23:26:24 +01:00
Henrik Lissner
cc793f323f
lang/org: add <localleader> l prefix for link keybinds
Moves 'SPC m l' and 'SPC m L' to 'SPC m l l' and 'SPC m l d',
respectively.

Relevant to #2101
2019-11-21 17:16:46 -05:00
Henrik Lissner
30f72da02a
Fix No such file org-version.el errors #2010
We generate an org-version.el file, rendering our old org-release hacks
unnecessary. This may cause breakages for uses who do deep clones of
org-plus-contrib; needs testing.
2019-11-19 20:29:22 -05:00
Rudi Grinberg
3353727452 Add binding for setting effort
The org-clock-modify-effort-estimate is only useful after we've clocked
in a task.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-11-15 16:04:01 +09:00
Henrik Lissner
781238f986
lang/org: alphabetize localleader keys 2019-11-12 15:24:01 -05:00
Henrik Lissner
89893719dc
lang/org: bind <localleader>cr -> org-clock-report 2019-11-10 13:53:26 -05:00
Henrik Lissner
69c4964e3b
Move org-agenda-clock-cancel to <localleader>cx
To match lang/org's <localleader>cx keybind
2019-11-10 13:44:23 -05:00
Rudi Grinberg
396b433ae0 Add clock bindings to org agenda
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-11-10 19:10:49 +09:00
Henrik Lissner
30a5cb2f1a
Merge pull request #2012 from jdnavarro/develop
lang/org: add org-archive-subtree keybind
2019-11-10 04:32:24 -05:00
Henrik Lissner
d3d51e32a2
lang/org: remove unusable localleader keybinds #2042
These commands only make sense in org-agenda-mode, specifically.
2019-11-10 01:23:27 -05:00
Henrik Lissner
9cb535043c
Merge pull request #2005 from RBckmnn/FixOrgAttach
lang/org: fix org-attach keybinds
2019-11-05 18:48:34 -05:00
Danny Navarro
d05c970708
Add org archive keybinding 2019-11-04 10:48:06 +00:00
Henrik Lissner
6cc4c71872
Initialize Doom in ob-async session #2010 2019-11-04 03:37:44 -05:00
Henrik Lissner
95c3682716
lang/org: revert e19069aa9
It ended up convoluting the load order, which makes customizing their
keybinds more complicated than they need to be.
2019-11-02 18:43:03 -04:00
Ralf Beckmann
d8ed171f0c Fixed keybindings to org-attach commands 2019-11-02 17:20:28 +01:00
Henrik Lissner
61aebae782
lang/org: don't persist active clocks
Only their history.
2019-11-01 14:45:38 -04:00
Henrik Lissner
be196cbe39
lang/org: replace deprecated file+datetree 2019-11-01 14:09:25 -04:00
Henrik Lissner
e72d3bd2b0
lang/org: slightly larger org-capture popup 2019-10-31 23:57:01 -04:00
Henrik Lissner
09e923e14b
lang/org: fix oversized *Org Select* popup 2019-10-31 23:54:49 -04:00
Henrik Lissner
e19069aa97
lang/org: load evil-org{,agenda} a little sooner
This allows users to customize their keybinds with (after! org ...)
or (after! org-agenda ...) blocks (i.e. they don't need to be aware of
evil-org/evil-org-agenda to customize their keybinds).
2019-10-31 23:54:36 -04:00
Henrik Lissner
51defe93ce
lang/org: don't ask for permission to run elisp links
We'll trust the user to know what they're doing
2019-10-31 23:13:03 -04:00
Henrik Lissner
c80413fabc
lang/org: include full datetime in notes/changelog entries 2019-10-31 23:12:35 -04:00
Henrik Lissner
249a9aab6d
lang/org: use checkbox keyword for personal todo captures 2019-10-31 23:12:02 -04:00
Henrik Lissner
1cd7438f1f
lang/org: add journal org-capture template 2019-10-31 23:09:26 -04:00
Henrik Lissner
040fcfcffa
lang/org: add centralized org-capture project targets
For saving project todos/notes/changelogs in a central
{org-directory}/projects.org file, under {Project
Name}/{Tasks,Notes,Changelog} headings.

If you want to prefix the outline path, you can specific a :parents
property. e.g.

  (after! org-capture
    (org-capture-put :parents '("Projects")))

or

  (dolist (key '("ot" "on" "oc"))
    (setf (alist-get key org-capture-templates)
          (append (alist-get key org-capture-templates)
                  '(:parents ("Projects")))))

Also sets :kill-buffer t by default, for all org capture templates.
2019-10-31 22:45:59 -04:00
Henrik Lissner
0b8e7a27b6
Minor refactoring/reformatting across the board 2019-10-31 14:35:07 -04:00
Henrik Lissner
89e617622d
lang/org: fix 'project changelog' org-capture target
Was opening 'notes.org' rather than 'changelog.org'
2019-10-29 18:19:02 -04:00
Henrik Lissner
2d36c0f9a7
lang/org: fix STRT keyword shortcut (d -> s) 2019-10-29 11:36:46 -04:00
Henrik Lissner
53d8c97cb0
lang/org: fix eldoc display in org-mode 2019-10-29 01:10:24 -04:00
Henrik Lissner
66934f982a
lang/org: replace DOIN w/ STRT; use 'd' for DONE
STRT is more distinct from DONE, and 'd' is a better shortcut for DONE.
2019-10-28 23:23:13 -04:00
Henrik Lissner
bec1891a3d
lang/org: reformat UI config; setq-default -> setq 2019-10-28 23:23:13 -04:00
Henrik Lissner
7b9c13f25f
lang/org: expand refile commands
Changes 'SPC m r' into a prefix with multiple refiling commands.
2019-10-28 23:23:13 -04:00
Henrik Lissner
bb383d3ede
lang/org: present full paths on org-refile
This makes refiling with multiple file targets far, far more palatable.
2019-10-28 23:23:12 -04:00
Henrik Lissner
53433d9c37
lang/org: default org-refile targets to current buffer 2019-10-28 23:23:12 -04:00
Henrik Lissner
987cece946
lang/org: only reset latex background on theme load
Otherwise, many of these settings will overwrite user's customizations.

Fixes #1969
2019-10-28 23:23:12 -04:00
Henrik Lissner
a022cfd705
lang/org: refactor org keywords & respect underlying faces 2019-10-27 14:06:47 -04:00
Henrik Lissner
5f00db871e
lang/org: major refactor & add org-fancy-priorities package
- Fixes an issue where evil bindings weren't working in org-mode
- Significantly slims down on unnecessary keybinds
- Remove +org-init-keybinds-for-evil-h hook and reli more on our new
  evil-org fork, which has upstreamed some of our changes.
- Documents undocumented functions, remove unnused ones, and reorganize
  org's autoload libraries by convention.
- Adds org-fancy-priorities for more elegant (and subtle) priority
  display than ugly [#A] tags.
2019-10-25 20:25:20 -04:00
Henrik Lissner
334c309ae7
lang/org: org-clock-out-remove-zero-time-clocks = nil
Half-reverts 29f6db6ea. Hadn't realized this setting would remove
the *entire* logbook if you clock out with sub 1m on a task.

Mentioned by @d1egoaz in 29f6db6
2019-10-24 15:04:08 -04:00
Henrik Lissner
b556fa7d3f
lang/org: explain org-babel-js-function-wrapper setting 2019-10-23 18:05:15 -04:00
Henrik Lissner
fb28586795
lang/org: use fork of evil-org
First step to fixing its issues.

Relevant to #1897, #1828
2019-10-23 18:00:11 -04:00