Permalink
Browse files

+Minor enhancement: modified C-g in sticky search mode to keep cursor…

… in place.
  • Loading branch information...
1 parent 6565b7f commit 7f5d02dfee2c8fd61bb82ed6d946d778b5914c47 @escherdragon committed Nov 8, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 sunrise-commander.el
View
@@ -3549,6 +3549,7 @@ buffer in the passive pane."
("\M-e" . sr-end-of-buffer)
("\C-v" . scroll-up-command)
("\M-v" . (lambda () (interactive) (scroll-up-command '-)))
+ ("\C-g" . (lambda () (interactive) (save-excursion (isearch-abort))))
) "Keybindings installed in `isearch-mode' during a sticky search.")
(defun sr-sticky-isearch-remap-commands (&optional restore)

0 comments on commit 7f5d02d

Please sign in to comment.