Commit Graph

143 Commits

Author SHA1 Message Date
Henrik Lissner
99ab08afe8 Add SPC o a keybind (org-agenda-list) 2018-07-04 14:09:56 +02:00
Henrik Lissner
00e23db0b0 Fix workspace restore/load workspace keybinds
As well as keybind on dashboard.
2018-07-04 13:40:44 +02:00
Henrik Lissner
2764bc6ed5 Remove many conflicting emacs-state keybinds #734
The impact many of these keybinds would have on Emacs state weren't
thought through and end up rebinding important keys.
2018-07-03 03:41:08 +02:00
Henrik Lissner
2e0d6a7c3d Fix workspace switch-buffer keybinds 2018-06-30 17:41:20 +02:00
Henrik Lissner
9b2100dfe7 Fix input-decode-map binds in emacsclient frames 2018-06-29 22:21:03 +02:00
Henrik Lissner
dc8c01f17f Add +default/newline alias
Forgot to add it in 08beff91
2018-06-28 14:46:33 +02:00
Henrik Lissner
08beff91da Bind RET/C-j instead of remapping newline
RET -> newline-and-indent
C-j -> newline

This is basically the opposite of the Emacs default.
2018-06-28 14:40:11 +02:00
Henrik Lissner
ac1b1995b5 Conditionally bind persp-switch-to-buffer
In the case :feature workspaces is disabled.
2018-06-26 18:58:06 +02:00
Henrik Lissner
8a4f15b01c Refactor smartparens default rules
Move them to config/default, but move single-lang-specific ones to their
respective modules.
2018-06-25 15:54:38 +02:00
Henrik Lissner
4ad9e18135 +default/easymotion => +evil/easymotion 2018-06-22 12:02:31 +02:00
Henrik Lissner
ab01e0167d Fix evil-easymotion lazyloading middleman
It would fire off the wrong prefix when no operator was active (thus
passing nil to where-is-internal).

Reported by @ar1a
2018-06-22 10:24:48 +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
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