Commit Graph

4943 Commits

Author SHA1 Message Date
90f36bceff Undo 1f23eecd: un-homogenize TAB/RET/ESC
This is more trouble than its worth. Better to deal with the old edge
cases than the new ones this causes.

Addresses #1218
2019-03-14 17:59:24 -04:00
60c965ded8 Revert restored revert of ee6e4a8b
Holy reverts Batman.
2019-03-14 00:31:59 -04:00
fba7bf7748 lang/ruby: don't unset rspec-mode's keymaps
No longer necessary, and is destructive for non-evil users.
2019-03-14 00:03:12 -04:00
cd64fb27f8 Fix breaking commit 1ce2b291
Possible nil being passed into file-local-name was causing stringp
errors all over the place.
2019-03-14 00:00:22 -04:00
fa98551d19 tools/vterm: minor refactor
Don't end warnings in punctuation, and throw error if modules support is
missing.
2019-03-13 20:41:48 -04:00
e116003162 lang/python: start lsp later
Allows file/dir local variables to affect lsp.
2019-03-13 20:15:23 -04:00
9b1b75f947 Improve profiler popup integration
Following profiler links will open in different window; also displays
CPU/Memory reports side by side.
2019-03-13 20:15:20 -04:00
1e1f725a55 ui/vc-gutter: remove redundant after-save hook
git-gutter already adds one to after-save-hook.
2019-03-13 19:20:07 -04:00
1ce2b29193 ui/modeline: minor startup optimization
Prevents project.el from being eager-loaded at startup.
2019-03-13 18:46:06 -04:00
79ac04f0b1 Fix default personal org-capture targets
Supposed to resolve to {org-directory}/todo.org, but instead resolved to
{default-directory}/todo.org.
2019-03-13 18:22:57 -04:00
4715412b5c tools/vterm: remove use-emacs-theme-colors hack
Causes invalid face errors. This will be resolved in doom-themes
instead.
2019-03-13 18:22:09 -04:00
d868f5fd10 Use new ;;;###package cookie
This will later be used for doom/describe-packages to list all locations
where a package is being configured (along with def-package! and after!
blocks).
2019-03-13 01:55:50 -04:00
5c7da455f8 More help-map keys and remaps
- Move profiler from 't' to 'T' (as not to override
  `help-with-tutorial', esp for non-evil users)
- Replace C-c (describe-copying) with describe-coding-system
- Bind doom/describe-symbol to 'h'
- Bind `describe-key-briefly' to 'C-k'
2019-03-13 01:54:40 -04:00
5e5ae456bb Replace doom/what-face with describe-char
describe-char produces the same information and much more.
2019-03-13 01:37:55 -04:00
e50157bcec Restore reverted ee6e4a8b
Although Yevgnen/ivy-rich#51 was merged upstream, due to Melpa issues,
it hasn't been pulled. I'll restore this under it has.
2019-03-13 01:35:46 -04:00
29277c9b02 Disable indent guides in incompatible modes
e.g. visual-line-mode & org-indent-mode
2019-03-13 01:29:05 -04:00
a2fd7fc877 Merge pull request #1252 from flatwhatson/fix-autoload-mc
Fix loading of multiple-cursors configuration
2019-03-13 01:02:06 -04:00
99a5ff2025 Fix loading of multiple-cursors configuration
The package is split in a way that `multiple-cursors.el` is normally not
required when autoloading from commands; `multiple-cursors-core.el` is
always loaded.

Unfortunately the `mc/list-file` location is still not being set
properly, a fix has been submitted: magnars/multiple-cursors.el#355
2019-03-13 14:24:20 +10:00
84cea4feb0 Don't install robe if lsp is enabled
Signed-off-by: Huy Duong <huy.duong@employmenthero.com>
2019-03-13 10:04:39 +07:00
093dddff4a lang/clojure: minor refactor 2019-03-12 12:28:57 -04:00
b06eae6ccf Merge pull request #1214 from qhuyduong/rspec-bindings
Bind some rspec functions for ruby and enh-ruby mode
2019-03-12 11:32:23 -04:00
71069d6dcd Merge pull request #1239 from flatwhatson/add-elisp-demos
Add elisp-demos to lang/emacs-lisp module
2019-03-12 11:31:44 -04:00
e1f4668c0b Remove redundant :commands
The elisp-demos package autoloads elisp-demos-advice-helpful-update
2019-03-12 11:31:25 -04:00
d22538d6ce Merge pull request #1238 from flatwhatson/fix-ace-helpful
Fix ace-link-help binding in helpful-mode
2019-03-12 11:29:05 -04:00
bee34f6a28 Merge pull request #1244 from flatwhatson/better-apropos
Improvements to apropos and describe-symbol
2019-03-12 11:27:42 -04:00
6afe3d4115 Remove unneeded negation 2019-03-12 11:25:48 -04:00
979c201bf1 Fix latest company-box all-the-icons configuration 2019-03-12 23:23:19 +10:00
7b4afa32e4 Improvements to apropos and describe-symbol
Patch the apropos button types so they call helpful instead of the
built-in describe functions.  Also add some bindings to apropos-mode-map
so it behaves like other help modes.

Add `doom/describe-symbol` function, which shows documentation for
callable and variable symbols.  If a symbol is both a variable and a
callable, it dispatches to apropos.  This gives a better workflow than
`helpful-symbol`, which annoyingly prompts the user.

Remap `describe-symbol` to `doom/describe-symbol`, and update
`+emacs-lisp-lookup-documentation` to call it also.
2019-03-12 18:52:24 +10:00
2860633f91 Improve rspec key bindings
Signed-off-by: Huy Duong <huy.duong@employmenthero.com>
2019-03-12 09:21:56 +07:00
c5c3bdaa61 ui/indent-guides: set variables sooner
So you don't need after! to change them.
2019-03-11 16:46:55 -04:00
cdd6587450 lang/markdown: only bind meta keys in insert mode
Fixes #1241
2019-03-11 13:19:25 -04:00
16f7bad266 Hide magit modeline more selectively 2019-03-11 12:58:53 -04:00
f0013083c0 Restore minimal modeline in magit
With process indicator
2019-03-11 12:54:16 -04:00
8392c9dcf6 Add new :ui indent-guides module
Replaces old highlight-indentation-mode with new highlight-indent-guides
plugin.
2019-03-11 12:39:38 -04:00
0a30b4ee4b Add elisp-demos to lang/emacs-lisp module
This is an extremely useful package which adds little examples to the
help docs for a massive number of elisp functions.

https://github.com/xuchunyang/elisp-demos
2019-03-11 00:22:22 +10:00
ea14407c16 Fix ace-link-help binding in helpful-mode 2019-03-10 23:05:03 +10:00
f02e7faefb emacs/dired: ranger-show-literal = nil 2019-03-09 19:56:48 -05:00
b0bc1d925f Minor refactors; revise docstrings+comments 2019-03-09 19:56:47 -05:00
8f98e441c0 Merge pull request #1227 from flatwhatson/fix-dashboard-switch
Only switch to dashboard when creating a new workspace
2019-03-09 13:04:28 -05:00
850ad3956d Merge pull request #1228 from flatwhatson/tidy-ivy-buffer-preview
Tidy up +ivy-buffer-preview functionality
2019-03-09 12:43:34 -05:00
cec93933d0 Revert ee6e4a8b
Fix was merged upstream: Yevgnen/ivy-rich#51
2019-03-09 04:38:22 -05:00
66d75936fc config/default: split into evil/emacs files
Done to better facilitate a non-evil config.

- Adds winum (and enables support for it in doom-modeline)
- Adds expand-region (#1231)
- Uses default smartparens config for non-evil users (WIP)
2019-03-09 03:43:14 -05:00
1a6f0c2f1d 💥 Redesign vanilla Emacs keybind scheme
The leader keys have been redesigned a) for consistency, b) to reduce
collisions with packages, and c) to improve command coverage. However,
much of it still comes from a vim user, so it needs more testing.
2019-03-09 03:42:55 -05:00
b6fcd59a01 completion/ivy: remap describe-bindings & set-variable 2019-03-09 03:42:55 -05:00
419c3ba1e6 feature/evil: recenter window after / * or # 2019-03-09 03:42:55 -05:00
54d1c0dd56 Minor, general refactors 2019-03-09 03:42:55 -05:00
442bd7cfb9 Only apply prefix arg fix to evil leaders 2019-03-09 02:42:32 -05:00
d5ba685817 Don't overwrite C-i in GUI Emacs 2019-03-09 02:42:31 -05:00
9758aae389 config/default: move help keybinds out of +bindings
These ought to be available to all users, whether or not they want the
rest of Doom's keybinds.
2019-03-09 02:42:31 -05:00
ee6e4a8b5c Fix ivy--queue-exhibit: void-function nil error
Until Yevgnen/ivy-rich#51 is merged
2019-03-08 17:58:58 -05:00