From: Alexander Shukaev <haroogan@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Deny keymap changes made by `evil-integration'
Date: Sat, 25 Jul 2015 13:43:09 +0200 [thread overview]
Message-ID: <CAKu-7Wx1UkaykQOnYqRks9=etsQnTu=GM9+SU2sFE2sOy7ihtg@mail.gmail.com> (raw)
Hello,
`evil-integration' has quite some forms like
(eval-after-load 'dired
'(progn
;; use the standard Dired bindings as a base
(defvar dired-mode-map)
(evil-make-overriding-map dired-mode-map 'normal)
(evil-add-hjkl-bindings dired-mode-map 'normal
"J" 'dired-goto-file ; "j"
"K" 'dired-do-kill-lines ; "k"
"r" 'dired-do-redisplay ; "l"
;; ":d", ":v", ":s", ":e"
";" (lookup-key dired-mode-map ":"))))
for various packages. I would like to learn how to either revert
these changes back to the default state (i.e. `dired-mode-map' should
be crystal clean as it was before loading `evil') or, even better,
prevent `evil-integration' from doing such changes. For instance,
I've tried
(let ((dired-mode-map))
(require 'evil)
...
)
and it didn't work. Any ideas?
Thanks,
Alexander
next reply other threads:[~2015-07-25 11:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-25 11:43 Alexander Shukaev [this message]
2015-07-25 11:47 ` Deny keymap changes made by `evil-integration' Eli Zaretskii
2015-07-25 11:58 ` Alexander Shukaev
2015-07-25 12:33 ` Eli Zaretskii
2015-07-25 12:52 ` Alexander Shukaev
2015-07-25 13:20 ` Eli Zaretskii
2015-07-25 13:23 ` Alexander Shukaev
2015-07-27 21:09 ` John Mastro
2015-07-28 13:28 ` Alexander Shukaev
2015-07-26 12:24 ` Martin Yrjölä
2015-07-26 18:56 ` Alexander Shukaev
2015-07-27 20:46 ` Robert Thorpe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKu-7Wx1UkaykQOnYqRks9=etsQnTu=GM9+SU2sFE2sOy7ihtg@mail.gmail.com' \
--to=haroogan@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.