summaryrefslogtreecommitdiff
diff options
context:
space:
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