Commit graph

782 commits

Author SHA1 Message Date
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
3e802c1b15
Fix +default/easymotion aborting evil operator
Now evil operators will work with +default/easymotion when you first
startup Emacs.

Reported by @ar1a
2018-06-20 18:39:44 +02:00
Henrik Lissner
d6706734a2
SPC q r -> restart & restore emacs
And SQP q R -> restart emacs (but don't restore)
2018-06-19 15:25:30 +02:00
Henrik Lissner
615735a404
Add exato (x/html attribute text objects for evil)
Bound to x
2018-06-18 23:46:14 +02:00
Henrik Lissner
1c4f785df1
Bind C-s to *-minibuffer-history in evil-ex
Thanks to #fuxialexander
2018-06-18 11:29:08 +02:00
Henrik Lissner
3ac7ec5120
Bind C-s to minibuffer-history search in helm/ivy 2018-06-17 22:21:32 +02:00
Henrik Lissner
03022d09f9
Remove doom//x naming convention
This naming convention was meant to be for batch commands, but it grew
to include "commands that were helpful with managing Doom", but many of
these commands shouldn't be interactive in the first place!
2018-06-17 21:35:58 +02:00
Henrik Lissner
09369593a7
M-f = swiper or helm-swoop 2018-06-17 16:46:51 +02:00
Henrik Lissner
19f1c70144
Refactor company keybinds
Also merge evil-collection-company into Doom.

Two new features to note: C-S-s will invoke your completion engine for
the remaining results.
2018-06-17 16:43:10 +02:00
Henrik Lissner
b731aeea8f
Bind q to kill-this-buffer in Man-mode 2018-06-17 02:25:12 +02:00
Henrik Lissner
44363cae40
General, minor refactor & revision
Across the board. All the boards.
2018-06-16 12:26:58 +02:00
Henrik Lissner
e63be83298
Bind SPC f X to doom/delete-this-file 2018-06-15 16:20:20 +02:00
Henrik Lissner
d588332aa0
Fix SPC TAB leader prefix not being recognized
Due to a TAB => [tab] remap later in config/default.
2018-06-15 16:20:20 +02:00
Henrik Lissner
9e54e393ea
Use new evil-collection blacklist instead of hook 2018-06-15 16:20:20 +02:00
Henrik Lissner
a500bfb0a0
Rewrite+rename describe-settings->describe-setters
Will now list autodefs instead of def-settings, including an origin
module label to tell you where it comes from at a glance.
2018-06-15 16:20:20 +02:00
Henrik Lissner
6693db48af
Mark +org-dir obsolete (use org-directory instead)
I prefer not to invent new variables when they aren't strictly
necessary. org-directory is one such variable (although the other path
variables are still necessary).
2018-06-15 01:05:22 +02:00
Zaiste
72d87c19c9
bindings: magit | add file-delete as SPC g x 2018-06-09 23:59:52 +02:00
Henrik Lissner
b207c4040b
Minor, general refactor 2018-06-07 02:51:46 +02:00
Henrik Lissner
a149313e71
config/default: add gzj/gzk binds for evil-mc 2018-06-07 02:51:46 +02:00
Henrik Lissner
c9bfb58369
Minor, general refactor
Remove redundant keybinds, unused letvars, and fix
doom-module-load-path's docstring referencing its former signature.
2018-06-05 12:04:43 +02:00
Aria Edmonds
3119238f42
config/default: add helm bindings for SPC-i-y 2018-06-05 14:40:26 +10:00
Henrik Lissner
3491ac369f
Translate ESC to [escape] (experimental)
This is to fix a keymapping edge case. It _may_ have other
reprecussions, so it must be tested further!
2018-06-04 21:17:49 +02:00
Henrik Lissner
e13ccf3e08
Rebind SPC q keybinds
SPC q q -> evil-quit-all
SPC q Q -> evil-save-and-quit
SPC q X -> +workspace/kill-session-and-quit
2018-06-04 12:17:57 +02:00
Henrik Lissner
1e81a35461
Minimize dependence on map!
This is in preparation for general.el integration coming in 2.1.1. It is
very likely that map! will change (and even more, be split into several
macros). Not much, but change none-the-less. Specifically, the state
keywords (e.g. :nvi, :n, :i) will be removed in favor of a :state
property that takes a list, e.g. (normal visual insert).

In any case, both map! and general are also relatively expensive
compared to define-key and evil-define-key* (and the new define-key!
macro), so use that when we can.

This also means changes to either API won't affect Doom's modules in the
long term.
2018-06-03 15:46:00 +02:00
Henrik Lissner
6e6dfc2215
Implement helm project search functionality #644
Adds +helm/project-search, as well as +helm/ag and +helm/ag-from-cwd,
and variants for rg, pt and grep/git-grep, to mirror the functionality
available to :completion ivy.

Also updates the evil ex commands and keybinds
2018-06-02 20:37:02 +02:00
Henrik Lissner
e4c56d0f15 Fix +default:multi-*-line motions in magit buffers 2018-06-02 18:20:09 +02:00
Henrik Lissner
e5a4415d58
General, minor reformatting/refactor 2018-06-02 13:58:04 +02:00
Henrik Lissner
92fd24ff0f config/default: refactor evil key fixes
Also fixes #643, which is caused because evil is disabled and these
fixes clumsily use evil-define-key* (which won't exist).
2018-06-02 02:39:31 +02:00
Henrik Lissner
3b1f7c02cc
Fix C-S-j/C-S-k keybinds in ivy/minibuffer 2018-06-01 21:12:18 +02:00
Henrik Lissner
1938a0d253
Enforce encrypted authinfo & store in doom-etc-dir
Plaintext authinfo should not be the default.
2018-06-01 17:10:30 +02:00
Henrik Lissner
3a809153f9
Fix scroll-*-command & C-r in minibuffer+ivy
C-u was overwriting backward-kill-sentence & C-r was bound to the
incorrect command for evil users.
2018-06-01 13:58:21 +02:00
Henrik Lissner
bb71e06977
Fix formatting in config/default/+bindings.el 2018-06-01 13:49:40 +02:00
Henrik Lissner
334b6f3adf
tools/dired: SPC o - => dired-jump; show symlink targets
Inspired by #625
2018-06-01 13:46:52 +02:00
Henrik Lissner
82f240ffc9
Bind SPC h w to +default/man-or-woman #639
Woman is essentially elisp-only Man; useful for systems without
man (Windows, particularly).
2018-06-01 12:13:56 +02:00
Henrik Lissner
592205e1dd
Fix borked keys in insert mode
Due to unescapted ctrl key specs.
2018-06-01 02:42:36 +02:00
Henrik Lissner
4d9ddf27a9
Fix over-zealous evil-integration in ivy #636 2018-06-01 02:18:46 +02:00
Henrik Lissner
3359d351f5
Add define-key! macro; refactor config/default key fixes
I'd like to phase out map! where it isn't absolutely necessary, since it
isn't very well optimized.
2018-06-01 02:17:10 +02:00
Henrik Lissner
6ecdd390c1
config/default: reformat +bindings.el
<leader> and general keybinds are now separate (easier to fold or
navigate).
2018-05-31 13:59:21 +02:00
Henrik Lissner
3a16b70022
Add +magit/clone command & bind to SPC g C #633
magithub-clone doesn't support full urls, magit-clone doesn't support
user/repo notation. +magit/clone supports both.
2018-05-31 13:59:21 +02:00
Henrik Lissner
183ccbb8f1
Merge evil-collection-ivy into completion/ivy
Disables evil-collection-ivy. Another step toward the removal of
evil-collection from Doom.
2018-05-31 13:59:21 +02:00
Henrik Lissner
5b31fd9505
Use company-dabbrev-code in prog-modes & company-dabbrev everywhere else 2018-05-28 00:08:14 +02:00
Henrik Lissner
1a452b6842
💥 Change first arg of load! macro
load!'s first argument is no longer a symbol (that will cause
void-variable errors now) to save on unnecessary interning and simplify
compile-time logic. It accepts any valid form that evaluates to a string
now.

If you use load!, you need to change its argument to a string!

e.g. (load! +my-module) => (load! "+my-module")
2018-05-27 12:52:28 +02:00
Henrik Lissner
4c2554c22b
config/default: rethink term/eshell keybinds 2018-05-26 21:20:57 +02:00
Henrik Lissner
13267250a4
Add :collab floobits #615 2018-05-26 21:20:30 +02:00
Henrik Lissner
81d3fe4a82
config/default: fix missing +ivy-do-action! error when ivy module is disabled 2018-05-25 11:54:52 +02:00
Henrik Lissner
09cb4f6716
Major refactor & optimization of how modules load their packages
Now that we are loading package autoloads files (as part of the
generated doom-package-autoload-file when running make autoloads), many
:commands properties are redundant. In fact, many def-package! blocks
are redundant.

In some cases, we can do without a config.el file entirely, and can move
into the autoloads file or rely entirely on package autoloads.

Also, many settings have been moved in their module's autoloads files,
which makes them available ASAP; their use no longer depends on module
load order.

This gained me a modest ~10% boost in startup speed.
2018-05-25 00:46:16 +02:00
Henrik Lissner
4c73ac0111
config/default: Fix evil-collection anti-hacks #604 2018-05-24 22:34:37 +02:00
Henrik Lissner
592e16d76d
Conform debug commands to naming convention 2018-05-24 16:40:37 +02:00
Henrik Lissner
4e18722d49
config/default: update doom help/debug keybinds 2018-05-21 18:34:33 +02:00
Henrik Lissner
af97dcdfe8
config/default: add SPC-g-o/SPC-g-I for browsing remote/issues 2018-05-21 18:34:33 +02:00