Permalink
Browse files

Active region-respecting search

  • Loading branch information...
1 parent 40cea39 commit 29c6ba0540e47e476c199f03c9e35b97ec25e13d @cjohansen cjohansen committed Sep 4, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 key-bindings.el
View
@@ -158,6 +158,10 @@
(global-set-key (kbd "C-s") 'isearch-forward-use-region)
(global-set-key (kbd "C-r") 'isearch-backward-use-region)
+;; Like isearch-*-use-region, but doesn't fuck with the active region
+(global-set-key (kbd "C-S-s") 'isearch-forward)
+(global-set-key (kbd "C-S-r") 'isearch-backward)
+
;; Move more quickly
(global-set-key (kbd "C-S-n") (lambda () (interactive) (next-line 5)))
(global-set-key (kbd "C-S-p") (lambda () (interactive) (previous-line 5)))

0 comments on commit 29c6ba0

Please sign in to comment.