summaryrefslogtreecommitdiff
path: root/modes/mpc
diff options
context:
space:
mode:
authorcondy <condy0919@gmail.com>2022-01-14 10:58:52 +0800
committercondy <condy0919@gmail.com>2022-01-14 10:58:52 +0800
commite1a3780ebd9ce0d0e60f191d45493dfff129a4af (patch)
treef57db4fd421ca75e161e6d829228c7eddfdd0643 /modes/mpc
parent3f5ff30b0e32c29c4646b698f49d8a429f55f1bb (diff)
mpc: provide evil-collection-mpc
Diffstat (limited to 'modes/mpc')
-rw-r--r--modes/mpc/evil-collection-mpc.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/modes/mpc/evil-collection-mpc.el b/modes/mpc/evil-collection-mpc.el
index a94b11d..e594785 100644
--- a/modes/mpc/evil-collection-mpc.el
+++ b/modes/mpc/evil-collection-mpc.el
@@ -1,5 +1,5 @@
;;; evil-collection-mpc.el --- Bindings for `mpc-mode' -*- lexical-binding: t -*-
-;; Copyright (C) 2021 pspiagicw
+;; Copyright (C) 2021, 2022 pspiagicw
;; Author: pspiagicw <pspiagicw@gmail.com>
;; Maintainer: pspiagicw <pspiagicw@gmail.com>
@@ -30,18 +30,18 @@
(require 'evil-collection)
(defun evil-collection-move-mpc-down ()
- "Move the cursor down along with selecting the element"
+ "Move the cursor down along with selecting the element."
(evil-next-visual-line)
(mpc-select))
(defun evil-collection-move-mpc-up ()
- "Move the cursor up along with selecting the element"
+ "Move the cursor up along with selecting the element."
(evil-previous-visual-line)
(mpc-select))
(defconst evil-collection-mpc-mode-maps '(mpc-mode-map))
;;;###autoload
(defun evil-collection-mpc-mode-setup ()
- "Setup up 'evil' bindings for 'mpc-mode'"
+ "Setup up 'evil' bindings for 'mpc-mode'."
(evil-collection-define-key 'normal 'mpc-mode-map
"C-j" 'evil-collection-move-mpc-down
"C-k" 'evil-collection-move-mpc-up
@@ -56,5 +56,5 @@
"x" 'mpc-play-at-point
"RET" 'mpc-select))
-(provide 'evil-collection-mpc-mode)
+(provide 'evil-collection-mpc)
;;; evil-collection-mpc.el ends here