Commit graph

6732 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
eb2a67d05f
Merge pull request #1953 from darth10/develop
lang/org/doctor: warn if gnuplot is not installed
2019-10-25 05:17:44 -04:00
Akhil Wali
e60db77511 [org +gnuplot] Warn if gnuplot is not installed 2019-10-25 22:13:01 +13:00
Henrik Lissner
4ccb69dbd0
ui/workspaces: fix unrenamed workspace on project-switch #1942 2019-10-25 02:42:54 -04:00
Henrik Lissner
54559d567a
tools/magit: hide modeline in magit-popups
Since magit-gitflow still uses the old magit-popups, rather than
transient.
2019-10-25 02:38:15 -04:00
Henrik Lissner
3a7f84cfe2
ui/ophints: make 'gr' highlight async 2019-10-25 02:38:15 -04:00
Henrik Lissner
923a0a58b6
tools/flycheck: prevent flycheck popup buffer taking focus
When tooltip/childframe is off, long errors can spawn a popup window
that, by default, will steal input focus. No more!

Reported by @rgrinberg
2019-10-25 02:38:04 -04:00
Max Nickel
5b3989f3e1 fix removal of unread hook when filtering messages 2019-10-24 22:39:45 -04:00
Max Nickel
00ec885eaa add command to select From email via ivy prior to composing 2019-10-24 22:39:17 -04:00
Max Nickel
d73ebf0815 refresh notmuch buffers after sync and add support for custom sync 2019-10-24 22:39:02 -04:00
Max Nickel
5324cb2fc8 only show unread messages in notmuch-show threads (fold read msgs) 2019-10-24 22:38:50 -04:00
Max Nickel
07d219a300 add support for deleting messages in notmuch-show 2019-10-24 22:38:31 -04:00
Henrik Lissner
7f317e32ca
ui/ophints: integrate 'gr' operator w/ evil-goggles 2019-10-24 19:50:54 -04:00
Henrik Lissner
a940d07e4b
tools/eval: minor refactors 2019-10-24 19:23:17 -04:00
Henrik Lissner
7f44774c43
lang/faust: fix unfiltered code completion 2019-10-24 19:22:15 -04:00
Henrik Lissner
c649401a92
Fix s-/ for non-evil users 2019-10-24 19:02:16 -04:00