.emacs.d

My Emacs configuration files.
Log | Files | Refs | README

commit bd474e0e13e6e700826291b54673652f9b3efc66
parent 9c9ab59f3ba6cc5fe4ddfdec24b4f5cda7d56aa5
Author: Hugo Soucy <hsoucy@kronostechnologies.com>
Date:   Fri, 28 Sep 2018 10:19:54 -0400

Add keybindings for `highlight-symbol`.

Diffstat:
Mpartials/key-bindings.el | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/partials/key-bindings.el b/partials/key-bindings.el @@ -48,6 +48,12 @@ (global-set-key (kbd "C-c <down>") 'windmove-down) (global-set-key (kbd "C-c <left>") 'windmove-left) +;; highlight-symbol key bindings +(global-set-key (kbd "C-<f3>") 'highlight-symbol) +(global-set-key (kbd "<f3>") 'highlight-symbol-next) +(global-set-key (kbd "S-<f3>") 'highlight-symbol-prev) +(global-set-key (kbd "M-<f3>") 'highlight-symbol-query-replace) + ;; On Mac OS X disable the right ALT key modification (if (eq system-type 'darwin) (setq ns-right-alternate-modifier nil)