diff options
| author | James Nguyen <james@jojojames.com> | 2017-12-06 17:41:09 -0800 |
|---|---|---|
| committer | James Nguyen <james@jojojames.com> | 2017-12-06 17:50:37 -0800 |
| commit | 9eb7d3db0d4b7ffbc6ea6c137b0f2ec21f907d53 (patch) | |
| tree | fee440d522a6270fca6b4989f654e10da8d293a1 /evil-image+.el | |
| parent | 4992d5fb0fd310d73ddc8a8301120552eb9a136f (diff) | |
Change namespace to evil-collection
Diffstat (limited to 'evil-image+.el')
| -rw-r--r-- | evil-image+.el | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/evil-image+.el b/evil-image+.el deleted file mode 100644 index 6e31674..0000000 --- a/evil-image+.el +++ /dev/null @@ -1,49 +0,0 @@ -;;; evil-image+.el --- Evil bindings for image-mode with image+ -*- lexical-binding: t -*- - -;; Copyright (C) 2017 Pierre Neidhardt - -;; Author: Pierre Neidhardt <ambrevar@gmail.com> -;; Maintainer: James Nguyen <james@jojojames.com> -;; Pierre Neidhardt <ambrevar@gmail.com> -;; URL: https://github.com/jojojames/evil-collection -;; Version: 0.0.1 -;; Package-Requires: ((emacs "25.1")) -;; Keywords: evil, image, tools - -;; This file 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, or (at your -;; option) any later version. -;; -;; This file 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. -;; -;; For a full copy of the GNU General Public License -;; see <http://www.gnu.org/licenses/>. - -;;; Commentary: -;; Evil bindings for image-mode with image+. - -;;; Code: -(require 'evil) -(require 'image+ nil t) - -(defun evil-image+-setup () - "Set up `evil' bindings for `image+'." - (evil-define-key 'motion image-mode-map - ;; zoom - "+" 'imagex-sticky-zoom-in - "=" 'imagex-sticky-zoom-in - "-" 'imagex-sticky-zoom-out - "O" 'imagex-sticky-restore-original - - "M" 'imagex-sticky-maximize - "m" 'imagex-auto-adjust-mode - "S" 'imagex-sticky-save-image - "r" 'imagex-sticky-rotate-right - "l" 'imagex-sticky-rotate-left)) - -(provide 'evil-image+) -;;; evil-image+.el ends here |
