Commit graph

82 commits

Author SHA1 Message Date
Henrik Lissner
54d1c0dd56
Minor, general refactors 2019-03-09 03:42:55 -05:00
Henrik Lissner
d5ba685817
Don't overwrite C-i in GUI Emacs 2019-03-09 02:42:31 -05:00
Henrik Lissner
9758aae389
config/default: move help keybinds out of +bindings
These ought to be available to all users, whether or not they want the
rest of Doom's keybinds.
2019-03-09 02:42:31 -05:00
Henrik Lissner
f2b8280b2a
Add +default/search-from-cwd & +default/search-project 2019-03-08 04:25:45 -05:00
Henrik Lissner
1f23eecdc8
(Try to) homogenize TAB/RET/ESC keybinds
Map them to \t/^M/^[, rather than [tab], [return] and [escape].
2019-03-08 04:25:45 -05:00
Henrik Lissner
44de995ca5
config/default: change SPC h keymaps
SPC h now maps to help-map to reduce redundancy. Some adjustments and
additions were made to this map so all users (evil and vanilla) can
benefit from Doom's extra help commands.
2019-03-08 02:37:33 -05:00
Henrik Lissner
4fbf7a2687
Remove expand-region package
It was unused, and is redundant with evil's text object expansion keys.
2019-03-08 02:34:26 -05:00
Henrik Lissner
4d649333a6
Add keybind: SPC h C-k -> describe-key-briefly 2019-03-07 18:26:41 -05:00
Henrik Lissner
c1beb39c5b
Rename doom/describe-setters -> doom/describe-autodefs 2019-03-05 01:55:40 -05:00
Henrik Lissner
cfa97470fc
Add links to config files in describe-packages
Also dims packages that aren't installed.
2019-03-05 01:55:40 -05:00
Henrik Lissner
fbcb4e6973
Minor refactor across the board 2019-03-04 20:47:26 -05:00
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