Commit graph

27 commits

Author SHA1 Message Date
Gerry Agbobada
cbbbf0de5c
fix(input layout bepo): remap visual-line-mode-map (#5019)
* fix(input layout bepo): remap visual-line-mode-map

Fixes #5002

* TO SQUASH: map visual-line-mode-map

See comment for rationale. This is the only way to make the remapping work correctly.

`j` and `k` aren't remapped because `t` and `s` had no meaning at all on
`visual-line-mode-map` in `motion` state.

* TO SQUASH: sharpquote and align
2021-05-10 04:57:06 -04:00
Gerry Agbobada
804504025c
fix(:input layout bepo): Ensure eshell rotation goes after evil-collection maps
Fixes #4847
2021-05-09 12:30:45 +02:00
Gerry Agbobada
dbd49922b8
:input layout: fix calls of +layout-bepo-rotate-keymaps pt.2 (#4973)
* :input layout: fix calls of +layout-bepo-rotate-keymaps pt.2
2021-05-03 14:24:54 -04:00
Gerry Agbobada
ab127b9766
:input layout: fix calls of +layout-bepo-rotate-keymaps
After the refactor, the main function to call to fix small inconsistencies went from a raw evil-collection-setup-hook
 function to a proper helper function with a more logical signature. 

This fixes the calls to the new function, so that the custom fixes are properly applied
2021-05-01 11:44:47 +02:00
Henrik Lissner
59a8856ecf input/layout: remove redundancies
Some forms snuck into the last commit.
2021-05-01 01:28:20 -04:00
Henrik Lissner
485381f6d1 input/layout: major refactor
To conform the module to Doom's naming and style conventions.

This introduces two breaking changes:

+ doom-bepo-cr-rotation-style was renamed +layout-bepo-cr-rotation-style
+ Replaces the doom-bepo- prefix for this module's bepo library with
  +layout-bepo-

And the following fixes:

+ Corrects the file path in file header comments.
+ input/layout/autoload/bepo.el is no longer compiled/indexed if +bepo
  isn't activated.
2021-05-01 01:25:42 -04:00
Gerry Agbobada
165541cdae
fix(input layout bepo): unmap t/s in Info-mode-map
Fixes #4848
2021-04-17 09:59:09 +02:00
Gerry Agbobada
9ac79c6e86
fix(:input layout bepo): make evilem use gé
For some reason, using only the `map!` call did not work, the reason is
still unclear but calling the evilem-default-keybdings function worked
so going with that.
2021-04-14 08:56:02 +02:00
Gerry Agbobada
3acbf8e90d
Apply changes to helm and selectrum maps 2021-04-14 08:56:02 +02:00
Gerry Agbobada
39b355cfd3
Fix #4736 - remap insert state bindings in minibuffer maps
- Run `doom-bepo--evil-collection-hook` on all minibuffer maps. This
  allows all bindings in <insert-state> to be remapped in minibuffer
  contexts
- Unmap `swiper-C-s`
2021-04-14 08:55:58 +02:00
Gerry Agbobada
065b26e0c5
[:ui layout bepo] Fix notmuch, C-, M- mappings
WIP:
- Add fixme for evil-org remaps

Misc changes:
- Remove notmuch-search binding
  (Unmap the bare "s" keymap from notmuch)
- Remap [] evil-org bindings to ()
- Fix org-capture not finalizing with C-c
- Remap evilem-map
- Add more triggers to minibuffer rotations
- Unmap C-c and C-r from evil-org

Meta:
- Specify bepo layout in maintainer status
- Add basic troubleshooting

In the remapping functions:
- Add operator maps
- Remap C- and M- bindings in normal mode

Respect evil-org-movement-bindings:
This allow non-qwerty users to keep the correct bindings. The additional
let-binding is done to force evaluation of the concatenations and avoid
`void-variable concat` when the map! gets evaluated

Avoid double rotation on magit maps

- Reorder properly magit-mode-map like done on notmuch
  (evil-collection PR#428)
2021-02-22 10:32:03 +01:00
Gerry Agbobada
6665d2b6c2
[:input layout] Follow evil-magit migration 2020-11-28 18:47:11 +01:00
Gerry Agbobada
5373f87234
[bepo] tools/lsp: add t/s/C-t/C-s for lsp-ui-peek
Reference is 2491c8ed2c
2020-10-15 09:57:33 +02:00
Gerry Agbobada
d44c5863c7
Map evil-window-map to C-é
And add a comment about nobreak-char-display seemingly not working with
pgtk on wayland
2020-10-06 03:07:28 +02:00
Gerry Agbobada
15d1626d9b
Revert "[bepo] Map ace window to <leader>éé (from ww)"
This reverts commit f403a05d70.
2020-10-06 02:57:07 +02:00
Gerry Agbobada
f403a05d70
[bepo] Map ace window to <leader>éé (from ww) 2020-10-06 00:02:23 +02:00
Gerry Agbobada
3d36670132
Add evil-org hooks 2020-09-21 23:58:34 +02:00
Gerry Agbobada
3c736f441b
[bepo] Split good and evil hooks
A few bindings and variables are useful for bepo users even without the
evil module activated
2020-09-21 09:55:19 +02:00
Gerry Agbobada
65fed7ad1c
Set navkeys for evil-markdown in bepo 2020-08-26 23:52:51 +02:00
Gerry Agbobada
49ab3dd23f
Separate rotation of minibuffer maps
We cannot use the old method as the hook triggered before the keymaps
are created and possibly modified by (use-package :config :map) hooks
2020-08-24 11:05:00 +02:00
Gerry Agbobada
4f81870fda
Fix #3783: advice org-completing-read in bepo
The original function tries to map `C-c !` in
minibuffer-local-completion-map although `C-c` is a non-prefix key in
this map for bepo users
2020-08-22 15:55:58 +02:00
Gerry Agbobada
71dd71d1aa
Fix evil-escape and C-r in ivy 2020-08-18 11:49:46 +02:00
Gerry Agbobada
089fe56079
Use simpler method to highlight nbsp
If it does not work on non-X builds we will fall back to the ergodis
method based on adding a font-lock class
2020-08-18 11:49:46 +02:00
Gerry Agbobada
bfafcdfb0c
Set lispy-avy-keys as well 2020-08-18 11:49:45 +02:00
Gerry Agbobada
004a2c50fe
Complete readme and fix magit-status crhl keys 2020-08-18 11:49:45 +02:00
Gerry Agbobada
3ef2531356
Remove doom!-order dependency
The doom-init-modules-hook will do the work at the correct timing
2020-08-18 11:49:45 +02:00
Gerry Agbobada
911d7cb82c
Add support for bépo layout in a dedicated module
Evil is loaded too early to be able to wait for the
config.el file of a user to set the CR-rotation style variable.
2020-08-18 11:49:25 +02:00