Commit Graph

202 Commits

Author SHA1 Message Date
653161fe2e lang/org: refactor org config load order
- No longer use org-load-hook; it was unnecessary and there were corner
  cases where org would get loaded before hooks were added to it.
- Update comments
- Remove config that was redundant with org's defaults (wrt org-file-apps)
- Perform persp-mode check before using persp-mode API in
  +org|exclude-agenda-buffers-from-workspace advice.
- Update outdated smartparens config and move it out of
  org-mode-hook (only needs to be run once, not everytime org-mode is
  enabled)
- Autoload mode hooks
2019-04-10 18:47:21 -04:00
3da6c23d75 lang/org: restore org-shifttab on S-TAB
For evil users
2019-04-10 18:09:32 -04:00
af4ca974a3 lang/org: add +protocol module #257
Adds lazy-loaded support for org-protocol as a basis for features to
come.
2019-04-07 17:28:46 -04:00
d947e15472 lang/org: add SPC m . and / keybinds for org-goto
And remove imenu remaps, they weren't behaving correctly.
2019-04-05 04:33:26 -04:00
035a0a50e6 lang/org: change many org localleader keybinds
- Moves `SPC m s' to `SPC m b'
- Adds many new org-clock and org-goto keybinds
- Replaces imenu/imenu-anywhere with goto and goto-all
- Adds SPC m s -> org-schedule
- Move SPC m b -> SPC m , (org-switchb)
2019-04-05 04:12:56 -04:00
31ca94f5b0 lang/org: remove unnecessary alias 2019-04-04 19:00:56 -04:00
6084b774b8 lang/org: refactor and add keybinds for org tables
This update focuses on improving the key UX of org tables.

- Adds new table localleader keys under `SPC m s'
- Adds new localleader keybinds
  - New `s` prefix for table commands
  - New `f`/`F` keybinds for footnotes
  - New `'` keybind for `org-edit-special`
  - New `r` keybind for `org-refile`
- Bind localleader keys for both evil and non-evil users
- Refactors org table API
- For evil users:
  - Adds `zi` to toggle inline images
  - Finalize insert-mode keybind scheme for evil users (ala excel/gdocs)
    - C-{h,j,k,l} = move cursor between cells
    - C-M-{h,j,k,l} = insert cells in direction
    - C-M-S-{h,j,k,l} = swap cells in direction
2019-04-04 18:52:25 -04:00
bf2aedc510 lang/org: rethink flyspell keybinds
- Remove ]s/[s keybinds in org-mode (rebound to ]c/[c); they overwrote
  next/prev flyspell error commands (which are vim defaults)
- Remove ]S/[S because z= already exists
- Remove redundant ]s/[s global keybinds (already bound by evil)
- Mention missing and evil's flyspell keybinds in a comment
2019-04-04 13:50:44 -04:00
5e88c23411 Add evil jumplist support to org-open-at-point 2019-03-22 00:31:20 -04:00
3e2779da39 Refactor leader/localleader keybinds
- Some buffer-local commands were removed from leader binds
- Some more commands were added to org's localleader
- Reformatted some leader keys so that lower/upper case keys are grouped
  together, rather than apart.
- Add SPC-s-c and SPC-s-e for creating/using temporary snippets (with
  auto-yasnippet).
2019-03-14 18:38:51 -04:00
90f36bceff Undo 1f23eecd: un-homogenize TAB/RET/ESC
This is more trouble than its worth. Better to deal with the old edge
cases than the new ones this causes.

Addresses #1218
2019-03-14 17:59:24 -04:00
b9bbc95f1b Fix void-variable org-file-apps error #1232
Snuck in during fa26dc12
2019-03-08 14:26:25 -05:00
fa26dc1269 Refactor lang/org 2019-03-08 02:37:33 -05:00
9d30b411c2 lang/org: bind dwim-at-point to RET instead #1218
[return] is treated as a different key (with higher precedence in GUI
Emacs), which means it overwrites RET behaviors bound elsewhere, like in
config/default or minor mode maps (like evil-multiedit's).
2019-03-05 18:37:50 -05:00
ec0fe7808e Don't hardcode :weight bold into org-todo keywords
It would undermine any attempt by users to disable bold fonts.
2019-03-02 12:38:15 -05:00
9ed9daa79f No longer disable line numbers in org-mode
Now that doom-themes no longer imposes variable height heading fonts.
However, if you use them yourself, you may want to disable line numbers
there yourself via

  (add-hook 'org-mode-hook #'doom|disable-line-numbers)
2019-03-02 02:04:11 -05:00
024f383a08 lang/org: add full link at point display to eldoc 2019-02-24 13:47:53 -05:00
c13fd6eddc lang/org: fix C/s-RET keybinds for evil users 2019-02-11 14:11:52 -05:00
b461c99d86 lang/org: fix C-RET/s-RET in org-mode #1146 2019-02-03 18:51:55 -05:00
a337c1bd4e lang/org: generalize newline keys
To make them available to both emacs/evil users.
2019-01-22 19:29:13 -05:00
6e57350277 lang/org: restore meta return keybinds 2018-12-31 15:57:06 -05:00
448f2e55e5 lang/org: update localleader keybinds
To better suit the new map!
2018-12-25 02:32:53 -05:00
70a4db49d1 lang/org: fix C-S-return & S-s-return keybinds 2018-12-24 02:43:32 -05:00
f9b72545b7 Replace def-org-file-link! with function
A macro is overkill for this.
2018-12-23 23:55:14 -05:00
3f195614d9 Normalize :leader/:localleader keybinds
Evil states no longer apply to them. Also removes x-alt-keysym.
2018-12-23 23:54:27 -05:00
936f13744b lang/org: improve error handling for remote image previews 2018-10-18 12:54:37 -04:00
b2927955e7 lang/org: move org-yt out of +attach in config.el 2018-10-18 12:51:35 -04:00
ecaa8fc7cd lang/org: move custom links into new hook function 2018-10-18 12:50:39 -04:00
b1f249afab lang/org: lazyload & refactor org-pdfview 2018-10-15 00:14:27 -04:00
251e9c0244 When :tools pdf is enabled, open org links to pdfs with pdf-view-mode 2018-10-10 22:00:30 +02:00
cdf745e72a map!: remove buffer-local :desc properties
which-key labels are registered globally, and will not work for
buffer-local keybinds. Until general is brought in, we'll have to suffer
label-less localleader keybinds.
2018-10-07 21:34:24 -04:00
f416e28857 lang/org: refactor default org-todo-keyword-faces
To ensure consistency
2018-10-06 20:57:43 -04:00
649b0795de fix org/config typo
In toplevel form:
../modules/lang/org/config.el:380:1:Warning: Unused lexical variable
    ‘seperator’

Signed-off-by: Edwin Török <edwin@etorok.net>
2018-10-04 00:38:05 +01:00
05160a6526 lang/org: default org-agenda-files to org-directory 2018-09-30 15:14:01 -04:00
078e3028a6 Minor, general comment revision 2018-09-28 21:02:59 -04:00
01dde97776 lang/org: tweak org-todo-keywords{,-faces} 2018-09-26 20:44:54 -04:00
736bdeb205 lang/org: fix variable font-size for agenda paths
When you hover your cursor over agenda items, the path to that headline
is displayed in the minibuffer. If org-level-N have unusual :height
values, they'll cause the minibuffer to grow.

This removes any variable font sizes from this display.
2018-09-22 01:37:47 -04:00
9726a982d1 lang/org: revise org-modules & revise load order
Improves the startup performance of org-mode by disabling modules I
don't think are commonly used (it's easy to add back however).
2018-09-21 22:42:26 -04:00
5ef94de541 Minor refactor, reformat & comment revision 2018-09-18 21:39:54 -04:00
b7be38b2a9 New incremental lazy-loading at startup
This is for loading large packages (like org and magit) quietly in the
background during idle time. It is already set up to incrementally load
org and magit.

This is still experimental, however. the idle timers may need to be
tweaked.
2018-09-18 11:42:35 -04:00
90f0765cfb lang/org: set default for org-refile-targets
So org-refile can see your agenda files and files adjacent to the
current one.
2018-09-09 09:58:22 -04:00
95fa12390d lang/org: fix unfontified remote links 2018-09-09 09:58:21 -04:00
7d3ffdff06 Remove third line in section headers
This is truly important stuff. We've saved many lives with this update.
2018-09-09 09:58:19 -04:00
a4250afb49 lang/org: Add evil-friendly calendar navigation 2018-08-27 23:55:22 +02:00
64a88385cb lang/org: make shiftab respect org-cycle-separator-lines #800 2018-08-21 02:56:54 +02:00
aa9b0a8b94 lang/org: set org-cycle-separator-lines to default
Relevant to #800
2018-08-21 02:56:54 +02:00
44472d3ee8 lang/org: use unicode separator for eldoc 2018-08-04 18:24:54 +02:00
d504c4bafe lang/org: respect inherited foreground in eldoc 2018-08-04 18:23:53 +02:00
b846a40af4 Remove unused letvar, spec 2018-07-30 23:03:34 +02:00
35e5a47e9f Rewrote indentation detection
More robust and easier to customize.
2018-07-29 19:31:32 +02:00