Commit graph

55 commits

Author SHA1 Message Date
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
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
Henrik Lissner
6d10b9bbdf
Revert to Meta, instead of Super
Using meta is a little more flexible. Since there is no dedicated meta
key on our keyboards (anymore), it can be remapped to another modifier
by changing mac-command-modifier, x-meta-keysym, etc. without
sacrificing super or alt keybinds.
2018-12-31 15:00:05 -05:00
Henrik Lissner
747c040c0e
default/config: explicitly use :states #1084
The 'motion alias didn't appear to be working.
2018-12-29 20:56:12 -05:00
Oleksii Filonenko
9a0da588d9
Add helm to project tasks 2018-12-28 03:31:03 +02:00
Henrik Lissner
869758e8f5
Remove extra parentheses #1075 2018-12-27 15:05:14 -05:00
Oleksii Filonenko
35bf785f75
[config/default] Fix C-S-s in company minibuffer 2018-12-27 17:26:29 +02:00
Henrik Lissner
e58c1ff89d
Fix TAB in modes with their own keybind
Like org-mode
2018-12-26 15:01:28 -05:00
Henrik Lissner
b88c712715
Merge pull request #1057 from ar1a/helm-project-search-bind
Bind SPC-/-p to +helm/project-search if using helm
2018-12-25 04:37:25 -05:00
Henrik Lissner
649d34244a
evil-define-key -> evil-define-key* 2018-12-25 04:36:15 -05:00
Vladyslav M
62f9c9827f
config/default: fix Wrong number of arguments: define-key 2018-12-25 11:18:03 +02:00
Henrik Lissner
9c2a1b1f61
config/default: TAB->[tab] for workspace keys 2018-12-25 02:45:10 -05:00
Henrik Lissner
9f2dff02fa
Rethink config/default & keybindings
+ Added +smartparens flag to config/default for default smartparens
  config.
+ Fixed +tng support for completion/company.
+ Removed super keybinds (for all but MacOS)
+ Moved "keybind fixes" to config/default/config.el (these should be
  universally available).
+ Replaced both +default-repeat-forward-key and +default-repeat-backward-key
  with +default-repeat-keys. If this variable is nil, the universal
  repeat motions won't be bound.
2018-12-24 00:04:50 -05:00
Aria
45bb7256cb Bind SPC-/-d to helm too 2018-12-23 18:43:16 +11:00
Aria
715c189608 Bind SPC-/-p to +helm/project-search if using helm 2018-12-23 16:53:45 +11:00
Henrik Lissner
032bde6aa2
Fix malformed keybind remapping 2018-12-22 19:34:56 -05:00
Henrik Lissner
954b0f9c5d
Minor tweaks to map! calls for correctness
+ :map arguments shouldn't be quoted
+ :localleader keys default to all states in the absence of state
  modifiers. This is preferred, rather than restricting their use to
  normal state.
+ :map* is deprecated (there is no difference between it and :map)
2018-12-22 17:01:00 -05:00
Henrik Lissner
d222327d24
Reformat SPC n keys
Used to be in general-define-key format, now in canonical map! format.
2018-12-22 16:48:42 -05:00