evil-god-state icon indicating copy to clipboard operation
evil-god-state copied to clipboard

Wrong type argument: characterp, escape

Open alexozer opened this issue 7 years ago • 0 comments

If I abort evil god state with escape (say after pressing SPC X), it gives the error in the title. This doesn't seem to happen if I press space after just pressing SPC.

Here's a minimal init.el:

;; -*- lexical-binding: t; -*-

;; Increase garbage collection threshold to prevent frequent gc during startup
(setq gc-cons-threshold 64000000)
;; Restore after startup
(add-hook 'after-init-hook (lambda () (setq gc-cons-threshold 800000)))

(package-initialize)
(require 'package)

(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))

(add-to-list 'package-archives
             '("melpa-stable" . "https://stable.melpa.org/packages/") t)

(unless (package-installed-p 'use-package)
  (package-refresh-contents)
  (package-install 'use-package))

(setq-default use-package-always-ensure t
              indent-tabs-mode nil
              tab-width 2)

(use-package god-mode)
(use-package evil-god-state) ;; :diminish 'god-local-mode)

(use-package evil
  :config (evil-mode)
  (evil-define-key 'normal global-map (kbd "SPC") 'evil-execute-in-god-state)
  (evil-define-key 'god global-map [escape] 'evil-god-state-bail)
  )

alexozer avatar Apr 22 '18 17:04 alexozer