Commit Graph

2194 Commits

Author SHA1 Message Date
e770d5ccf2 lang/org: remove ob-redis package #368
It has been merged into org's contrib/, and is no longer on MELPA.
2018-02-17 19:28:11 -05:00
87f47e6d9a lang/emacs-lisp: disable flycheck in new private modules too #425 2018-02-17 19:21:02 -05:00
a862d0eeb1 feature/file-templates: fix doom file templates 2018-02-17 19:15:13 -05:00
40e5357566 tools/neotree: keep cursor at beginning-of-text, not bol 2018-02-17 18:51:14 -05:00
2425893cc9 tools/neotree: use slightly wider window 2018-02-17 18:50:59 -05:00
a1580e5919 config/private: wrap init.el in file-directory-p check 2018-02-17 18:41:47 -05:00
ef4962c702 feature/file-templates: new +file-templates/insert-license command 2018-02-17 18:41:21 -05:00
aa216af4d6 feature/file-templates: add+polish license file templates 2018-02-17 18:40:49 -05:00
70c8e3cb52 app/rss: bind M-RET = open entry in browser 2018-02-17 04:56:27 -05:00
9f471806fe app/rss: add :popup rule for elfeed-entry windows 2018-02-17 04:56:16 -05:00
d8be0a5f4c app/rss: move default elfeed file 2018-02-17 04:56:03 -05:00
8240771846 app/rss: fix +rss/quit & compact db 2018-02-17 04:55:35 -05:00
0c459cfefd lang/org: make backspace org-mode aware
This ensures backspace respects tables and doesn't break whitespace in
table cells.
2018-02-17 03:40:40 -05:00
d91481a9a0 Add private module to load-path
This fixes autoload cookies in private autoload files (e.g.
~/.doom.d/autoload/file.el).
2018-02-16 23:26:44 -05:00
f8bf86e1a3 ui/doom-dashboard: add button to open private module 2018-02-16 21:02:46 -05:00
bae226b94f Refactor to revolve module tree roots around doom! calls
Any module can now use a doom! call to declare a module tree root.

This means that if you have a doom! block in
~/.emacs.d/modules/lang/org/init.el, then you can have submodules in
~/.emacs.d/modules/lang/org/modules/MODULE/SUBMODULE if you wanted to
for some reason.

This is only really truly useful for private modules. A doom! block in
~/.doom.d/init.el will recognize and enable modules in
~/.doom.d/modules/.
2018-02-16 05:07:46 -05:00
78fe91ce10 feature/file-templates: update header line in doom templates 2018-02-16 02:12:58 -05:00
540e74a6aa Remove accidental file 2018-02-16 02:12:01 -05:00
2b1c323dbf 💥 Redesign private sub-module system
~/.doom.d/modules is now a full module tree, like ~/.emacs.d/modules.
Symlinks are no longer involved.

Private modules can now shadow Doom modules. e.g.
~/.doom.d/modules/lang/org will take precendence over
~/.emacs.d/modules/lang/org.

Also, made doom--*-load-path variables public (e.g. doom--site-load-path
=> doom-site-load-path), and rearranged the load-path for a 10-15%
startup boost.
2018-02-16 02:11:10 -05:00
8ca4fbd8fe config/private: refactor symlink code 2018-02-15 03:39:12 -05:00
800f8c4739 config/default: remove default yasnippet directory
Otherwise, ~/.emacs.d/snippets is always created.
2018-02-15 01:34:12 -05:00
b3dcba54eb Add config/private; for ~/.doom.d & ~/.config/doom support #406
A modules/ submodule will be symlinked to ~/.emacs.d/modules/private.
2018-02-14 23:36:35 -05:00
6d7db48dc1 💥 Move :private modules to :config 2018-02-14 23:36:27 -05:00
0fb72805ab lang/web: new comment-indent-function for css/scss-mode
Adds +css/comment-indent-new-line, since the built-in default performs
poorly in CSS buffers. This is experimental.
2018-02-14 20:58:38 -05:00
5bee5c95ee lang/web: refactor +css/toggle-inline-or-block
Remove evil dependency + make more robust.
2018-02-14 20:55:43 -05:00
4321f20b3e Appease byte-compiler-sama 2018-02-14 20:54:53 -05:00
fa19eaf8e0 private/default: add tab yas-expand keybind for emacs states 2018-02-14 15:14:07 -05:00
a22e4ca9d9 Merge pull request #421 from benj02/patch-1
Fix keybinding
2018-02-14 15:10:37 -05:00
6094d8407d tools/pdf: defer pdf-tools 2018-02-14 07:47:22 -05:00
0ccdc065f9 lang/haskell: fail gracefully if stack isn't installed 2018-02-14 07:47:22 -05:00
871883cd89 lang/hy: set :repl, :company-backend & :interpreter 2018-02-14 07:47:22 -05:00
373d4f25b5 lang/elm: set :repl & load autoloads 2018-02-14 07:47:22 -05:00
c94893c6ba lang/lua: fix localleader key hijacking SPC 2018-02-14 07:47:22 -05:00
0e1cf10c0f Update doom module readme file template 2018-02-14 07:47:22 -05:00
6c4e048c23 General refactor & cleanup 2018-02-14 07:47:22 -05:00
bac73ec938 Replace warn => warn! 2018-02-14 07:46:38 -05:00
5ad4246cb9 lang/clojure: refactor; rainbow-delimiters-mode; :lookup
Also add auto-mode-alist entry for clojurec-mode
2018-02-14 06:08:30 -05:00
d634a7e69d lang/go: put keybinds in evil maps to fix hijacked SPC in go-mode 2018-02-14 05:53:53 -05:00
38903d07e8 lang/go: relax warnings
+ Don't default to goimports unless it's available.
+ No warning if goimports is missing.
2018-02-14 05:52:08 -05:00
57adae5ec6 Introduce more opinionated backspace/del/newline behavior
+ Instead of remapping delete-backward-char to doom/delete-backward-char
  (which was unreliable, depending on the mode), it is now overridden
  with it, without sacrificing its original functionality. The new
  behavior is as follows:
  + Fall back to sp-backward-delete-char when it makes sense to delete
    the adjacent pair: {|} => |
  + Collapse an indented pair block, if at bolp in between: {
      |
    } => {|}
  + Refresh a pair's :post-handlers when deleting into pair: {
      |
    } => {|} => {
      |
    } (can be repeated)
  + When cursor is preceded by whitespace, delete in increments of
    tab-width.
+ newline-and-indent has been advised to:
  + Only newline when in a string.
  + Continue comment lines consistently (needs more testing!)
  + Falls back to basic newline-and-indent, without affecting whitespace
    in the origin line (it would originally delete-horizontal-space
    before creating a new line).
+ Incorporates a set of reasonable defaults for brace expansion on RET
  or SPC, as mentioned in #343 and #413.

Affects #343, #413
2018-02-14 05:42:51 -05:00
b43743d565 lang/cc: fix smartparens not autopairing/skipping <>
Also removed +cc/autoclose->-maybe -- let smartparens handle this.
2018-02-14 05:40:37 -05:00
5e5d075431 New doom/*-this-file commands; move doom/sudo* to new files library 2018-02-14 05:40:37 -05:00
aae7ca258b Fix keybinding
Both flycheck-mode and toggle-frame-fullscreen seem to be bound to "SPC t f", which means that only the second binding gets applied and there's no binding to toggle flycheck. This PR simply changes the fullscreen binding to capital F.
2018-02-14 00:34:28 -08:00
0b9ac52d27 ui/doom-modeline: remove eldoc-eval #420
eldoc has this functionality built-in.
2018-02-13 19:46:25 -05:00
e79942de2e lang/org: improve tab indent in src blocks
I realize org-src-tab-acts-natively exists, but it doesn't work for me.
This little fix (plus the next commit's editorconfig fix) should make
tab act much more reliably in src blocks.
2018-02-13 19:41:09 -05:00
5b92c3d99f lang/org: add evil insert check to +org|indent-maybe 2018-02-13 18:33:36 -05:00
7b70aa9b7d lang/org: reorganize autoload/org.el. Pedantry intensifies.
Library is now separated into alphabetically sorted sections. So nice
and neat!
2018-02-13 18:19:36 -05:00
d84af58f77 lang/org: refactor tab/backtab/ret keybinds to be less intrusive
Turns out the native TAB/Backtab/RET functionality in org already does
what I've replaced them with (somewhat).

Also, I discovered that the canonical way to modify TAB behavior was
through org-tab-first-hook. So, instead of replacing native
functionality, I've rewritten these keybinds to leverage them.
2018-02-13 18:12:40 -05:00
3080b68c84 app/write: major refactor+rewrite
+ Make synosaurus unconditional
+ Move much of +write-mode into its hook
+ Conform README.org to template and expand it
+ Try to guess langtool-language-tool-jar
+ Update init.example.el entry
+ Remove redundant variables
+ Add +write-text-scale & +text-line-spacing variables
2018-02-13 17:50:58 -05:00
896ca67076 Merge pull request #416 from fuxialexander/write
Enhance +write module
2018-02-13 14:57:06 -05:00