Commit Graph

6247 Commits

Author SHA1 Message Date
Henrik Lissner
993e14b2e8
Merge pull request #1920 from rgrinberg/coq-disable-electric-terminators
lang/coq: proof-electric-terminator-enable = nil
2019-10-20 19:59:20 -04:00
Henrik Lissner
2b43558445
tools/flycheck: display popups a little faster 2019-10-20 19:57:46 -04:00
Henrik Lissner
9402a0e09d
Bind 'SPC i u' to 'insert unicode character'
With a counsel remapping. We need a helm one too.
2019-10-20 19:57:28 -04:00
Henrik Lissner
6fab07a2e7
tools/editorconfig: detect elisp & js shell scripts
(And sort +editorconfig-mode-alist alphabetically)
2019-10-20 19:57:28 -04:00
Henrik Lissner
1694641636
lang/org: minor refactor of contrib submodules 2019-10-20 19:57:28 -04:00
Henrik Lissner
c5464f1798
lang/org: replace ox-reveal w/ org-re-reveal
ox-reveal is no longer maintained, and has been replaced with
org-re-reveal; a fork.
2019-10-20 19:57:27 -04:00
Henrik Lissner
45a17c86ba
Add +ivy/jump-list & bind 'SPC b j' to it
Falls back to evil-show-jumps for non-evil users.
2019-10-20 19:57:27 -04:00
Henrik Lissner
e7f492c400
ui/popup: fix "back to top level" issue
The popup manager (by default) auto-kills most popup buffers after
~5s (controlled by the :ttl property). However, when backtrace buffers
are killed, it calls `top-level`. When the popup manager kills the
buffer, this causes janky cursor movement and the message "Back to top
level" to be displayed in the minibuffer.
2019-10-20 19:57:27 -04:00
Henrik Lissner
00849c5e1b
config/default: don't consult authinfo for local sudo TRAMP buffers 2019-10-20 19:57:27 -04:00
Henrik Lissner
9634a3860e
config/default: invoke magit-todos-list on SPC p t
Before falling back to +ivy/tasks and helm/tasks (not implemented yet).
2019-10-20 19:57:27 -04:00
Henrik Lissner
0218985b3e
lang/ess: use run-ess-julia for ess-julia-mode REPL 2019-10-20 19:57:27 -04:00
Henrik Lissner
e0469e14c0
Minor refactors & reformatting across the board 2019-10-20 19:57:27 -04:00
Henrik Lissner
8b18604b63
lang/sh: remove /bin/* fallback mode assocation
Now that doom-guess-mode-h exists (which will set the major mode when
you save a file in fundamental-mode), this association isn't needed
anymore (because doom-guess-mode-h will deduce the mode from the
shebang line).
2019-10-20 15:14:38 -04:00
Henrik Lissner
7e3849be67
lang/org: remove unnecessary toc-org advice
It was initially written to avoid the cursor hopping about the buffer
when regenerating the table of contents. This isn't really an issue
anymore. Although, I would like to prevent emacs from adding adding an
undo step when it is regenerated...
2019-10-20 15:14:38 -04:00
Henrik Lissner
29f6db6ead
lang/org: org-clock-in-resume = t, org-clock-out-remove-zero-time-clocks = t 2019-10-20 15:14:38 -04:00
Henrik Lissner
043205b515
lang/org: org-html-validation-link = nil
Don't include "Validate" link in html exports.
2019-10-20 15:14:38 -04:00
Henrik Lissner
6e0a93233d
Add emacs/ibuffer module
And bind 'SPC b i' to ibuffer
2019-10-20 15:14:26 -04:00
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
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
bdd9d91f72
lang/emacs-lisp: remove extraneous macrostep keybind
`e` is more than enough
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
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
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
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
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
22ae9cca15
lang/coq: tab-width = proof-indent 2019-10-19 04:00:27 -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
3388fa028d
lang/web: compress web-mode :mode's into one 2019-10-18 21:35:30 -04:00
Henrik Lissner
2d2413d293
tools/lsp: defer lsp init until buffer is visible 2019-10-18 21:10:56 -04:00