Commit Graph

5944 Commits

Author SHA1 Message Date
Undead Kernel
5385ee4f35 lang/latex: +pdf-viewers ordering and hook type-o
Previously, the last viewer set in `+latex-viewers` would take
precedence. The list is now reversed before applying changes so that the
first set has precedence.

The wrong hook variable was used to revert view buffers after compilation.
2019-09-26 14:35:44 +02:00
Henrik Lissner
42df2eaf8e Merge pull request #1786 from cnsunyour/develop
Fix variable misspelling (lv-use-separator)
2019-09-15 19:24:51 -04:00
Henrik Lissner
06328840c3 lang/org: split compound condition into two :when's 2019-09-15 19:23:06 -04:00
Henrik Lissner
0d719d6773 Move SPC b o to SPC b O
To make kill-commands a little harder to press accidentally.
2019-09-15 16:22:02 -04:00
Henrik Lissner
20eb5ce4f6 Bind SPC / f to locate/counsel-locate 2019-09-15 16:21:10 -04:00
Henrik Lissner
dc15d471da Bind zn to +evil:narrow-buffer 2019-09-15 16:19:47 -04:00
Henrik Lissner
fdeb1aa45d Prevent evil-collection from loading packages twice
Triggering eval-after-load blocks (and after!/use-package!) twice.
2019-09-15 16:18:31 -04:00
Henrik Lissner
4f7bf8b976 tools/pdf: don't install pdf-tools on load
Now that pdf-tools-install compiles epdfinfo asynchronously, pdf files
are loaded before it is finished, yielding errors while pdf-view-mode
initializes. There is currently no effective workaround;
pdf-tools-install must be executed manually.
2019-09-15 16:16:46 -04:00
Henrik Lissner
e956c0dc5a lang/rust: enable rainbow-delimiters-mode #1787 2019-09-15 12:06:40 -04:00
Sunn Yao
97b32bec15 Fixes wrong variable name: lv-use-seperator 2019-09-15 18:50:46 +08:00
Henrik Lissner
ab8b31e5bc Change behavior of BANG for +evil:narrow-buffer
BANG = use indirect buffers, otherwise, narrow/widen the current buffer.
2019-09-14 18:32:14 -04:00
Henrik Lissner
f7c368c5da ui/workspaces: associate files opened via emacsclient
...with the current workspace.
2019-09-14 18:28:30 -04:00
Henrik Lissner
20d15c685e Fix :narrow ex command 2019-09-14 01:56:38 -04:00
Henrik Lissner
6bef031e25 Bind SPC b - to doom/toggle-narrow-buffer 2019-09-14 01:55:16 -04:00
Henrik Lissner
a736158dae lang/ocaml: update README 2019-09-13 22:04:53 -04:00
Henrik Lissner
2d365619cd General refactor & cleanup, across the board 2019-09-13 22:00:34 -04:00
Henrik Lissner
83c95ddaa0 lang/clojure: general refactor
To optimize load time and conform to new elips conventions introduced
with straight.el integration.
2019-09-13 22:00:34 -04:00
Henrik Lissner
31ccd9be78 Replace vestigial references to def-package!
def-package! is deprecated and is replaced with use-package! to reduce
confusion about its purpose and connection to use-package.
2019-09-13 22:00:34 -04:00
Henrik Lissner
016f6c1b8b lang/scheme: general refactor
To optimize it and conform to new elips conventions introduced with
straight.el integration.
2019-09-13 22:00:33 -04:00
Henrik Lissner
c3997730dd lang/org: rebind zn to org-tree-to-indirect-buffer
To match global behavior of zn (narrow in indirect buffer).
2019-09-13 00:28:08 -04:00
Henrik Lissner
5e6c2205b8 Bind to zn/zN to new narrow/widen (indirect) commands 2019-09-13 00:28:08 -04:00
Jake Coble
d3b1ef72c2 Use org-startup-indented instead of mode hook 2019-09-12 14:04:38 -07:00
Henrik Lissner
a16838b7c2 Merge pull request #1759 from rgrinberg/lean-mode
Add lang/lean module
2019-09-11 23:42:27 -04:00
Henrik Lissner
1c05773c39 General, minor refactors & comment revision 2019-09-11 23:41:08 -04:00
Henrik Lissner
f9feaec5bd lang/web: fix stylus-mode (install sws-mode) #1775
For some reason, even though sws-mode is a declared dependency of
stylus-mode, it doesn't get installed, so we have to do so manually.
2019-09-11 23:41:08 -04:00
Henrik Lissner
b1f9965fe7 lang/python: install lspyls in doom-etc-dir #1776 2019-09-11 23:41:08 -04:00
Henrik Lissner
d866ee3738 ui/popup: conform function to naming conventions 2019-09-10 15:01:00 -04:00
Henrik Lissner
6f6e30c428 ui/popup: refactor org hacks
This removes a few popup advice functions that are no longer necessary
and changes how we handle org agenda windows (they're now displayed in
the current window, rather than a popup -- see org-agenda-window-setup
to change this).

Other issues addressed:

+ Fixes 'Attempt to delete main window of frame' errors when using
  org-todo from popups (particularly in daemon Emacs).
+ Removed the custom 'popup-window options for org-agenda-window-setup
  and org-src-window-setup, and change them to 'current-window and
  'other-window, respectively.
2019-09-10 14:54:13 -04:00
Henrik Lissner
887bc05478 Ensure evil-escape loads later at startup
evil-normal-state-exit-hook is fired prematurely at startup, which makes
it a poor candidate for :after-call deferral.
2019-09-09 23:04:07 -04:00
Rudi Grinberg
8778eb2288 Disable auto initializatinon of company in lean mode
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-10 09:47:56 +09:00
Rudi Grinberg
2527306069 Use map! with after! to setup bindings
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-10 09:47:56 +09:00
Rudi Grinberg
dbf9e9e2c7 Add a module for the lean theorem prover
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-10 09:47:56 +09:00
Henrik Lissner
04c593a765 Remove deleted imenu module from modules/README.org 2019-09-09 15:46:13 -04:00
Henrik Lissner
43d80dcec6 Fix #1692 & stop org-todo from monopolizing frame
How org-todo manipulates the window config has changed upstream.
2019-09-09 14:25:23 -04:00
Henrik Lissner
23509d22c5 Merge pull request #1761 from rgrinberg/coq-bindings
lang/coq: add localleader key bindings
2019-09-08 21:00:33 -04:00
Henrik Lissner
a3a73bd316 Handle non-string/symbol langs in babel lazy loader
Possibly addresses #1745
2019-09-08 20:55:21 -04:00
Henrik Lissner
d0e3bc3455 Fix #1765: enabling tide when lsp is active 2019-09-08 19:20:42 -04:00
Rudi Grinberg
081e57dc10 Add coq key bindings
These bindings are modelled afer the bindings in spacemacs

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-08 17:44:12 +09:00
Henrik Lissner
1539387747 Reformat docs/api.org 2019-09-07 19:57:58 -04:00
Henrik Lissner
f816149589 lang/org: update +org/remove-link
To reflects changes made upstream, in org.
2019-09-07 19:57:58 -04:00
Henrik Lissner
70c60e6583 tools/magit: re-enable magit-todos over tramp
Reverts 9ab49be. TRAMP support was added in
alphapapa/magit-todos@a80dace
2019-09-07 19:57:58 -04:00
Henrik Lissner
8d50280168 lang/agda: reformat map! call
To match other uses of map!
2019-09-07 19:57:58 -04:00
Sunn Yao
e1d1d148c1 lang/plantuml: fix regexp in plantuml--fix-atstart-in-org-src-blocks-a (#1760)
* Fix a regexp bug
* [:blank:] never match '\n', so add '\n' to regexp
2019-09-07 12:16:08 -04:00
Sunn Yao
b6b2d74f25 lang/plantuml: fix src blocks that start w/ @start (#1746)
* Fix advice bug of chinese and japanese
* Fix bugs of advice
* Update config.el
* Fix "@start" prefix execute error on ob-plantuml
* replace with 'after!' and rename advice function
2019-09-07 00:27:23 -04:00
Henrik Lissner
580cf639c1 Merge pull request #1748 from babariviere/develop
Add go-add-tags for go-mode
2019-09-06 19:18:17 -04:00
UndeadKernel
56d8e1e0f8 bindings: fix emacs bindings and add more 2019-09-07 00:32:34 +02:00
babariviere
3d1e232f50 add go-add-tags for go-mode 2019-09-06 11:00:24 +02:00
Henrik Lissner
ac5168f8af lang/javascript: use-package -> use-package! #1712 2019-09-06 01:32:20 -04:00
Henrik Lissner
d8d4337228 Merge pull request #1622 from jsravn/fix-go-test-rerun
Fix +go/test-rerun
2019-09-06 01:05:45 -04:00
Henrik Lissner
01c9ec0c7f Merge pull request #1716 from flatwhatson/sh-keywords
Add ln to +sh-builtin-keywords
2019-09-06 00:50:04 -04:00