Henrik Lissner
5215b79f7a
config/default: move SPC f {S,X} and SPC g D keys
...
- Moved doom/sudo-find-file from 'SPC f S' to 'SPC f u'
- Moved doom/delete-this-file from 'SPC f X' to 'SPC f D'
- Replaced save-buffer on 'SPC f s' with write-file ('SPC b s' is still
bound to save-buffer)
- Moved magit-file-delete from 'SPC g x' to 'SPC g D' (for consistency
with the above, and to reduce accidental key presses)
2019-10-20 11:01:29 -04:00
Henrik Lissner
09d58ba65e
config/default: bind SPC / / to swiper
2019-10-20 10:59:34 -04:00
Henrik Lissner
391c8305a6
docs/faq: expand "how to change line numbers"
2019-10-20 10:58:54 -04:00
Henrik Lissner
cbc7c2aaf0
completion/ivy: remove -S switch
...
If ivy-case-fold-search == 'auto, counsel-{ag,rg} does this for us.
2019-10-20 10:58:53 -04:00
Henrik Lissner
182b8a3ba9
completion/ivy: ivy-extra-directories = nil
...
Removes the ./ and ../ entries from ivy file completion commands. These
can still be typed in to navigate buffers.
2019-10-20 10:58:53 -04:00
Henrik Lissner
5b9b029bbf
Comment & further optimize so-long-mode
2019-10-20 10:58:53 -04:00
Henrik Lissner
634b4b2bc7
Associate *.log files with text-mode
2019-10-20 10:58:53 -04:00
Henrik Lissner
70e6c17de5
Don't autorevert if minibuffer is active
...
Some ivy/helm commands allow you to preview buffers, which is not an
appropriate time to (invisibly) revert them. The message could be missed
and expensive machinary could be triggered (e.g. updating git-gutter),
which could appear slow. Best to defer reverting until the user has
deliberately landed on the target, and is more likely to notice a revert
notification in the minibuffer.
Suggested by @flatwhatson
2019-10-20 10:58:53 -04:00
Henrik Lissner
c109acd6fd
Optimize doom-visible-buffers
...
Walking the window list is almost always faster than walking the buffer
list.
2019-10-20 10:58:53 -04:00
Henrik Lissner
bdd9d91f72
lang/emacs-lisp: remove extraneous macrostep keybind
...
`e` is more than enough
2019-10-20 10:58:53 -04:00
Henrik Lissner
7cbd6c756c
Remove projectile-add-known-project autoload
...
Merged upstream in bbatsov/projectile#1457
2019-10-20 10:58:53 -04:00
Henrik Lissner
0e114b6766
lang/rust: remove editorconfig-indentation-alist entry
...
Merged upstream in editorconfig/editorconfig-emacs#208
2019-10-20 10:58:52 -04:00
Henrik Lissner
fb692a843f
README: general revision
2019-10-20 10:58:52 -04:00
Henrik Lissner
b45a9c5e03
docs/faq: general revision
2019-10-20 10:58:52 -04:00
Henrik Lissner
5fa746e27c
docs/faq: "why wsbutler?"
2019-10-20 10:58:52 -04:00
Henrik Lissner
7f0ca974e9
tools/magit: free up 0-4 keys for evil & bind g=
...
- Replaces 0 with g= (magit-diff-default-context)
- Unbinds 1-4 keys so you can use numbered motions in magit buffers
again
2019-10-20 10:58:52 -04:00
Henrik Lissner
92a5b5fb93
lang/data: use conf-toml-mode instead, if available
2019-10-20 10:58:52 -04:00
Henrik Lissner
0e9596244d
counsel-find-file-at-point = nil
...
This is disruptive when you use counsel-find-file to quickly jump to
another file in or near the current directory. There's already gf for
this sort of thing anyway.
2019-10-20 10:58:52 -04:00
Henrik Lissner
ad677433ef
tools/flycheck: inhibit popups when company is in use
...
Should only appear if in normal mode or, if evil is disabled, when
company isn't active.
2019-10-20 10:58:44 -04:00
Rudi Grinberg
42624c8090
[coq] disable electric proof terminators
...
These send input to coq too agressively. It's often the case that this
causes delays in coq.
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-10-20 14:37:35 +09:00
Henrik Lissner
8b5b3deaba
tools/flycheck: only check on file save/open
2019-10-19 22:22:50 -04:00
Henrik Lissner
45223b3785
term/eshell: remove use-package! shrink-path block
...
Just load it when it is needed, instead.
2019-10-19 22:22:50 -04:00
Henrik Lissner
96c053c91d
term/eshell: refactor company integration
...
Idle completion should be opt-in, especially for TRAMP users.
2019-10-19 22:22:50 -04:00
Henrik Lissner
0582e80baf
config/default: replace gss/gsS with gss
...
Removes the directionality of these two commands, when one will do (in
both directions).
2019-10-19 22:22:50 -04:00
Henrik Lissner
35b9abd230
emacs/dired: integrate open/xdg-open/start w/ dired
2019-10-19 22:22:50 -04:00
Henrik Lissner
5783fe5e7e
emacs/dired: expand dired-omit-files
2019-10-19 22:22:50 -04:00
Henrik Lissner
2478271583
emacs/dired: add fd-dired for faster find-dired
...
...if you have fd installed.
2019-10-19 22:22:50 -04:00
Henrik Lissner
9b25582be1
Reduce list of root files projectile searches for
...
And define them on a per-module basis. This reduces the number of file
checks it performs, particularly for non-project files.
Might help #1317
2019-10-19 22:22:49 -04:00
Aidan Gilmore
7784b2215b
Update PragmataPro Ligatures
2019-10-19 17:16:39 -04:00
Henrik Lissner
e1edbcb3d9
Remove dtrt-indent entries for crystal, rust & scala
...
They were merged upstream in jscheid/dtrt-indent/pull/49
2019-10-19 15:01:37 -04:00
Henrik Lissner
4a1c781fab
lang/crystal: add ameba linter support
2019-10-19 14:54:31 -04:00
Henrik Lissner
c8efb45746
Add doom-{file,directory}-size file functions
2019-10-19 14:38:56 -04:00
Henrik Lissner
06da7fc20b
lang/nim: remove nimsuggest--get-dirty-dir hack
...
Fixed upstream in nim-lang/nim-mode/commit/c8b50840
2019-10-19 14:37:08 -04:00
Henrik Lissner
63c41fefcb
doom-guess-mode-h: affect interactively saved files
...
A half revert of 9b003e051
.
2019-10-19 14:18:14 -04:00
Henrik Lissner
c6121b98b5
tools/flyspell: enable flyspell-mode in text modes
2019-10-19 14:03:32 -04:00
Henrik Lissner
f9280bcec3
lang/org: remove redundant 0/^ evil keybinds
2019-10-19 13:58:16 -04:00
Henrik Lissner
2ec35edd14
lang/org: rethink {h,j,k,l} modifier keys
...
Since they are (mostly) redundant with evil-org's meta keys, I set
`C-S-{h,j,k,l}` to commands that evil-org doesn't bind.
2019-10-19 13:58:16 -04:00
Henrik Lissner
2e6754ea59
lang/org: enable more evil-org themes
2019-10-19 13:58:12 -04:00
Henrik Lissner
e972c97b2e
lang/sh: remove zsh detection
...
sh-mode already does its own detection for zsh, so this is unnecessary.
2019-10-19 13:52:27 -04:00
Henrik Lissner
9b003e0516
Fix doom-guess-mode-h being too aggressive
...
It would trigger set-auto-mode whenever files are written to (e.g. when
persp-mode writes its workspace/session files, which have unsafe local
variables, so the user is inundated with prompts to accept them).
Now, doom-guess-mode-h will only work on files with shebang lines.
2019-10-19 13:50:42 -04:00
Henrik Lissner
22ae9cca15
lang/coq: tab-width = proof-indent
2019-10-19 04:00:27 -04:00
Henrik Lissner
679b16a22e
Fix doom-exec-process not returning output
2019-10-19 02:34:57 -04:00
Henrik Lissner
133f0d5f30
lang/markdown: improve evil+markdown integration
2019-10-19 01:46:46 -04:00
Henrik Lissner
4860bb86ce
tools/direnv: only update on major mode change
...
Rather than on buffer-switch. This makes switching windows much faster,
but introduces a (low) risk of a stale environment. Needs more testing.
2019-10-18 22:34:41 -04:00
Henrik Lissner
12b276c4d6
Fix void-variable EMACS26+ issue
...
By loading core-lib a little later, for now.
2019-10-18 22:21:25 -04:00
Henrik Lissner
7b45b39860
Refactor doom-load-packages-incrementally
2019-10-18 22:09:28 -04:00
Henrik Lissner
43e8ddbc6d
Add docstrings to GC hooks
...
And correct grammar in a comment.
2019-10-18 22:09:28 -04:00
Henrik Lissner
2f4ac32b0d
Load core-lib & refactor x-win advice
2019-10-18 22:09:28 -04:00
Henrik Lissner
3388fa028d
lang/web: compress web-mode :mode's into one
2019-10-18 21:35:30 -04:00
Henrik Lissner
80532921bb
Highlight urls in buffers as links
2019-10-18 21:23:02 -04:00