From 017ec2a63d3fdb0535886751cf82955a776d2cb6 Mon Sep 17 00:00:00 2001 From: condy Date: Mon, 28 Feb 2022 07:05:43 +0800 Subject: [PATCH] atomic-chrome: Initial support --- evil-collection.el | 1 + .../evil-collection-atomic-chrome.el | 42 +++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 modes/atomic-chrome/evil-collection-atomic-chrome.el diff --git a/evil-collection.el b/evil-collection.el index 3f4fbd5..61c218a 100644 --- a/evil-collection.el +++ b/evil-collection.el @@ -113,6 +113,7 @@ This will bind additional find-* type commands, e.g. usages, assignments, etc.." anaconda-mode apropos arc-mode + atomic-chrome auto-package-update beginend bm diff --git a/modes/atomic-chrome/evil-collection-atomic-chrome.el b/modes/atomic-chrome/evil-collection-atomic-chrome.el new file mode 100644 index 0000000..3a7108f --- /dev/null +++ b/modes/atomic-chrome/evil-collection-atomic-chrome.el @@ -0,0 +1,42 @@ +;;; evil-collection-atomic-chrome.el --- Evil bindings for atomic-chrome -*- lexical-binding: t -*- + +;; Copyright (C) 2022 Zhiwei Chen + +;; Author: Zhiwei Chen +;; Maintainer: James Nguyen +;; Pierre Neidhardt +;; URL: https://github.com/emacs-evil/evil-collection +;; Version: 0.0.1 +;; Package-Requires: ((emacs "25.1")) +;; Keywords: evil, tools + +;; This program is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with this program. If not, see . + +;;; Commentary: +;; Evil bindings for atomic-chrome. + +;;; Code: +(require 'evil-collection) +(require 'atomic-chrome nil t) + +(defconst evil-collection-atomic-chrome-maps nil) + +;;;###autoload +(defun evil-collection-atomic-chrome-setup () + "Set up `evil' bindings for `atomic-chrome'." + ;; The browser is in "inserted" state, makes it consistent. + (evil-set-initial-state 'atomic-chrome-edit-mode 'insert)) + +(provide 'evil-collection-atomic-chrome) +;;; evil-collection-atomic-chrome.el ends here