Commit graph

4087 commits

Author SHA1 Message Date
Henrik Lissner
d7d9da2210
Appease byte-compiler san kun chan sama sensei de gozaru 2018-05-25 11:55:57 +02:00
Henrik Lissner
81d3fe4a82
config/default: fix missing +ivy-do-action! error when ivy module is disabled 2018-05-25 11:54:52 +02:00
Henrik Lissner
e99d5c6624
completion/helm: refactor how helm packages are loaded; fix command remaps 2018-05-25 11:49:59 +02:00
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
James Conroy-Finn
217ff2cd54 Fix use of +workspaces-data-file in +workspace/load 2018-05-19 15:02:54 +01: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
Edmund Milller
01993aa698 Fix solc and solium pathes
The bin files were links to the real thing.
2018-05-18 17:04:43 -05:00
Edmund Milller
f4234779ce Remove Company package
It's been moved into solidity-mode already.
2018-05-18 17:04:37 -05:00
Edmund Milller
3193e7a8a7 Add Solidity
Add basic Solidity module
2018-05-18 17:04:25 -05:00
Aria
1bbf5b7d19 lang/org Make agenda view span 10 days 2018-05-18 13:45:06 +10: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