Commit Graph

4955 Commits

Author SHA1 Message Date
yuhan0
b89f7e1127 Disable evil-mc bar cursor on Mac OS and Windows 2019-03-16 14:15:19 +08:00
yuhan0
d44c80c565 Update evil-mc "gzu" and "gzq" bindings 2019-03-16 14:15:19 +08:00
Henrik Lissner
784ae418da
Fix wrong-type-argument on +emacs-lisp-eval
When using +eval commands in file-less buffers, like the scratch buffer.
2019-03-15 16:15:17 -04:00
Andrew Whatson
1081095a64 Initialize dashboard later on doom-init-ui-hook 2019-03-15 16:26:48 +10:00
Henrik Lissner
a37e1922da
ui/treemacs: fix tab/ret keybinds in evil treemacs
Fixes #1257
2019-03-15 01:49:11 -04:00
Henrik Lissner
454421dc54
Merge pull request #1262 from flatwhatson/help-bindings
Add forward/back-button bindings in help-mode
2019-03-15 01:37:20 -04:00
Henrik Lissner
de2d681567
Initialize dashboard on doom-init-ui-hook 2019-03-15 01:36:57 -04:00
Andrew Whatson
cd3346b7ec Add forward/back-button bindings in help-mode 2019-03-15 15:03:30 +10:00
Andrew Whatson
910bfc41cc Initialize dashboard later in window-setup-hook
Since bb3f027c moved `projectile-mode` into `doom-init-ui-hook`,
projectile was getting initialized after the dashboard.  This means for
non-evil users, the `C-c p p` binding is not shown, because it's not yet
loaded.
2019-03-15 13:51:22 +10:00
Huy Duong
d77237a9c4 Correct missing bindings for rspec-mode
Signed-off-by: Huy Duong <qhuyduong@hotmail.com>
2019-03-15 10:01:43 +07:00
Henrik Lissner
3e2779da39
Refactor leader/localleader keybinds
- Some buffer-local commands were removed from leader binds
- Some more commands were added to org's localleader
- Reformatted some leader keys so that lower/upper case keys are grouped
  together, rather than apart.
- Add SPC-s-c and SPC-s-e for creating/using temporary snippets (with
  auto-yasnippet).
2019-03-14 18:38:51 -04:00
Henrik Lissner
c707a96648
ui/modeline: use simple format for checker segment 2019-03-14 17:59:24 -04:00
Henrik Lissner
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
Henrik Lissner
60c965ded8
Revert restored revert of ee6e4a8b
Holy reverts Batman.
2019-03-14 00:31:59 -04:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
e116003162
lang/python: start lsp later
Allows file/dir local variables to affect lsp.
2019-03-13 20:15:23 -04:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
1ce2b29193
ui/modeline: minor startup optimization
Prevents project.el from being eager-loaded at startup.
2019-03-13 18:46:06 -04:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
29277c9b02
Disable indent guides in incompatible modes
e.g. visual-line-mode & org-indent-mode
2019-03-13 01:29:05 -04:00
Henrik Lissner
a2fd7fc877
Merge pull request #1252 from flatwhatson/fix-autoload-mc
Fix loading of multiple-cursors configuration
2019-03-13 01:02:06 -04:00
Andrew Whatson
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
Huy Duong
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
Henrik Lissner
093dddff4a
lang/clojure: minor refactor 2019-03-12 12:28:57 -04:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
e1f4668c0b
Remove redundant :commands
The elisp-demos package autoloads elisp-demos-advice-helpful-update
2019-03-12 11:31:25 -04:00
Henrik Lissner
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
Henrik Lissner
bee34f6a28
Merge pull request #1244 from flatwhatson/better-apropos
Improvements to apropos and describe-symbol
2019-03-12 11:27:42 -04:00
Henrik Lissner
6afe3d4115
Remove unneeded negation 2019-03-12 11:25:48 -04:00
Andrew Whatson
979c201bf1 Fix latest company-box all-the-icons configuration 2019-03-12 23:23:19 +10:00
Andrew Whatson
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
Huy Duong
2860633f91 Improve rspec key bindings
Signed-off-by: Huy Duong <huy.duong@employmenthero.com>
2019-03-12 09:21:56 +07:00
Henrik Lissner
c5c3bdaa61
ui/indent-guides: set variables sooner
So you don't need after! to change them.
2019-03-11 16:46:55 -04:00
Henrik Lissner
cdd6587450
lang/markdown: only bind meta keys in insert mode
Fixes #1241
2019-03-11 13:19:25 -04:00
Henrik Lissner
16f7bad266
Hide magit modeline more selectively 2019-03-11 12:58:53 -04:00
Henrik Lissner
f0013083c0
Restore minimal modeline in magit
With process indicator
2019-03-11 12:54:16 -04:00
Henrik Lissner
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
Andrew Whatson
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
Andrew Whatson
ea14407c16 Fix ace-link-help binding in helpful-mode 2019-03-10 23:05:03 +10:00
Henrik Lissner
f02e7faefb
emacs/dired: ranger-show-literal = nil 2019-03-09 19:56:48 -05:00
Henrik Lissner
b0bc1d925f
Minor refactors; revise docstrings+comments 2019-03-09 19:56:47 -05:00