[editing] Add qwerty-ca-fr layout to evil-swap-keys config
This commit is contained in:
parent
d19af574b9
commit
39df5e26b6
|
@ -450,8 +450,8 @@ It should only modify the values of Spacemacs settings."
|
|||
dotspacemacs-use-clean-aindent-mode t
|
||||
|
||||
;; If non-nil shift your number row to match the entered keyboard layout
|
||||
;; (only in insert mode). Currently the keyboard layouts
|
||||
;; (qwerty-us qwertz-de) are supported.
|
||||
;; (only in insert state). Currently supported keyboard layouts are:
|
||||
;; `qwerty-us', `qwertz-de' and `querty-ca-fr'.
|
||||
;; New layouts can be added in `spacemacs-editing' layer.
|
||||
;; (default nil)
|
||||
dotspacemacs-swap-number-row nil
|
||||
|
|
|
@ -481,5 +481,15 @@
|
|||
("8" . "(")
|
||||
("9" . ")")
|
||||
("0" . "="))))
|
||||
(`qwerty-ca-fr (setq evil-swap-keys-number-row-keys '(("1" . "!")
|
||||
("2" . "@")
|
||||
("3" . "#")
|
||||
("4" . "$")
|
||||
("5" . "%")
|
||||
("6" . "?")
|
||||
("7" . "&")
|
||||
("8" . "*")
|
||||
("9" . "(")
|
||||
("0" . ")"))))
|
||||
(_ (message "dotspacemacs-swap-number-row %s is not supported." dotspacemacs-swap-number-row)))
|
||||
(add-hook 'prog-mode-hook #'evil-swap-keys-swap-number-row))))
|
||||
|
|
Loading…
Reference in New Issue