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
Henrik Lissner
14dfc9fad9
Add FIXMEs to def-setting!'s
...
They will be removed on the 2.1.1 release.
2018-06-24 17:13:23 +02:00
Henrik Lissner
69fc80d7cf
Revert "Fix evil-escape aborting multiedit too eagerly"
...
This reverts commit ba1488279b
.
This hack is no longer necessary now that syl20bnr/evil-escape#83 was
merged upstream.
2018-06-24 10:34:16 +02:00
Henrik Lissner
d78f702401
Update feature/workspaces tests
2018-06-23 22:17:15 +02:00
Henrik Lissner
863fa16bcc
Refactor +workspace/new: use persp-copy
...
Instead of manually adding buffers to new workspace.
2018-06-23 19:59:17 +02:00
Henrik Lissner
fbf7834d93
Don't delete workspace if visible in another frame
...
This leaves persp-mode in a semi-broken state.
2018-06-23 19:53:58 +02:00
Henrik Lissner
f6dc6ac74e
Refactor out map.el usage
...
After some profiling, it turns out map-put and map-delete are 5-7x
slower (more on Emacs 25) than delq, setf/alist-get and add-to-list for
small lists (under 250 items), which is exactly how I've been using
them.
The only caveat is alist-get's signature is different on Emacs 25, thus
a polyfill is necessary in core-lib.
2018-06-23 19:53:54 +02:00
Henrik Lissner
25bc9cfbaf
Fix +lookup/file in non-file-visiting buffers
...
Throws a stringp error is buffer-file-name is nil.
Reported by @myme
2018-06-22 13:42:47 +02:00
Henrik Lissner
4ad9e18135
+default/easymotion => +evil/easymotion
2018-06-22 12:02:31 +02:00
Henrik Lissner
e4cfdc7fcb
Use :when instead of (when ...) block
...
For loading dash docsets in feature/lookup module.
Fixes 'Cannot find package' load errors during byte-compilation.
2018-06-22 01:49:21 +02:00
Henrik Lissner
5531d7115a
Fix indentation for many autodef setters
2018-06-22 01:49:21 +02:00
Henrik Lissner
8c5deef5fc
Fix unintern calls (missing second argument)
2018-06-22 01:49:21 +02:00
Henrik Lissner
0d19b9e61c
Refactor +file-templates--expand
2018-06-22 01:49:21 +02:00
Henrik Lissner
13cb219e49
lang/common-lisp: improve evil+sly integration
2018-06-22 01:49:21 +02:00
Henrik Lissner
be48751a45
Change unsetting with set-lookup-handlers!
...
Instead of passing :unset, pass in nil as its second argument.
2018-06-22 01:49:20 +02:00
Henrik Lissner
60779c9aed
feature/version-control => ui/vc-gutter, emacs/vc
...
Reorganize vcs functionality. Moves the custom fringe bitmaps into :ui
vc-gutter.
2018-06-22 01:49:20 +02:00
Henrik Lissner
e05d7cfee0
Change flycheck initialization strategy
...
Initialize it globally and turn it off where needed, instead of enabling
it on demand. Also fixes void-function: flycheck-mode errors when
:feature syntax-checker is disabled. This is experimental.
Indirectly fixes #710
2018-06-22 01:49:20 +02:00
Henrik Lissner
dbc7b667cf
Simplify set-docset! & add unset capability
...
Removed :add and :remove capabilities. Now appends the provided docset
to the mode's list of docsets, if one exists.
2018-06-22 01:49:20 +02:00
Henrik Lissner
ad2de8e2e5
Fix set-devdocs! not setting docsets properly
...
Would use MODES as a key, instead of mode.
2018-06-22 01:49:20 +02:00