Commit graph

11454 commits

Author SHA1 Message Date
Valentin Ignatev
7ffc5d3134 Call renamed hook in the +cc/reload-compile-db autoload 2019-09-01 16:23:04 +03:00
Uros Perisic
3996b01457 Add helm-org (bound but not installed). 2019-08-31 19:45:15 +08:00
Rudi Grinberg
88fc054919 Use straight for agda
We can fetch the mode directly from straight. There's no need to rely on
having this .el file installed for us. Now agda's el files can be edited
directly like all other emacs packages.

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-08-31 09:45:13 +07:00
Uros Perisic
9589f6e372 Load hydra examples without using example hydras.
`+hydra/window-nav` uses functions from `hydra-examples.el` but the file
is never loaded. Adding this does not actually define any hydras (this
would require `hydra-examples-verbatim` to be `t`), it just load the
utility functions to make the hydras defined in doom work.
2019-08-30 13:58:08 +08:00
Henrik Lissner
d1a299b9f5
Fix #1719: sole :when in def-project-mode! 2019-08-29 20:05:34 -04:00
Sean Farley
c55676d221 cli/upgrade: add timeout flag
Since there is a lot of logic in `bin/doom upgrade` than just running
two commands, I thought we should also add a timeout flag just like
`update` has.
2019-08-29 17:03:42 -07:00
Henrik Lissner
3a10e948aa
Fix #1718: void-function set-fontset-font
Occurs when Emacs is built without X server/GUI support.
2019-08-29 18:52:33 -04:00
Henrik Lissner
9bbc77c2c7
Focus org-capture frame on MacOS 2019-08-29 18:45:20 -04:00
Jakub Darul
f7f4c39492 fixed formatting 2019-08-29 20:43:52 +02:00
Jakub Darul
ba69c9efe4 added featurep codition to keybindings
includes popup, flycheck, flyspell, org +present, indent-guides
2019-08-29 20:38:56 +02:00
Undead Kernel
521ff7ac1a lang/org: smarter smartparens in org src blocks
While point is in a babel src block, do not autoexpand emphasis markers.
2019-08-29 15:43:53 +02:00
Henrik Lissner
21883d9700
lang/javascript: fix npm-mode keybinds #1712 2019-08-28 22:41:31 -04:00
Henrik Lissner
aecf3e4e63
Remove unnecessary interactive check in init.el
init.el should never be sourced non-interactively.
2019-08-28 22:08:13 -04:00
Henrik Lissner
19899dac82
Fix inverted condition in package-archives assembly 2019-08-28 22:08:13 -04:00
Henrik Lissner
081f09aac8
Fix 'doom run' #1724 2019-08-28 22:08:13 -04:00
Henrik Lissner
f90cf1f974
Fix +default/org-notes-headlines 2019-08-28 22:08:13 -04:00
Henrik Lissner
b141b4bbd8
Merge pull request #1720 from AloisJanicek/fix-snippets-keybindings
fix function name mismatch in snippets keybindings
2019-08-28 16:49:06 -04:00
Henrik Lissner
f806b54333
Merge pull request #1723 from JakDar/develop
config/default: remove unused floobits & impatient-mode keybinds
2019-08-28 16:48:48 -04:00
Henrik Lissner
75fe17950e
Refactor doom-initialize-packages
Make it reinitialize more if FORCE-P is provided or doom-init-packages-p
is nil.
2019-08-28 16:46:39 -04:00
Jakub Darul
1a95ed263b removed unused floobits and impatient-mode bindings 2019-08-28 21:57:40 +02:00
Henrik Lissner
ccaf92b0d3
tools/magit: don't kill all magit buffers when quitting one
And mark all outdated buffers, rather than just the ones in the current
workgroup.
2019-08-28 15:22:14 -04:00
Henrik Lissner
7727920629
Rewrite doom/reload 2019-08-28 15:19:58 -04:00
Henrik Lissner
09f077259e
lang/javascript: make npm keybinds more accessible #1712 2019-08-28 15:17:59 -04:00
Henrik Lissner
851b51357e
Fix #1712, #1719: project minor modes not activating 2019-08-28 15:17:40 -04:00
Henrik Lissner
9e122c6847
ui/workspaces: fix session restoration
Caused by an inverted buffer filter when saving the current session.
2019-08-28 12:41:00 -04:00
Henrik Lissner
4cc359fd2b
Add SPC b d keybind for killing buffers
Relevant to #1436
2019-08-28 12:41:00 -04:00
Henrik Lissner
1cb9dbb2de
Add evil-switch-to-windows-last-buffer keybinds
SPC ` and SPC b l
2019-08-28 12:40:59 -04:00
Henrik Lissner
16b1456192
lang/org: fix new filepath defaults
...if org is loaded before the module.
2019-08-28 12:40:59 -04:00
Henrik Lissner
464ebabc2a
Add warning to doom/reload (SPC h R) 2019-08-28 12:40:59 -04:00
Alois Janíček
e195d13440
fix function name mismatch in snippets keybindings
some function related to snippets were renamed but their references
weren't updated to reflect this change resulting in error
2019-08-28 11:35:10 +02:00
Henrik Lissner
cbd3a3b252
Fix #1697: use 2.0 branch for ensime package 2019-08-28 00:40:50 -04:00
Henrik Lissner
96e2a7726d
ui/doom: remove 'append in doom-load-theme-hook 2019-08-28 00:40:50 -04:00
Henrik Lissner
78d951bdb0
bin/doom-doctor: resolve symlinks in parent dir
As mentioned in #1718, this fixes an error loading autoload/format when
doom-doctor is called from outside EMACSDIR/bin (e.g. if it is
symlinked).
2019-08-28 00:40:50 -04:00
Henrik Lissner
29614a3187
Merge pull request #1693 from emil-r-petersen/fixup-shortcut
Add leader keybinds for magit-commit-fixup
2019-08-27 16:31:24 -04:00
Henrik Lissner
611786dd01
Merge pull request #1713 from rgrinberg/fix-agda
lang/agda: fix 'SPC m a' keybind (agda2-auto)
2019-08-27 16:28:54 -04:00
Henrik Lissner
880c581c0d
tools/direnv: add README 2019-08-27 12:50:10 -04:00
Henrik Lissner
8ee474889f
bin/doom-doctor: set default-directory
This prevents file errors when running the doctor from directories that
don't exist or you don't have permissions for.
2019-08-27 12:37:38 -04:00
Henrik Lissner
e6c3a012e8
bin/doom: set user-emacs-directory
Fixes an issue where bin/doom wasn't running from the emacs config it
was located in.
2019-08-27 12:36:58 -04:00
Andrew Whatson
4f7adcca7c Add ln to +sh-builtin-keywords 2019-08-28 00:15:33 +10:00
James Ravn
647fe4ce68 Use compile instead of async 2019-08-27 11:02:57 +01:00
Ting Zhou
db5049e13e emacs/dired: minor fix 2019-08-27 00:14:51 -07:00
Rudi Grinberg
d29431d10f Fix keybinding for agda's auto
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-08-27 14:12:05 +07:00
Henrik Lissner
b3c9abfc39
Add :editor word-wrap to modules/README.org 2019-08-27 02:33:57 -04:00
Henrik Lissner
e498a7e2cb
Merge branch 'straight' into develop 2019-08-27 02:01:13 -04:00
Henrik Lissner
9d716dd13d
Merge pull request #1709 from flatwhatson/word-wrap
Add :editor word-wrap module
2019-08-27 01:06:54 -04:00
Andrew Whatson
6381a5c0ae Add :editor word-wrap module
Defines a new minor-mode `+word-wrap-mode` which configures
adaptive-wrap-prefix-mode and visual-line-mode for smart soft-wrapping
of code.

Evil users can toggle it with `SPC t w`.

Enable globally with `+global-word-wrap-mode`.

See the README for more details!
2019-08-27 15:04:38 +10:00
Alexander Fu Xi
6c4d8cd408 tools/pdf: display retina images on Emacs NS-port #1667
* Advice pdf-tools to display retina image on Mac
* Apply to other functions
* hotfix
* remove redundant advice
2019-08-27 00:36:20 -04:00
Henrik Lissner
08dd489a93
lang/org: correct/expand keybinding comments 2019-08-27 00:13:04 -04:00
Henrik Lissner
3fae411918
lang/latex: refactor default viewer resolution
And add evince to list of auto-detected viewers.

This should fix an issue where preview-pane was used regardless of what
viewer(s) were available.
2019-08-27 00:11:52 -04:00
Henrik Lissner
a9b5640d1f
tools/direnv: remove redundant focus-in hook
It's redundant with doom-switch-frame-hook
2019-08-27 00:09:50 -04:00