Commit graph

1263 commits

Author SHA1 Message Date
Yiming Chen
ca63b0bbfc ui/popup: respect :select nil when reusing a window
- before this change: when reusing a window, select option would get ignored
- after this change: when reusing a window, select option would be used
  just as a new popup
2019-12-04 08:20:17 +08:00
Rudi Grinberg
0bd0ac4ab9 Popup rules for more builtin types
process, timer, abbreviations, output, occur buffers are all better
displayed in a maximized fashion. Otherwise, they aren't really useful.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-12-03 23:38:00 +07:00
Henrik Lissner
5ad4a018b1
ui/hl-todo: map keywords to faces, not color strings
Future proofs changes the loaded them.
2019-12-02 20:22:00 -05:00
Brian Wignall
199a6fab79 Fix typos 2019-12-01 22:31:19 -05:00
Henrik Lissner
2326379d68
ui/doom: swap bg for doom-{snazzy,spacegrey,tomorrow-night} 2019-12-01 15:42:05 -05:00
Henrik Lissner
35ce37532b
ui/workspaces: merge +ivy/workspace/switch-to into +workspace/switch-to
Relevant to #2127
Closes #2130
2019-12-01 15:41:28 -05:00
Rudi Grinberg
4b77b413c5 Add ivy command for workspace switching 2019-12-01 16:13:40 +07:00
Rudi Grinberg
dd004dea79 Easier creation of named workspaces
When a user tries to switch to a named workspace that doesn't exist,
creat it, instead of just failing.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-12-01 15:10:51 +07:00
Henrik Lissner
a0e9981210
ui/popup: update configuration section in README 2019-11-25 13:51:23 -05:00
Henrik Lissner
a923f93cab
ui/window-select: fix other-window keybind 2019-11-24 16:50:47 -05:00
Henrik Lissner
ceb17e0e29
Merge pull request #2102 from seanfarley/smf/irc
ui/modeline: add irc-buffers back
2019-11-21 20:22:30 -05:00
Sean Farley
d5d5c08658 modeline: add irc-buffers back
Now that doom-modeline #260 is resolved, `irc-buffers' is back so let's
add it back to the `special' modeline definition.
2019-11-21 17:16:42 -08:00
Henrik Lissner
fb13b902b0
Minor comment/doc revision & refactors 2019-11-21 14:46:45 -05:00
James Ravn
825557895c
Merge branch 'develop' of https://github.com/hlissner/doom-emacs into download-iosevka 2019-11-20 09:47:52 +00:00
Henrik Lissner
25e5c66777
Fix 'irc-buffers is not a defined segment' error
It was merged into irc segment upstream:
seagle0128/doom-modeline/dcc57fd4
2019-11-16 13:24:29 -05:00
Henrik Lissner
254be475ad
Merge pull request #2009 from bennofs/fix-hydra-flash
Avoid nav-flash after each hydra action
2019-11-12 16:19:22 -05:00
Benno Fünfstück
e0d9ef80e0 Fix coding style 2019-11-11 22:02:45 +01:00
Henrik Lissner
fbf9010c80
Log benchmark whether or not dashboard is enabled 2019-11-08 16:02:06 -05:00
Henrik Lissner
c37bdf71d1
Demote "no more buttons" error to warning
If the shortmenu or buttons were disabled, this error would break the
dashboard (and Doom).

Mentioned in #2024
2019-11-08 16:02:06 -05:00
Henrik Lissner
99cd52e70f
💥 Drop Emacs 25.x support
Emacs 26.1 is Doom's new minimum supported version

Closes #2026
2019-11-08 16:02:06 -05:00
James Ravn
34e30e0f39
Add +pretty-code/install-iosevka-font 2019-11-08 10:47:32 +00:00
Henrik Lissner
f4e641950c
Minor, general refactors 2019-11-05 18:46:07 -05:00
Henrik Lissner
2bf74158fd
Minor refactors across the board 2019-11-04 03:37:54 -05:00
Benno Fünfstück
280da15280 Avoid nav-flash after each hydra action
Hydra displays the hints in a buffer created by lv-window, which
triggers nav-flash. By advicing lv-window, we can inhibit the nav-flash
hook.
2019-11-03 23:04:06 +01:00
Henrik Lissner
a93f097f78
ui/nav-flash: factor out redundancy 2019-11-03 16:27:17 -05:00
Henrik Lissner
d10c2f6cb9
ui/pretty-code: fix duplicate in fira ligatures
Relevant to #743
2019-11-03 14:17:03 -05:00
Henrik Lissner
a074a2c851
ui/popup: let completion popups handle themselves
Fixes #1976
2019-11-01 22:31:05 -04:00
Henrik Lissner
9fa447a83b
Remove SPC DEL binding
Instead, 'ga' (or calling `what-cursor-position`) will trigger
nav-flash, to serve as the "where's my cursor" command from now on.

Closes #1883
2019-10-30 22:09:52 -04:00
Henrik Lissner
effee30138
ui/nav-flash: don't trigger on mouse click 2019-10-29 18:19:02 -04:00
Gerry Agbobada
d0101b661c Add Readme for hydra module 2019-10-29 20:17:03 +01:00
Henrik Lissner
bc8dd82590
Merge pull request #1972 from rgrinberg/ignore-send-mail
ui/popup: ignore send mail buffers
2019-10-29 01:25:19 -04:00
Henrik Lissner
be08f9794e
Fix nav-flash being suppressed
By a variable that will (almost) always be non-til.
2019-10-28 23:23:14 -04:00
Henrik Lissner
74d87a1e24
ui/pretty-code: minor reformatting 2019-10-28 23:23:14 -04:00
Henrik Lissner
d347574d30
Fix #1973: selected region survives switching workspaces
Leaving behind ineffectual region highlights
2019-10-28 23:23:13 -04:00
Rudi Grinberg
0e0fa37b22 [popup] ignore send mail buffers
[C-x m] should not appear in a popup.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-10-28 12:20:35 +09: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
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
4ccb69dbd0
ui/workspaces: fix unrenamed workspace on project-switch #1942 2019-10-25 02:42:54 -04:00
Henrik Lissner
3a7f84cfe2
ui/ophints: make 'gr' highlight async 2019-10-25 02:38:15 -04:00
Henrik Lissner
7f317e32ca
ui/ophints: integrate 'gr' operator w/ evil-goggles 2019-10-24 19:50:54 -04:00
Clement Busschaert
82ecfac39c
ui/modeline: fix ligature advice for hlissner#1216 2019-10-24 22:24:39 +02:00
Henrik Lissner
2cd06d23cd
ui/modeline: rename fancy-battery -> battery
The fancy-battery segment was removed upstream:
seagle0128/doom-modeline/commit/93135d4
2019-10-24 15:45:55 -04:00
Henrik Lissner
3f6dfe8eac
ui/modeline: fix ligature advice for #1216 2019-10-24 14:31:50 -04:00
Henrik Lissner
909c277968
ui/modeline: fix ligature/all-the-icons conflict #1216
Relevant to seagle0128/doom-modeline#69
2019-10-23 18:05:08 -04:00
Henrik Lissner
74cad2632b
ui/popup: use old alist use-case for set-popup-rule!
This paradigm has been long since abandoned.
2019-10-21 06:26:57 -04:00
Henrik Lissner
b3a0fb9fc7
ui/popup: correct docstring of set-popup-rule!
Predicate functions take two arguments.
2019-10-21 06:26:57 -04:00
Henrik Lissner
06be259b6d
Merge pull request #1919 from aidangilmore/pragmata-pro-update
ui/pretty-code: update PragmataPro Ligatures
2019-10-20 19:59:58 -04:00
Henrik Lissner
e7f492c400
ui/popup: fix "back to top level" issue
The popup manager (by default) auto-kills most popup buffers after
~5s (controlled by the :ttl property). However, when backtrace buffers
are killed, it calls `top-level`. When the popup manager kills the
buffer, this causes janky cursor movement and the message "Back to top
level" to be displayed in the minibuffer.
2019-10-20 19:57:27 -04:00
Henrik Lissner
e0469e14c0
Minor refactors & reformatting across the board 2019-10-20 19:57:27 -04:00
Aidan Gilmore
7784b2215b
Update PragmataPro Ligatures 2019-10-19 17:16:39 -04:00