Commit Graph

10641 Commits

Author SHA1 Message Date
Henrik Lissner
573675b6e8 Merge pull request #1921 from flatwhatson/info-binds
config/default: add {apropos,Info}-mode keybinds
2019-10-21 06:28:47 -04:00
Henrik Lissner
4238638839 Merge pull request #1924 from flatwhatson/save-buffer
config/default: restore 'SPC f s' keybind; add 'SPC f S'
2019-10-21 06:28:06 -04:00
Henrik Lissner
5aa8972e1d config/default: rethink 'SPC b {s,S}' keys
Relevant to #1923
2019-10-21 06:26:57 -04:00
Henrik Lissner
65dcd901a0 Move common evil-collection-key-blacklist entries to editor/evil 2019-10-21 06:26:57 -04:00
Henrik Lissner
74cad2632b ui/popup: use old alist use-case for set-popup-rule!
This paradigm has been long since abandoned.
2019-10-21 06:26:57 -04:00
Henrik Lissner
b3a0fb9fc7 ui/popup: correct docstring of set-popup-rule!
Predicate functions take two arguments.
2019-10-21 06:26:57 -04:00
Henrik Lissner
c55e86a54b config/defaut: bind 'SPC p s' to projectile-save-project-buffers 2019-10-21 06:26:57 -04:00
Henrik Lissner
9f332c0201 lang/python: lsp-python-ms-python-executable-cmd = python-shell-interpreter 2019-10-21 06:26:57 -04:00
Henrik Lissner
88857b34ed lang/haskell: prevent 'kill the whole session' prompts
When closing the haskell-interactive-mode popup.
2019-10-21 06:26:57 -04:00
Andrew Whatson
0bed9d1312 Restore save file binding on SPC f s
Put `save-buffer` back on `SPC f s` to save without prompt, and add
`write-file` as `SPC f S` for saving with prompt for filename.

Fixes #1923
2019-10-21 19:29:25 +10:00
Andrew Whatson
ecf6a3875e Add some bindings for apropos and info-mode 2019-10-21 14:30:34 +10:00
Bart Brouns
c56f0513fa Add some bindings to mu4e-compose-mode (#1918)
email/mu4e: add mu4e-compose-mode localleader keybinds
2019-10-20 20:01:37 -04:00
Henrik Lissner
06be259b6d Merge pull request #1919 from aidangilmore/pragmata-pro-update
ui/pretty-code: update PragmataPro Ligatures
2019-10-20 19:59:58 -04:00
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
a8cc68e00b Add doom/homepage command
Not that the site exists yet, but I'm tired of having all these tidbits
of uncommitted code laying about. It'll exist eventually!
2019-10-20 15:14:37 -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
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