Commit graph

4000 commits

Author SHA1 Message Date
Henrik Lissner
55104b9f89
Fix "home/~" PWD in eshell prompt 2018-06-28 19:29:26 +02:00
Henrik Lissner
40c8d7bd0e
Fix eshell-z 2018-06-28 19:23:31 +02:00
Henrik Lissner
9157d3b3a6
eshell: alias clear to clear-scrollback
This is more in line with how clear behaves in shells.
2018-06-28 18:46:51 +02:00
Henrik Lissner
1a0251c1cf
Move eshell config files into doom-private-dir
Introduce new +eshell-config-dir variable, where you can store your
eshell aliases and rc files.
2018-06-28 18:34:02 +02:00
Henrik Lissner
88ba758ae3
Add eshell-z plugin
And replace z alias with it.
2018-06-28 18:32:27 +02:00
Henrik Lissner
ca9da4c272
Fix eshell popup splits not closing on exit
Fixes "Attempt to delete main window of frame" errors, and ensrues an
eshell buffer is selected, if you were in a popup.
2018-06-28 18:20:30 +02:00
Henrik Lissner
05bdb1e12c
eshell-input-filter = eshell-input-filter-initial-space
Don't record a command in history if prefixed with whitespace.
2018-06-28 16:58:28 +02:00
Henrik Lissner
7bb9adc6bd
Only clean up after eshell window if visible
Killing buried eshell windows shouldn't delete windows or restore any
wconfs.
2018-06-28 14:47:14 +02:00
Henrik Lissner
dc8c01f17f
Add +default/newline alias
Forgot to add it in 08beff91
2018-06-28 14:46:33 +02:00
Henrik Lissner
6c0c6ee47b
Fix infinite recursion when quitting elfeed
+rss/quit kills the buffer, triggering its kill-buffer-hook, which calls
+rss/quit, triggering its kill-buffer-hook, which calls +rss/quit,
triggering its kill-buffer-hook, which calls +rss/quit, triggering its
kill-buffer-hook, which calls +rss/quit, triggering its
kill-buffer-hook, which calls +rss/quit, triggering its
kill-buffer-hook, which calls +rss/quit, triggering its
kill-buffer-hook, which calls +rss/quit, which summons Cthulhu...
2018-06-28 14:40:12 +02:00
Henrik Lissner
f7a4b639e7
Fix read-only errors when reopening eshell buffers
Caused because eshell would try to insert the banner into the eshell
prompt.
2018-06-28 14:40:12 +02:00
Henrik Lissner
b0f59ff5bd
lang/cc: fix wrong-type-argument: stringp error
Caused by -stdlib flag being a sub-list in +cc-default-compiler-options,
when it should be nil or a string.
2018-06-28 14:40:12 +02:00
Henrik Lissner
08beff91da
Bind RET/C-j instead of remapping newline
RET -> newline-and-indent
C-j -> newline

This is basically the opposite of the Emacs default.
2018-06-28 14:40:11 +02:00
Henrik Lissner
4eda07e576
Don't replace scratch buffer with other popups 2018-06-28 00:31:36 +02:00
Henrik Lissner
f6478ab068
Refactor out map! usage in lang/emacs-lisp
Slowly phasing out map! for internal use.
2018-06-27 22:54:09 +02:00
Henrik Lissner
3742a671a6
Rethink lazy-loading of elisp-mode 2018-06-27 22:52:46 +02:00
Henrik Lissner
5a7c8803d9
Remove :when support from after!; add defer-until!
New macro does what the :when keyword did for after!.
2018-06-27 21:29:28 +02:00
Henrik Lissner
e9ccc09fe4
Fix featurep! check in app/rss
Reported by @sarg
2018-06-27 20:35:49 +02:00
Henrik Lissner
4a213e07f8
Fix void-function ivy--matcher-desc
When invoking +ivy-coo-hydra/body

Reported by @fuxialexander
2018-06-27 20:31:56 +02:00
Henrik Lissner
24ac13a804
Remove periods from haskell doctor warnings
It is an Emacs convention not to end errors in punctuation (unless
they're multi-line).
2018-06-27 19:36:42 +02:00
Henrik Lissner
4f40fef592
Refuse to enable intero-mode if intero is absent
Rather than checking for stack.
2018-06-27 19:36:42 +02:00
Henrik Lissner
dceb9bea09
Fix +eshell-enable-new-shell-on-split
Also enables this implicitly after opening eshell with
+eshell/open-fullscreen.
2018-06-27 19:36:42 +02:00
Henrik Lissner
5bcec25529
Fix +eshell/open-fullscreen reusing eshell buffers
It should spawn a new one, no matter what. Also fixes wconf restoration
on quit.
2018-06-27 19:34:23 +02:00
Henrik Lissner
029824b6c1
Update company-box icons
Inspired by @fuxialexander's config
2018-06-27 19:13:54 +02:00
Henrik Lissner
5a63f9cb30
Fix some evil-collection modules not loading
Because evil-collection-init was enclosed in one list too many.
2018-06-27 19:12:56 +02:00
Henrik Lissner
26f514001e
Autoload git-gutter:{revert-hook,stage-hunk}
In case they're used before git-gutter has loaded; they should be
allowed to error themselves.
2018-06-27 18:51:32 +02:00
Henrik Lissner
d55c7896f1
Fix lazy loading of elisp-mode config
elisp-mode is loaded at startup, so the usual methods won't work.
Instead, we tie a transient advice to the emacs-lisp-mode
function, *however*, this function is commonly called by various
packages to parse elisp code! So we have to make sure the emacs lisp
module only initializes the first time it is used interactively.
2018-06-27 18:51:24 +02:00
Henrik Lissner
b72a9373c1
Merge pull request #731 from patrl/hindent
Factor out hindent
2018-06-27 03:12:56 +02:00
Henrik Lissner
8b9d4a94bb
Define evil-want-* options as defvars
To make it easier for users to customize.
2018-06-27 03:09:06 +02:00
Henrik Lissner
123df290a6
Rewrite evil +everywhere & evil-collection init
Fixes a couple issues with certain evil-collection modules not loading
and removes some redundant config for 'replace.
2018-06-27 03:05:47 +02:00
Henrik Lissner
69143b20f8
feature/evil: remove macroexpand
Snuck into a commit
2018-06-27 02:57:02 +02:00
Henrik Lissner
75457f63fe
lang/org: refactor & disable evil-org-set-key-theme
+ It's too much trouble supporting the evil-org-set-key-theme workflow.
  Perhaps I'll make it complain when you do.
+ Don't add +org|setup-ui to doom-load-theme-hook, it's unnecsesary.
+ Use faces in org-priority-faces rather than colors.
2018-06-27 02:53:18 +02:00
Henrik Lissner
f915f8c864
Fix wakatime-api-key not persisting across sessions
Caused because customize'd variables aren't set until they're defined,
so we have to load wakatime-mode first.
2018-06-27 02:52:06 +02:00
Patrick Elliott
19400598b4 got rid of hindent as a seperate feature 2018-06-26 19:34:36 +02:00
Patrick Elliott
e727e2041f Added doc check for hindent executable 2018-06-26 19:15:35 +02:00
Patrick Elliott
bec2ad4859 factored hindent out as a seperate feature. 2018-06-26 19:15:07 +02:00
Patrick Elliott
bc124fae11 removed hindent hook 2018-06-26 19:14:31 +02:00
Henrik Lissner
fe235c341d
Refactor evil-collection-init code
Make it possible to disable image-mode and elisp-mode evil-collection
modules.
2018-06-26 18:58:07 +02:00
Henrik Lissner
8f3f31bac8
Fix hardcoded language-tool path on MacOS
Reported by @jwintz
2018-06-26 18:58:07 +02:00
Henrik Lissner
5966e9aa9c
Restore +evil-collection-disabled-list
Without this variable, the user can't easily prevent certain
evil-collection modules from loading without some provide voodoo.
2018-06-26 18:58:06 +02:00
Henrik Lissner
705de920d7
tools/wakatime: +wakatime-api-file => custom.el
Use customize system to store user settings instead of reinventing the
wheel.
2018-06-26 18:58:06 +02:00
Henrik Lissner
71922937ff
tools/wakatime: add +wakatime-home variable
And fix 'wakatime-mode isn't setup' message referencing +wakatime/start
instead of +wakatime/setup.
2018-06-26 18:58:06 +02:00
Henrik Lissner
ac1b1995b5
Conditionally bind persp-switch-to-buffer
In the case :feature workspaces is disabled.
2018-06-26 18:58:06 +02:00
Henrik Lissner
e6a89e4bf9
app/rss: fix keymapp error & refactor keybinds 2018-06-26 18:58:02 +02:00
Henrik Lissner
70eb5ea8be
Merge pull request #713 from patrl/develop
Minor refactor of bibtex features in latex module
2018-06-26 18:49:27 +02:00
Henrik Lissner
679dffb6c6
Merge pull request #726 from areinisc/module-common-lisp
Fix handler calls to reference lisp-mode.
2018-06-26 18:46:47 +02:00
Henrik Lissner
ba23af8567
Merge pull request #729 from AloisJanicek/fix-help-symbol
feature/evil: correct feature reference
2018-06-26 18:46:26 +02:00
Jonas Walther
f17bf0a039
why isn't this a thing already
🤔
2018-06-26 17:05:54 +02:00
Alois Janíček
778f9dea5c
feature/evil: correct feature reference
Both help-mode and help-mode-map are defined in file help-mode.el
which provides 'help-mode
2018-06-26 13:25:23 +02:00
Patrick Elliott
e88f413d4a factored out setting 2018-06-26 02:49:01 +02:00