Commit graph

892 commits

Author SHA1 Message Date
Henrik Lissner
5714ff423a
Fix evil jumplist after jumping to ag match
helm-ag would formerly add multiple entries to the jump list. It now
only adds one, and recenters the window when jumping to an ag match.
2018-08-13 21:47:55 +02:00
Henrik Lissner
18925b51db
Update comments in feature/evil/+everywhere 2018-08-11 21:03:15 +02:00
Henrik Lissner
1490b9ec8d
Prioritize private snippets over built-in ones
In the case of snippet conflicts, you'd normally be prompted to select
which snippet you want. Built-in snippets are now disregarded if
conflicting private ones exist.

This makes it easier for users to add overriding snippets to
DOOMDIR/snippets.
2018-08-11 16:48:31 +02:00
Henrik Lissner
e127819d88
Don't override ispell-program-name
Better not to override possible user customizations, only adjust
ispell-extra-args in case of aspell, to improve its performance.
2018-08-11 01:59:37 +02:00
Henrik Lissner
916210d5a8
feature/lookup: silence cl-destructuring-bind errors
In likely case where (bounds-of-thing-at-point 'symbol) returns nil,
cl-destructuring-bind would throw a wrong-number-of-args error we don't
care about.
2018-08-08 23:37:29 +02:00
Henrik Lissner
8d26879f99
Add :editor multiple-cursors module
Moves evil-mc/evil-multiedit out of feature/evil.
2018-08-06 00:31:23 +02:00
Henrik Lissner
639349d0ed
feature/spellcheck: add hunspell/aspell support 2018-08-02 21:44:09 +02:00
Henrik Lissner
5772ace0ff
Update +spellcheck-immediately docstring
It won't work on LaTeX-mode-hook because flyspell-mode is added to
TeX-mode-hook, which runs before the former.
2018-08-02 16:46:04 +02:00
Henrik Lissner
5f1618e7a1
feature/spellcheck: minor reformatting 2018-08-02 16:40:47 +02:00
Henrik Lissner
43dcaa1853
Demote evil-collection errors 2018-07-31 19:35:30 +02:00
Henrik Lissner
e94f1f39f4
Enable evil-collection-(deadgrep|imenu-list) 2018-07-30 12:34:53 +02:00
Henrik Lissner
48af60bb38
Remove redundant :mode from c-mode file template 2018-07-17 03:20:58 +02:00
Henrik Lissner
53df5178a3
Fix wrong-type-argument: commandp error when opening some REPLs 2018-07-16 14:06:08 +02:00
Henrik Lissner
b38cbcd060
Fix void-function (setf alist) error 2018-07-15 01:00:19 +02:00
Henrik Lissner
e97fd7558c
Allow file template :trigger to be a function 2018-07-14 23:16:38 +02:00
Henrik Lissner
6efd9d4573
Allow set-repl-handler! to accept multiple modes
As first argument.
2018-07-14 23:16:35 +02:00
Henrik Lissner
3db462ba54
Add regexp support to :mc ex command 2018-07-13 23:35:52 +02:00
Henrik Lissner
6e52e2d07c
Refactor +evil:mc
+ Improve error handling when no PATTERN is given (reported by @ar1a)
+ Report correct number of resulting cursors
+ Handle edge case where only one cursor is created
+ Report edge case where no cursors are created
2018-07-13 12:58:58 +02:00
Henrik Lissner
933e52b886
Don't enable evil-visualstar-mode
Redundant with our manual */# keybinds.
2018-07-10 14:21:45 +02:00
Henrik Lissner
93917fd8a2
Fix gsn/gsN & gs*/gs# evil-easymotion binds 2018-07-10 14:21:30 +02:00
Henrik Lissner
34de826ac4
+workspace-contains-buffer-p -> persp-contain-buffer-p
Wrapper is unnecessary.

Also remove unnecessary type checking.
2018-07-09 21:53:50 +02:00
Henrik Lissner
4941e327f4
General refactor for readability
+ Removes redundant/unhelpful comments
+ Renames functions, hooks and variables to be self-documenting
+ Use add-to-list to ensure idempotency (and is more performant)
2018-07-09 15:33:31 +02:00
Henrik Lissner
1a068f82f1
Add +workspace/load-last-session
And fix the load last session button on dashboard.
2018-07-07 11:41:24 +02:00
Henrik Lissner
cd26e11e94
Merge pull request #740 from fuxialexander/counsel_find_file_action
Add ivy action to counsel-find-file and counsel-projectile-switch-project
2018-07-05 13:49:04 +02:00
Henrik Lissner
daa05eb7f2
Fix regexp for realgud popup rule
Causing invalid-regexp errors.
2018-07-04 21:23:56 +02:00
fuxialexander
8f74ce982d add action for counsel-projectile-switch-project 2018-07-04 23:59:36 +08:00
Wang Hao
1ce3bedbbb fix wrong argument order in usage of alist-get 2018-07-02 11:05:10 +08:00
Henrik Lissner
dd71f54e5e
Fix reuse of same repl buffer across projects 2018-07-01 01:10:51 +02:00
Henrik Lissner
eebe852de4
Fix workspace cleaning up visible popups
On :cleanup or doom/cleanup-session
2018-06-30 23:16:48 +02:00
Henrik Lissner
66e62e8b6e
destructuring-bind => cl-destructuring-bind 2018-06-30 02:58:25 +02:00
Henrik Lissner
91c4448ed2
Refactor +workspaces|associate-frame
No need to set current frame on first frame.
2018-06-30 02:29:19 +02:00
Henrik Lissner
83ba527afd
Refactor auto-add-buffer functionality
Use built-in mechanism for auto-adding buffers to current workspace,
rather than reinvent the wheel.
2018-06-30 02:29:18 +02:00
Henrik Lissner
537cc9e1ed
Rewrite doom-real-buffer-p; require first arg
Because of how widely used this function is, I'd rather it be as
explicit as possible to avoid bugs and to make it faster.
2018-06-30 01:57:51 +02:00
Henrik Lissner
2ffad42466
Prevent persp-mode throwing an error on kill-emacs
This would otherwise stop Emacs from quitting.
2018-06-29 22:23:44 +02:00
Henrik Lissner
db0ad48e4d
Enable evil-collection-elfeed 2018-06-29 14:12:50 +02:00
Henrik Lissner
888bd97093
Fix evil-collection-neotree throwing void-function
Because it is using the neotree-make-executor macro without requiring
`neotree` at compile time.

Also, remove the helm fix because they no longer use the
`with-helm-buffer` macro.
2018-06-28 23:16:23 +02:00
Henrik Lissner
875821a95a
Remove evil-ediff from :feature evil
It's in evi-collection-ediff now.
2018-06-28 23:16:09 +02:00
Henrik Lissner
5a7c8803d9
Remove :when support from after!; add defer-until!
New macro does what the :when keyword did for after!.
2018-06-27 21:29:28 +02:00
Henrik Lissner
5a63f9cb30
Fix some evil-collection modules not loading
Because evil-collection-init was enclosed in one list too many.
2018-06-27 19:12:56 +02:00
Henrik Lissner
8b9d4a94bb
Define evil-want-* options as defvars
To make it easier for users to customize.
2018-06-27 03:09:06 +02:00
Henrik Lissner
123df290a6
Rewrite evil +everywhere & evil-collection init
Fixes a couple issues with certain evil-collection modules not loading
and removes some redundant config for 'replace.
2018-06-27 03:05:47 +02:00
Henrik Lissner
69143b20f8
feature/evil: remove macroexpand
Snuck into a commit
2018-06-27 02:57:02 +02:00
Henrik Lissner
fe235c341d
Refactor evil-collection-init code
Make it possible to disable image-mode and elisp-mode evil-collection
modules.
2018-06-26 18:58:07 +02:00
Henrik Lissner
5966e9aa9c
Restore +evil-collection-disabled-list
Without this variable, the user can't easily prevent certain
evil-collection modules from loading without some provide voodoo.
2018-06-26 18:58:06 +02:00
Alois Janíček
778f9dea5c
feature/evil: correct feature reference
Both help-mode and help-mode-map are defined in file help-mode.el
which provides 'help-mode
2018-06-26 13:25:23 +02:00
Henrik Lissner
77eee38c41
Make deprecated :repl setting DRY 2018-06-26 01:48:09 +02:00
Henrik Lissner
6310236f51
Appease the holy byte-compiler 2018-06-26 01:46:34 +02:00
Henrik Lissner
a1d02749e5
Rethink how evil-collection is (lazy) loaded
This fixes a keybinding precedence issue that prevented users from
customizing evil-collection's keybinds, because evil-collection would
always run last, *after* user customizations. This precedence problem
occurs because evil-collection was lazy loaded haphazardly.

This isn't the most elegant solution, but I can live with it.
2018-06-25 15:39:38 +02:00
Henrik Lissner
aa70213f87
Fix "Keyword argument :when not one of" error
Occurs when expanding file templates with a :when clause.
+file-templates--expand wasn't anticipating it; throwing that error.
2018-06-24 22:23:09 +02:00
Henrik Lissner
f784ed3cbd
Update set-docset! documentation
And remove redundant documentation for obsolete :docset.
2018-06-24 22:23:09 +02:00