diff options
| author | Axel Forsman <axel@axelf.se> | 2023-08-08 21:56:53 +0200 |
|---|---|---|
| committer | Tom Dalziel <tom_dl@hotmail.com> | 2023-08-20 23:46:23 +0100 |
| commit | 1c4c3bfff8987aa498d6bb8bd88e2e4ba9615ab9 (patch) | |
| tree | 9f827e8ae63cd57f2e842d07c63bbd3c8b1e00b1 /evil-maps.el | |
| parent | a9a9c65b5d0777048c4e8a66fcc06032e3dafc18 (diff) | |
Some cleanups
Diffstat (limited to 'evil-maps.el')
| -rw-r--r-- | evil-maps.el | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/evil-maps.el b/evil-maps.el index 678ebfd..fbf5af1 100644 --- a/evil-maps.el +++ b/evil-maps.el @@ -25,14 +25,14 @@ ;; You should have received a copy of the GNU General Public License ;; along with Evil. If not, see <http://www.gnu.org/licenses/>. +;;; Code: + (require 'evil-states) (require 'evil-ex) (require 'evil-commands) (require 'evil-command-window) (require 'evil-common) -;;; Code: - ;;; Normal state (define-key evil-normal-state-map "a" 'evil-append) @@ -668,10 +668,8 @@ included in `evil-insert-state-bindings' by default." (define-key evil-read-key-map "\r" "\n") ;; command line window -(evil-define-key 'normal - evil-command-window-mode-map (kbd "RET") 'evil-command-window-execute) -(evil-define-key 'insert - evil-command-window-mode-map (kbd "RET") 'evil-command-window-execute) +(evil-define-key* '(normal insert) evil-command-window-mode-map + (kbd "RET") 'evil-command-window-execute) (provide 'evil-maps) |
