Merge pull request #4032 from gagbo/feature/bepo-ace-window

Feature/bepo ace window
This commit is contained in:
Henrik Lissner 2020-10-06 00:20:17 -04:00 committed by GitHub
commit 0feacd4ce4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,8 @@
(add-hook 'evil-collection-setup-hook #'doom-bepo--evil-collection-hook) (add-hook 'evil-collection-setup-hook #'doom-bepo--evil-collection-hook)
;; Highlight non breaking spaces as error in prog modes only ;; Highlight non breaking spaces as error in prog modes only
;; TODO: this variable is defined in a file called xdisp.c Will that work in non-X builds ? ;; FIXME: this variable is defined in a file called xdisp.c Will that work in non-X builds ?
;; From early observations in sway running pgtk fork, it does not.
(setq nobreak-char-display t) (setq nobreak-char-display t)
(set-face-attribute 'nobreak-space nil :underline t) (set-face-attribute 'nobreak-space nil :underline t)
@ -24,11 +25,10 @@
(setq switch-window-shortcut-style 'qwerty (setq switch-window-shortcut-style 'qwerty
switch-window-qwerty-shortcuts '("a" "u" "i" "e" "," "c" "t" "s" "r"))) switch-window-qwerty-shortcuts '("a" "u" "i" "e" "," "c" "t" "s" "r")))
(map! "C-é" 'evil-window-map)
(map! (map!
:leader :leader
:desc "Window" "é" 'evil-window-map :desc "Window" "é" 'evil-window-map
(:prefix "é"
:desc "Ace window" "é" #'ace-window)
(:when (featurep! :ui popup) (:when (featurep! :ui popup)
:desc "Toggle last popup" "#" #'+popup/toggle) :desc "Toggle last popup" "#" #'+popup/toggle)
(:when (featurep! :ui workspaces) (:when (featurep! :ui workspaces)