Commit graph

2828 commits

Author SHA1 Message Date
Henrik Lissner
0bdf638813
lang/latex: refactor package loading mechanism 2018-05-25 02:18:29 +02:00
Henrik Lissner
6e82e6fa19
tools/term: fix void-function error due to misplaced reference to +eshell-p 2018-05-25 01:59:15 +02:00
Henrik Lissner
9a8b6a82e2
lang/web: add doctor.el 2018-05-25 01:01:25 +02:00
Henrik Lissner
0348686cce
tools/eshell: change split behavior to open non-eshell window 2018-05-25 01:00:04 +02:00
Henrik Lissner
cce30367bb
tools/eshell: fix naive path concatenation for eshell-directory-name 2018-05-25 00:58:09 +02:00
Henrik Lissner
6b70831386
ui/evil-goggles: evil-goggles-enable-delete = nil 2018-05-25 00:56:34 +02:00
Henrik Lissner
1e4f108655
ui/neotree: non-capturing groups in neo-hidden-regexp-list
Slight optimization.
2018-05-25 00:56:19 +02:00
Henrik Lissner
643ff13053
ui/doom: make solaire-mode a little pickier
Instead of only activating in buffers that a real (which is more
selective), simply activate in buffers that are file-visiting (this
means that real buffers that aren't highlighted can exist, particularly
term/eshell buffers).
2018-05-25 00:55:06 +02:00
Henrik Lissner
2f83757018
ui/doom-dashboard: more robust feature detection
In case you aren't using those modules, but have other means of loading
those packages.
2018-05-25 00:54:07 +02:00
Henrik Lissner
cf3c0d808d
tools/tmux: minor refactor of +tmux/rerun 2018-05-25 00:53:46 +02:00
Henrik Lissner
be9a06b126
tools/magit: add magit-gitflow 2018-05-25 00:53:04 +02:00
Henrik Lissner
ae95b9e8d5
lang/sh: improve zsh shebang detection regexp 2018-05-25 00:52:37 +02:00
Henrik Lissner
5472cd4a37
lang/org: set org-clock variables sooner 2018-05-25 00:51:35 +02:00
Henrik Lissner
fd87a0bd9e
lang/org: add ]h/[h keybinds; correct bind motion keys to motion map 2018-05-25 00:51:15 +02:00
Henrik Lissner
9011593e38
feature/workspaces: fix tests 2018-05-25 00:50:52 +02:00
Henrik Lissner
b36eca2ae7
completion/ivy: ivy-height = 15 2018-05-25 00:50:33 +02:00
Henrik Lissner
55a3aeec9a
completion/ivy: don't pre-fill ag/rg/pt/grep searches w/ last search 2018-05-25 00:50:24 +02:00
Henrik Lissner
852193dfc5
completion/helm: update command remappings 2018-05-25 00:49:21 +02:00
Henrik Lissner
09cb4f6716
Major refactor & optimization of how modules load their packages
Now that we are loading package autoloads files (as part of the
generated doom-package-autoload-file when running make autoloads), many
:commands properties are redundant. In fact, many def-package! blocks
are redundant.

In some cases, we can do without a config.el file entirely, and can move
into the autoloads file or rely entirely on package autoloads.

Also, many settings have been moved in their module's autoloads files,
which makes them available ASAP; their use no longer depends on module
load order.

This gained me a modest ~10% boost in startup speed.
2018-05-25 00:46:16 +02:00
Henrik Lissner
e8653d0628
feature/file-templates: revise doom module README.org file template 2018-05-24 22:34:37 +02:00
Henrik Lissner
b806ff937c
feature/file-templates: rewrite & fix wrong-number-of-args errors #602 2018-05-24 22:34:37 +02:00
Henrik Lissner
4c73ac0111
config/default: Fix evil-collection anti-hacks #604 2018-05-24 22:34:37 +02:00
Henrik Lissner
0b48575c14
Remove def-hydra! macro alias
Causes byte-compilation issues and the alias is unnecessary.
2018-05-24 22:03:19 +02:00
Henrik Lissner
4ee0b5ba6d
New macros file-exists-p! & project-file-exists-p!
The latter replaces the doom-project-has! macro
2018-05-24 21:15:17 +02:00
Henrik Lissner
592e16d76d
Conform debug commands to naming convention 2018-05-24 16:40:37 +02:00
Henrik Lissner
53a7e35082
lang/javascript: fix rjsx-electric-gt reparsing advice 2018-05-22 01:47:40 +02:00
Henrik Lissner
4e18722d49
config/default: update doom help/debug keybinds 2018-05-21 18:34:33 +02:00
Henrik Lissner
af97dcdfe8
config/default: add SPC-g-o/SPC-g-I for browsing remote/issues 2018-05-21 18:34:33 +02:00
Henrik Lissner
1b8dce260b
config/default: restore find-in-snippets command #597
And conditionally bind snippets keybinds
2018-05-21 18:34:33 +02:00
Henrik Lissner
f058505306
New bin/doom (eventual replacement for make)
This commit adds bin/doom, which acts as the middle man that make once
was (and will stay for a while, though the documentation will shift away
from using it). It does everything the previous make interface did, but
is faster and more flexible. bin/doom should eventually replace the
makefile.

bin/doom also makes it easier to run Doom outside of ~/.emacs.d and
~/.doom.d with, for example:

  bin/doom run -p ~/.other.doom.d/ -e ~/.other.emacs.d

bin/doom.cmd is included for Windows users, but I don't recommend using
it yet. It hasn't been tested nor have I ever written a batch script
before.

Also update init.example.el with new defaults.
2018-05-21 01:38:17 +02:00
Henrik Lissner
dcec3b9b25
feature/popup: add new autosave window parameter
(autosave . CDR)

This parameter determines what to do with modified buffers in closing
popup windows. CDR can be a t, 'ignore, a function or nil.

+ If t, no prompts. Just save them automatically (if they're
  file-visiting buffers).
+ If 'ignore, no prompts, no saving. Just silently kill it.
+ If nil (the default), prompt the user what to do if the buffer is
  file-visiting and modified.
+ If a function, the return value must return one of the other values.
  It takes two arguments: the popup window and buffer.
2018-05-19 12:08:24 +02:00
Henrik Lissner
5abdeed8fd
feature/file-templates: rewrite without autoinsert
autoinsert was more trouble than it was worth, so I reinvented a better
wheel.
2018-05-18 01:47:03 +02:00
Henrik Lissner
72b9e80cde
config/default: add :rev[erse] command (reverse lines) 2018-05-18 01:46:04 +02:00
Henrik Lissner
170b7f97e7
config/default: rebind I/J indent textobjects to k/j 2018-05-18 01:44:17 +02:00
Henrik Lissner
7db7aed52d
lang/org: refactor & add org-clock config/keybinds 2018-05-18 01:43:37 +02:00
Henrik Lissner
84befc0303
lang/org: map bash src blocks to ob-shell 2018-05-18 01:43:16 +02:00
Henrik Lissner
3d0745c3ec
Add automatic indentation-detection (experimental)
Editorconfig is given precedence. If it successfully sets an
indent_style or indent_size for the current buffer, automatic
indentation detection will be disabled.
2018-05-18 01:28:41 +02:00
Henrik Lissner
b1dce548ad
tools/eshell: consider eshell buffers real 2018-05-18 01:26:41 +02:00
Henrik Lissner
8807471846
tools/eshell: fix parameters being set on the wrong window
This would cause find-file commands to ignore certain windows, as well
as eshell buffers closing the incorrect window when they are quit.

Addresses #593
2018-05-18 01:26:41 +02:00
Henrik Lissner
80adb9c1f6
General refactor for consistency & idempotency
Also updated comments
2018-05-18 01:26:41 +02:00
Henrik Lissner
c46bd978fc
lang/org: fix tab not folding src blocks 2018-05-17 23:05:35 +02:00
Henrik Lissner
ded6526eee
completion/ivy: fix void-variable error in +ivy:{pt,grep} 2018-05-17 17:00:20 +02:00
Henrik Lissner
dbdce2a8b2
completion/ivy: fix file search not searching compressed archives 2018-05-17 16:59:55 +02:00
Henrik Lissner
bed5a2f305
lang/web: add *.jinja to web-mode 2018-05-17 12:26:42 +02:00
Henrik Lissner
803511c771
lang/web: disable company-css in Emacs 26+
css-mode's built-in completion is superior in Emacs 26+. The
company-capf backend will take advantage of it.
2018-05-17 12:22:27 +02:00
Henrik Lissner
022baf808c
lang/org: use evil-org-key-theme variable to initialize evil-org
Gives people a chance to customize which evil-org key themes are
available to them.

Addresses #591
2018-05-17 11:10:46 +02:00
Henrik Lissner
fa6a99f963
feature/evil: fix */# keybinds entering operator mode 2018-05-17 00:54:29 +02:00
Henrik Lissner
34b6d4d0cf
config/default: move evil-easymotion keybinds into +bindings.el
It's easier to see and discover this way.
2018-05-16 23:50:50 +02:00
Henrik Lissner
42bdb848b5
config/default: add ]a/[a motions for arguments 2018-05-16 23:42:25 +02:00
Henrik Lissner
45c21a5a83
Move :feature services => :tools prodigy 2018-05-16 22:41:21 +02:00