문제

I'm using query-replace-regexp very often and there are very long expressions from time to time.

My problem is the following:

Query replace regexp (default foo -> bar):

Is there a possibility to hide the default expression?

도움이 되었습니까?

해결책 2

If you use minibuffer-electric-default-mode, the default will disappear as soon as you type something into the minibuffer.

다른 팁

A simple advice does the job:

(defadvice query-replace-read-from (before no-default activate)
  (setq query-replace-defaults nil))
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top