summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbenj <benj@rse8.com>2018-03-22 16:27:05 -0700
committerbenj <benj@rse8.com>2018-03-22 16:27:05 -0700
commit63ff5e6a1b3daf7fdd3eb4d2cb8ee24fce99dadc (patch)
tree9670075113a6694cffeb766f71b36f076d359400
parent2665d577176452551197e7d33cdf09a7e7c3972b (diff)
downloademacs-63ff5e6a1b3daf7fdd3eb4d2cb8ee24fce99dadc.tar
emacs-63ff5e6a1b3daf7fdd3eb4d2cb8ee24fce99dadc.tar.gz
emacs-63ff5e6a1b3daf7fdd3eb4d2cb8ee24fce99dadc.tar.bz2
emacs-63ff5e6a1b3daf7fdd3eb4d2cb8ee24fce99dadc.tar.lz
emacs-63ff5e6a1b3daf7fdd3eb4d2cb8ee24fce99dadc.tar.xz
emacs-63ff5e6a1b3daf7fdd3eb4d2cb8ee24fce99dadc.tar.zst
emacs-63ff5e6a1b3daf7fdd3eb4d2cb8ee24fce99dadc.zip
setup for avy mode
Diffstat (limited to '')
-rw-r--r--init.el1
-rw-r--r--settings/setup-avy-mode.el32
2 files changed, 33 insertions, 0 deletions
diff --git a/init.el b/init.el
index 6d766ff..31467f5 100644
--- a/init.el
+++ b/init.el
@@ -100,6 +100,7 @@
(require 'setup-ace-window-mode)
(require 'setup-auto-insert-mode)
+(require 'setup-avy-mode)
(require 'setup-c++-mode)
(require 'setup-clojure-mode)
(require 'setup-ember-mode)
diff --git a/settings/setup-avy-mode.el b/settings/setup-avy-mode.el
new file mode 100644
index 0000000..63cc774
--- /dev/null
+++ b/settings/setup-avy-mode.el
@@ -0,0 +1,32 @@
+;;; setup-avy-mode.el --- basic avy mode config -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2018 Benj Bellon
+
+;; Author: Benj Bellon <bbellon@bbellon-ld2.linkedin.biz>
+;; Keywords: lisp
+
+;; 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 <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; basic config for avy mode
+
+;;; Code:
+
+(require 'avy)
+
+(global-set-key (kbd "C-c k") 'avy-goto-char)
+
+(provide 'setup-avy-mode)
+;;; setup-avy-mode.el ends here