Commit graph

11843 commits

Author SHA1 Message Date
Henrik Lissner
23d36d3c27
Rebind 'C-{-,=}'; bind 'M-C-{-,=}'
The former is buffer-local, the latter is frame-local.
2019-10-26 23:44:29 -04:00
Henrik Lissner
bf8cc9b007
Improve font resizing commands
- doom/increase-font-size no longer resets the font when resizing back
  to 0 (causing an inelegant flash of the frame).
- doom/reset-font-size will now reset text-scale, as well, if it is
  being used.
- doom/*-font-size commands have been changed to only affect the current
  frame.
- doom-big-font-mode will now affect all frames (since minor modes can't
  be frame-local).
2019-10-26 23:44:29 -04:00
Henrik Lissner
ccf7197acf
lang/emacs-lisp: print string repr of evaluated result
This makes the return type of the evaluated result clearer at a glance.
2019-10-26 23:44:29 -04:00
Henrik Lissner
73b8a5b496
Redo which-key labels for 'SPC h d' & 'SPC h r'
Renders #1959 obsolete
2019-10-26 23:44:29 -04:00
Henrik Lissner
c25fec5364
Replace 'SPC h R' with 'SPC h r r' 2019-10-26 23:44:29 -04:00
Henrik Lissner
3c6f48f9ec
Move evil & corrective keybinds to respective modules
Keybinds that correct behavior or provide or extend vim functionality
were moved to their respective modules, or to the :editor evil module.

Keybinds in the global space, that are particularly opinionated but
potentially harmful or imposing as a default, or likely for users to
change (like leader keys), are kept in config/default.
2019-10-26 23:44:28 -04:00
Henrik Lissner
c360f0dceb
Minor refactor & comment/docstring revision 2019-10-26 23:44:28 -04:00
Henrik Lissner
5b1dc3c63f
Support INSECURE envvar (again) 2019-10-26 23:44:28 -04:00
Henrik Lissner
515fba2fda
Merge pull request #1950 from mnick/notmuch
email/notmuch: general improvements

- Filter read messages in notmuch show (by folding them automatically)
- Refresh all notmuch buffers after sync (via process sentinel)
- Support custom sync commands (introduces an additional defvar)
- Add command to select From email prior to composing via ivy
2019-10-26 22:42:02 -04:00
Max Nickel
3a20e09eab fix notmuch keybind typo 2019-10-26 15:42:25 -04:00
Max Nickel
e122c55718 add basic bindings for notmuch 2019-10-26 14:05:40 -04:00
Max Nickel
a4050a153d generalize notmuch/ivy-compose to notmuch/compose (completing-read) 2019-10-26 14:02:56 -04:00
Henrik Lissner
66c45b2f8d
editor/snippets: update doom-snippets recipe 2019-10-26 13:48:01 -04:00
Henrik Lissner
b0106e2ac7
emacs/dired: replace 18f20a531 w/ 'quit-all' command #1937
There are a few workflows where having multiple buffers (e.g.
side-by-side) is preferrable, however, `dired-find-alternate-file` kills
the old buffer indiscriminately.
2019-10-26 13:39:52 -04:00
Max Nickel
e279409bbd sharp-quote notmuch-show hook 2019-10-26 13:38:06 -04:00
Henrik Lissner
311bdf100e
docs/faq: mention 'doom refresh' under enable/disable modules 2019-10-26 13:30:53 -04:00
Henrik Lissner
1dd73b7486
Integrate helpful into doom/describe-active-minor-mode 2019-10-26 13:30:53 -04:00
Henrik Lissner
c6c8a33eb6
Merge pull request #1958 from mahajan-abhay/develop
Add pyim package to :input chinese
2019-10-26 13:18:08 -04:00
mahajan-abhay
a945a3ab69
Update packages.el 2019-10-26 15:33:46 +05:30
Gerry Agbobada
b1e8ee7175 Add 'Search Documentation' button to dashboard (#1955)
* Add an FAQ action to doom-dashboard

* Separate faq and user manual

This is necessary until I can dispatch properly the (file-exists-p)
conditions in the :action part of the variable.

The issue is that the value in :action needs to be a symbol (symbolp)
and the (if COND THEN ELSE) form does not match this.

* Use doom/help-search if (or faq.org manual.org)

Since the function searches through the (in-progress) manual and faq

* Remove :when condition from Search Documentation

This condition is unnecessary since doom/help-search now always at least
lists the modules from doom/help-modules
2019-10-26 04:15:32 -04:00
Henrik Lissner
68f2ac4d8c
completion/ivy: ivy-height = 17
20 was too tall!
2019-10-26 04:06:10 -04:00
Henrik Lissner
71e85b4d58
tools/lsp: update README 2019-10-26 04:05:34 -04:00
Henrik Lissner
a4aae9c3a7
completion/ivy: ivy-height = 20
Ivy is a bit cramped otherwise
2019-10-26 03:58:08 -04:00
Henrik Lissner
d2fe021bd9
tools/eval: display in minibuffer if below threshold
If it's just a couple lines, display in minibuffer instead.
2019-10-26 03:54:09 -04:00
Henrik Lissner
36c9f7c333
tools/eval: fix popup when +overlay is disabled 2019-10-26 03:53:54 -04:00
Henrik Lissner
f6df219544
Improve error when featurep! can't see current module 2019-10-26 02:13:40 -04:00
Henrik Lissner
945eb7e064
editor/multiple-cursors: minor refactor 2019-10-26 02:12:59 -04:00
Henrik Lissner
9b3f21a9bc
Optimize doom/help-search
Yields a ~80% decrease in indexing time.
2019-10-26 02:12:58 -04:00
Henrik Lissner
d0ae6c9bda
Merge module list into doom/help-search 2019-10-26 02:12:58 -04:00
Henrik Lissner
592c548b24
Fix ref to renamed function in doom/help-* helper
And improve their UX by displaying a loading message while Doom crawls
the headings.
2019-10-26 02:12:58 -04:00
Henrik Lissner
7c54478335
Ensure doplist! has no side effects 2019-10-26 02:12:58 -04:00
Henrik Lissner
a78e89bbf8
tools/eval: update README 2019-10-26 02:12:58 -04:00
Henrik Lissner
84a063ca78
tools/eval: add +overlay feature
Now, inline evaluation will display results in an overlay next to the
cursor, rather than in the minibuffer (unless it gets too big, in which
case it'll use a popup buffer).
2019-10-26 02:12:58 -04:00
Henrik Lissner
c2f6aa3e9d
Remove duplicate straight-are-you-sure advice 2019-10-26 00:58:26 -04:00
Henrik Lissner
177eb9f4cb
config/default: expand 'SPC n' prefix
I got 99 problems, but my notes ain't one
2019-10-26 00:38:30 -04:00
Henrik Lissner
83387d89e9
editor/evil: move vim-unimpaired motions
To the unimpaired library
2019-10-26 00:37:51 -04:00
Henrik Lissner
f2b77fe2c0
Add whole-buffer (g) and defun (f) text objects 2019-10-26 00:37:12 -04:00
Henrik Lissner
187c9857c4
Don't clone editorconfig's submodules
They're only unit tests.
2019-10-26 00:35:47 -04:00
Henrik Lissner
c990c50fb8
Force straight to fall back to tty prompts
Otherwise it tries to use popups, which are invisible in non-interactive
Emacs, causing Emacs to block indefinitely.
2019-10-26 00:35:47 -04:00
Henrik Lissner
07067bd304
lang/org: reformat packages.el 2019-10-25 20:29:00 -04:00
Henrik Lissner
cf21cdc68c
completion/ivy: minor refactor 2019-10-25 20:25:21 -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
9f8277b2c4
Correct doom/reload-autoloads docstring 2019-10-25 20:25:20 -04:00
Henrik Lissner
9936bd9623
Add 'SPC h d {k,i,c}'
For jumping to init.el, config.el and packages.el
2019-10-25 20:25:20 -04:00
Henrik Lissner
3f759dde23
Optimize file-template find-file hook function 2019-10-25 20:25:20 -04:00
Henrik Lissner
d8ea65b968
emacs/vc: if prefix ARG, open region/line on master branch 2019-10-25 20:25:20 -04:00
Henrik Lissner
467bd53b70
config/default: bind 'SPC b {K,Z}'
- 'SPC b K' -> kill all buffers (clear session)
- 'SPC b Z' -> kill all buried buffers
2019-10-25 20:25:20 -04:00
Henrik Lissner
4478fceaf5
lang/emacs-lisp: add 'SPC m e l' & 'SPC m g l'
For loading libraries and jumping to their source code.
2019-10-25 20:25:20 -04:00
Henrik Lissner
019308a93c
Merge pull request #1954 from gagbo/fix/faq_absolute_paths
docs/faq: fix absolute paths
2019-10-25 12:45:27 -04:00
Gerry Agbobada
0fd21c2064 Fix paths in the FAQ 2019-10-25 18:43:23 +02:00