Commit graph

121 commits

Author SHA1 Message Date
Henrik Lissner
b054190820
New doom/describe-packages command
Replaces describe-packages and adds Doom module awareness to package
documentation.
2019-03-04 20:47:25 -05:00
Henrik Lissner
d46bb287ae
General refactor of Doom core
- Code reduction and refactor across the board (cull unneeded minor
  advise, hooks and hacks or update them)
- Revise outdated comments and docstrings
- Reorganize core autoload libraries
- Remove large file check (Emacs already has a built-in one, which we
  augment to be even more performant when it does kick in)
- helpful.el can now be disabled completely through package!
2019-03-02 01:34:19 -05:00
Henrik Lissner
8a90f29c91
Make session persistence module agnostic
They've been removed from feature/workspaces and moved into
core/autoload/sessions, which falls back to desktop.el if persp-mode
isn't present. This also offers a substantial speed up to
restart+restoring and restoring sessions in general.

Also fixes #1210, where the newly spawned frame after doom/restart
wasn't focused.

Introduces the following commands:

- doom/restart
- doom/restart-and-restore
- doom/quickload-session
- doom/quicksave-session
- doom/load-session
- doom/save-session
- +workspace/restore-last-session (alias for doom/quickload-session)

And removes

- +workspace/load-session
- +workspace/save-session
- +workspace/load-last-session (renamed to +workspace/restore-last-session)
- +workspace/restart-emacs-then-restore (replaced by doom/restart-and-restore)
- :ss (ex command)
- :sl (ex command)
2019-03-02 01:34:19 -05:00
Henrik Lissner
609e577ce7
Refactor evil keybinds; remove SPC {],[} prefixes
These were redundant with the ],[ motion keys.
2019-02-26 22:59:40 -05:00
Henrik Lissner
594df64913
Smarter RET in normal mode over flyspell regions
Will now trigger flyspell-correct-word-generic
2019-02-26 16:55:29 -05:00
Henrik Lissner
1b43ea50f0
Revise SPC f keybinds
- SPC f . -> counsel-file-jump or find-file
- SPC f > -> doom/browse-in-other-projects
- SPC f / -> projectile-find-file
- SPC f ? -> doom/find-file-in-other-project
- Moved doom/sudo-find-file to SPC f S

This change was made to accommodate the new
doom/browse-in-other-projects and doom/find-file-in-other-project
commands, which make it easy to jump to files in other known projects.
2019-02-26 13:21:16 -05:00
Luigy Leon
2e3cf80ffc Bind C-l to ivy-done in counsel-ag-map
to make it more consistent with ivy-minibuffer-map
2019-02-24 18:49:40 -05:00
Henrik Lissner
69ed1a4a99
feature/{syntax-checker,spellcheck} -> tools/fly{check,spell} 2019-02-22 00:25:30 -05:00
Henrik Lissner
88f50bbdec
Merge pull request #1144 from SteamedFish/develop
Add vterm layer
2019-02-21 20:16:57 -05:00
Henrik Lissner
9567b1f97f
Move ESC keybind for transient to tools/magit 2019-02-20 14:45:18 -05:00
Henrik Lissner
8e1010a2ba
Fix C-a/C-b in evil-ex minibuffer 2019-02-20 00:25:03 -05:00
Henrik Lissner
bacf4c7a6a
Fix C-SPC fold toggling keybind
+evil/fold-toggle was replaced with +fold/toggle
2019-02-19 18:06:28 -05:00
Henrik Lissner
f1c13337cc
Fix snippet expansion on TAB in visual mode
Overzealous dispatcher was overriding yas-insert-snippet.
2019-02-19 18:05:56 -05:00
Henrik Lissner
002914c912
Update SPC o t/T keybind predicate
Since :emacs vterm was moved to :tools
2019-02-18 18:50:02 -05:00
Luigy Leon
5e0385ed6b Add transient quit bindings
this adds back the dismiss behavior of "popups" that was lost from the
magit-popup -> transient update
2019-02-18 11:38:55 -05:00
Henrik Lissner
94b16cba6c
Standardize REPL commands & improve SPC o r
- SPC o r now prompts for a REPL to open when none was found for the
  current buffer.
- REPL handlers must now follow the naming convention "*/open*-repl".
  e.g. +python/open-ipython-repl, +emacs-lisp/open-repl, etc.
- +eval/open-repl has been split in two:
  - +eval/open-repl-other-window
  - +eval/open-repl-same-window
2019-02-18 01:59:56 -05:00
Henrik Lissner
7d0caf3efd
New editor/fold module
Extracted from feature/evil and emacs/hideshow.
2019-02-18 00:47:46 -05:00
Henrik Lissner
a72a0e6a62
Replace magithub with forge
Should also fix void-function/void-variable errors caused by evil-magit
depending on the newer version of magit (#1174).

Also introduces a redesign of the SPC g prefix.
2019-02-16 18:26:17 -05:00
Henrik Lissner
9f96e3eae8
Merge pull request #1076 from filalex77/magit-forge
[tools/magit] Add magit-forge
2019-02-12 15:33:48 -05:00
Henrik Lissner
d46c2582d0
Fix 'not an evil-paste' error on SPC i y #1095
yank-pop and evil-paste-pop are picky little buggers, we need our own
delegate.
2019-02-12 00:51:07 -05:00
Niklas Carlsson
1ea507e56c Align flyspell as well 2019-02-05 10:56:55 +01:00
Niklas Carlsson
fa564e33b9 Update text and workspaces as well
These have a left/right and increase/behaviour.
2019-02-05 10:52:45 +01:00
Niklas Carlsson
478d80379d Harmonize next/previous
The description of next and previous was not aligned with the actual
functions that was being called. This patch aligns them.
2019-02-05 10:29:02 +01:00
Henrik Lissner
99fd8b4e1b
O'byte-compiler
Who forbade the obsolete,
Hooks, functions; adieu.

(And an unused argument too)
2019-02-03 18:42:09 -05:00
Henrik Lissner
4a94599b19
Fix TAB fallthrough if yas-minor-mode is disabled
yas-expand will error out if yas-minor-mode is disabled, preventing TAB
from falling through to the next action.
2019-02-03 18:39:34 -05:00
Henrik Lissner
a1b24db458
Merge pull request #1145 from versinib/develop
Fix description for increase/decrease font size
2019-01-28 21:01:32 -05:00
Henrik Lissner
e9d09d17da
Remove s-x / s-; keybinds 2019-01-28 21:00:41 -05:00
Henrik Lissner
5baaf08246
Move evil-mc library to editor/multiple-cursors 2019-01-28 19:54:55 -05:00
Bastien Versini
451989813f Fix description for increase/decrease font size 2019-01-26 23:08:39 +01:00
SteamedFish
424c358786 Add vterm layer
vterm layer uses emacs-libvterm for terminal support
2019-01-27 03:53:33 +08:00
Henrik Lissner
f264a9bc6e
Back to command = super, option = meta on MacOS
On MacOS, command used to be 'meta, which Emacs (and many packages) use
for many keybinds. I don't want to pollute the command key, so it is now
meta (as is the Emacs default).

The MacOS keybind fixes have been moved back to super.
2019-01-22 19:29:13 -05:00
Henrik Lissner
89311f567e
Add docstring to +default-repeat-keys
And switch order of M-;/A-; to match sort order for M-x/A-x/s-; binds in
config.el.
2019-01-21 22:10:18 -05:00
Henrik Lissner
ebf9e6c7e8
SPC ; => eval-expression 2019-01-21 22:10:07 -05:00
Henrik Lissner
aa13c9a4d3
Group CUA minibuffer keys 2019-01-21 22:09:49 -05:00
Henrik Lissner
1f523dfdd6
Replace global meta keybinds w/ super fixes on Mac
These super keybinds are exclusively to repair conventional behavior for
CMD OS keys.
2019-01-21 22:09:02 -05:00
Henrik Lissner
4b8c21a34b
Merge pull request #1090 from UndeadKernel/feature_default-emacs-bindings
bindings: default set of bindings for emacs users
2019-01-21 17:39:20 -05:00
UndeadKernel
cbd91a4d3e bindings: standardize movement to the start or end 2019-01-21 11:15:39 +01:00
UndeadKernel
4bc5fac0b2 bindings: Mimic MAC window changes withing emacs
The binding applies for evil and non-evil users alike.
2019-01-21 11:15:23 +01:00
UndeadKernel
00ce44a733 bindings: CUA bindings only in evil 2019-01-11 15:09:21 +01:00
Oleksii Filonenko
5287c48092
Move Forge binding to config/default/+evil-bindings 2019-01-11 15:00:24 +02:00
UndeadKernel
6a55751679 bindings: correctly detect if syntax-checker is on 2019-01-10 14:25:10 +01:00
Undead Kernel
b0b666b8f5 bindings: default set of bindings for emacs users 2019-01-10 13:52:35 +01:00
Henrik Lissner
634238782b
Sharp-quote keybinds
Conventions? Conventions.
2019-01-05 17:54:09 -05:00
Henrik Lissner
93c537e6a7
Revise C-a/C-e/C-u/C-w/C-b/C-f keybinds
+ C-b/C-f/C-w/C-u are from vim, and so will only be set for evil users.
+ C-a/C-e exists in both vim and Emacs, so we make them smarter for both
  users.
2019-01-05 17:53:11 -05:00
Henrik Lissner
2cc8a96a30
config/default: restore M-t/m-T workspace keybinds 2019-01-05 15:18:58 -05:00
Henrik Lissner
9b248f2299
Fix v bind not switching to linewise visual
After invoking expand-region. Also fixes expand-region reporting the old
contraction key (V, when it should be C-v).
2019-01-04 13:37:15 -05:00
Henrik Lissner
008fd7130f
Rebind g=: widen in normal & narrow in visual mode 2019-01-03 12:56:50 -05:00
Henrik Lissner
8a7a684fc9
Restore SPC b b/SPC b B and SPC ,/SPC < keybinds
Restores workspace-restricted buffer switching.
2019-01-02 13:19:02 -05:00
Henrik Lissner
46499ec70f
config/default: minor keybind refactor 2018-12-31 15:55:46 -05:00
Henrik Lissner
59b45878e6
Merge pull request #1079 from filalex77/helm-tasks
Add helm to project tasks
2018-12-31 15:28:51 -05:00