My Technical Notes

Tuesday, 28 January 2014

Emacs CUA mode and ISearch

If you enable CUA mode in Emacs, C-v still does not paste in the mini-buffer when you do a search. To enable it, paste the following line of code in your .emacs file:

(define-key isearch-mode-map (kbd "C-v") 'isearch-yank-kill)

Another view shortcuts are worth mentioning:

Shortcut What it does
M-e Edit the mini-buffer (C-s to continue searching with it)
M-n, M-p Next and Previous history items
C-s C-s Do last search again
C-s after search goes to the next match. If in C-r mode, then it will go forward etc.

Potentially, one could implement the changes found on this link:

No comments: