diff options
| author | benj <benj@rse8.com> | 2018-03-22 16:14:57 -0700 |
|---|---|---|
| committer | benj <benj@rse8.com> | 2018-03-22 16:14:57 -0700 |
| commit | 2665d577176452551197e7d33cdf09a7e7c3972b (patch) | |
| tree | 17a9658a498919db331f86043638d7a9398993c7 | |
| parent | e8ee4f9a3c67d28149a2e4ed75b4928dcf2cd1fc (diff) | |
| download | emacs-2665d577176452551197e7d33cdf09a7e7c3972b.tar emacs-2665d577176452551197e7d33cdf09a7e7c3972b.tar.gz emacs-2665d577176452551197e7d33cdf09a7e7c3972b.tar.bz2 emacs-2665d577176452551197e7d33cdf09a7e7c3972b.tar.lz emacs-2665d577176452551197e7d33cdf09a7e7c3972b.tar.xz emacs-2665d577176452551197e7d33cdf09a7e7c3972b.tar.zst emacs-2665d577176452551197e7d33cdf09a7e7c3972b.zip | |
added ace-window and modified multiple cursor left arrow behavior
Diffstat (limited to '')
| -rw-r--r-- | .gitignore | 3 | ||||
| -rw-r--r-- | init.el | 4 | ||||
| -rw-r--r-- | settings/setup-ace-window-mode.el | 34 | ||||
| -rw-r--r-- | settings/setup-multiple-cursors.el | 2 |
4 files changed, 40 insertions, 3 deletions
@@ -9,4 +9,5 @@ ido* .mc-* derby* auto-save-list* -metastore_db*
\ No newline at end of file +metastore_db* +projectile-bookmarks.eld
\ No newline at end of file @@ -51,7 +51,8 @@ (defun init-install-packages() (packages-install - '(cider + '(ace-window + cider clojure-mode clojure-mode-extra-font-locking clojure-snippets @@ -97,6 +98,7 @@ (add-to-list 'exec-path "/usr/local/bin") +(require 'setup-ace-window-mode) (require 'setup-auto-insert-mode) (require 'setup-c++-mode) (require 'setup-clojure-mode) diff --git a/settings/setup-ace-window-mode.el b/settings/setup-ace-window-mode.el new file mode 100644 index 0000000..f0ca5b2 --- /dev/null +++ b/settings/setup-ace-window-mode.el @@ -0,0 +1,34 @@ +;;; setup-ace-window-mode.el --- ace window 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 ace window mode + +;;; Code: +(require 'ace-window) + +(global-set-key (kbd "C-c o") 'ace-window) + +(setq aw-keys '(?a ?s ?d ?f ?g ?h ?j ?k ?l)) + + +(provide 'setup-ace-window-mode) +;;; setup-ace-window-mode.el ends here diff --git a/settings/setup-multiple-cursors.el b/settings/setup-multiple-cursors.el index fdfef8d..a1df221 100644 --- a/settings/setup-multiple-cursors.el +++ b/settings/setup-multiple-cursors.el @@ -7,7 +7,7 @@ (global-set-key (kbd "C-c <C-down>" ) 'mc/mark-all-like-this))) (global-set-key (kbd "C-c <C-right>") 'mc/mark-next-like-this) -(global-set-key (kbd "C-c <C-left>") 'mc/mark-previous-like-this) +(global-set-key (kbd "C-c <C-left>") 'mc/mark-all-in-region-regexp) (global-set-key (kbd "M-s m") 'mc/mark-all-in-eval) (provide 'setup-multiple-cursors) |
