Add phi-search to replace default C-s and C-r

phi-search is fully compatible with multiple-cursors-mode ^_^
This commit is contained in:
2013-11-06 16:42:45 +00:00
parent 0e2f27556b
commit a2a472d81a
2 changed files with 6 additions and 0 deletions

View File

@@ -31,6 +31,11 @@
;; Duplicate line (via helpers.el)
(global-set-key (kbd "C-x C-d") 'duplicate-current-line-or-region)
;; phi-search (enables C-s and C-r searching with multiple-cursors-mode).
(when (require 'phi-search nil 'noerror)
(global-set-key (kbd "C-s") 'phi-search)
(global-set-key (kbd "C-r") 'phi-search-backward))
;; Expand region
(when (require 'expand-region nil 'noerror)
(global-set-key (kbd "M-.") 'er/expand-region)

View File

@@ -59,6 +59,7 @@
markdown-mode
minimap
multiple-cursors
phi-search
php-mode
projectile
puppet-mode