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.
This commit is contained in:
parent
58af4aef56
commit
911d7cb82c
5 changed files with 475 additions and 1 deletions
19
modules/input/layout/config.el
Normal file
19
modules/input/layout/config.el
Normal file
|
@ -0,0 +1,19 @@
|
|||
;;; input/keymaps/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(defface doom-bepo-hard-space '((t (:background "Aquamarine")))
|
||||
"*Face for highlighting non-breaking spaces (`?\u00a0')in Font-Lock mode.
|
||||
\(This is also ?\240.)"
|
||||
:group 'doom-bepo :group 'faces)
|
||||
|
||||
(defvar doom-bepo-cr-rotation-style 'ergodis
|
||||
"Modify this variable in your $DOOMDIR/init.el
|
||||
Style of binding rotation for the cr keys.
|
||||
If 'ergodis, then the module maps the old 'c' bindings to 'l' and the old 'r' to 'h', as
|
||||
the 'change' function is used more often and 'l' is easier to reach than 'h' in bépo.
|
||||
|
||||
If 'strict, the module does a normal swap and 'c' bindings go to 'h', 'r' bindings go to 'l'.
|
||||
|
||||
In all cases, 'h' functions go to 'c' and 'l' ones go to 'r' so the navigation keys still feel vim-like.")
|
||||
|
||||
(when (featurep! +bepo)
|
||||
(load! "+bepo"))
|
Loading…
Add table
Add a link
Reference in a new issue