From 63ff5e6a1b3daf7fdd3eb4d2cb8ee24fce99dadc Mon Sep 17 00:00:00 2001 From: benj Date: Thu, 22 Mar 2018 16:27:05 -0700 Subject: setup for avy mode --- init.el | 1 + settings/setup-avy-mode.el | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 settings/setup-avy-mode.el 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 +;; 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 . + +;;; 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 -- cgit v1.2.3