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
Henrik Lissner
d32e500f97
feature/file-template: refactor for idempotency
2018-05-16 18:26:08 +02:00
Henrik Lissner
06f7aa2881
feature/file-templates: fix doom module templates
...
There were cases where certain Doom module templates weren't correctly
expanded (when your private directory is symlinked).
2018-05-16 18:24:52 +02:00
Henrik Lissner
3e6d6279a6
ui/evil-goggles: remove unnecessary toggle wrapper command
2018-05-16 13:06:07 +02:00
Henrik Lissner
622b53479a
lang/emacs-lisp: display major/minor modes in imenu
2018-05-16 12:14:47 +02:00
Henrik Lissner
63fdc3530c
lang/cc: refactor (nest configs and chain packages)
...
Allows users to disable irony and/or rtags only, then their dependent
packages won't be loaded.
2018-05-16 00:16:13 +02:00
Henrik Lissner
fd16719324
lang/{python,ruby}: add doctor.el
2018-05-15 21:49:51 +02:00
Henrik Lissner
06c22a5af2
ui/doom-dashboard: add vertical centering (experimental)
2018-05-15 21:49:50 +02:00
Henrik Lissner
7eb0dd6340
lang/python: remove redundant pip-requirements config
...
The auto-mode-alist entry is already set up by
pip-requirements-autoloads.
2018-05-15 21:49:47 +02:00
Benjamin Reynolds
e38560252b
Fix typo causing startup error in helm modules
...
It looks like an extra letter snuck into a `nil` in 67dab98
. This is causing a
startup error on develop.
2018-05-15 09:40:44 -05:00
Henrik Lissner
0fe551983e
Merge pull request #577 from ppwwyyxx/patch-3
...
Update imenu/config.el
2018-05-15 12:05:49 +02:00
Henrik Lissner
9981fa4acb
Merge pull request #579 from benreyn/br-slim-mode
...
Add [slim-mode] to :lang web +html
2018-05-15 12:05:25 +02:00
Henrik Lissner
984a0c8b6c
config/default: SPC h R = doom//reload
2018-05-15 10:54:45 +02:00
Henrik Lissner
94f9e43f25
Rewrite :defer semantics
...
:defer now supports a hook, a cons cell with (SYMBOL . INTEGER) where
SYMBOL is a hook and INTEGER is a number of idle seconds before the
package is autoloaded, or just the integer (as per the default behavior
of :defer).
Also fixes an issue where switch-buffer-deffered packages (like
smartparens) wouldn't load.
2018-05-15 10:54:45 +02:00
Benjamin Reynolds
9ac15aa0c1
Add [slim-mode] to :lang web +html
...
[slim-mode]: https://github.com/slim-template/emacs-slim
2018-05-14 20:30:28 -05:00
Henrik Lissner
9a2c4f297c
Fix void macro errors after byte-compiling
2018-05-15 03:24:30 +02:00
Henrik Lissner
7122a3e01b
ui/evil-goggles: enable evil-goggles-mode on load
2018-05-15 03:15:45 +02:00
Henrik Lissner
5ab790c07d
tools/eshell: default to ~/.doom.d/eshell or ~/.eshell
2018-05-15 01:57:40 +02:00
Henrik Lissner
ba2fb4a82d
tools/eshell: remove custom aliases
...
That belongs in my private module
2018-05-15 01:33:22 +02:00
Henrik Lissner
a3800f3949
tools/eshell: set eshell-directory-name if ~/.doom.d/eshell exists
2018-05-15 01:33:07 +02:00
Henrik Lissner
84fc356e40
tools/eshell: dedicate eshell windows
...
Disallow commands to change their buffer non-interactively.
2018-05-15 01:32:08 +02:00
Henrik Lissner
abb4d5a009
Move :tools impatient-mode to new :collab category
2018-05-14 21:23:48 +02:00
Henrik Lissner
5537f81e02
ui/doom-dashboard: doom-packages--benchmark => doom|display-benchmark
2018-05-14 20:56:17 +02:00
Henrik Lissner
bb88411cc9
General minor refactor & docstring fixes
2018-05-14 20:55:55 +02:00
Henrik Lissner
67dab98859
Improve idempotency of Doom config (in case of reloading)
2018-05-14 20:54:58 +02:00
Henrik Lissner
48cb10a9cc
lang/org: fix void-function +org|setup-ui error
...
Caused if org is loaded early in your config, before :lang org is
loaded. Or when byte-compiling.
2018-05-14 20:49:45 +02:00
Henrik Lissner
8cab2f19fd
Remove redundant config & auto-mode-alist entries
...
Much of this config is done in package autoloads, and now that
auto-mode-alist is cached in doom-package-alist (after reading autoload
files), we can save some space by removing redundant config.
2018-05-14 20:48:14 +02:00
Henrik Lissner
a631c10d05
Exploit new :defer input|buffer across various modules
2018-05-14 20:45:47 +02:00
Henrik Lissner
2712d606c2
config/default: remove unnecessary after! blocks
2018-05-14 20:42:48 +02:00
Henrik Lissner
e44fd886f2
Appease byte-compiler-sama
2018-05-14 20:37:13 +02:00
Henrik Lissner
6e3f500a39
completion/ivy: ivy-use-selectable-prompt = t
...
Solves the "I want to enter something new, but it also is a part of
a match" issue. Thanks to @gilbertw1 for letting me know about this.
As such, the C-RET keybind from 310d81ab
is no longer necessary
2018-05-14 20:37:13 +02:00