shift+insert not working in emacs 25

383 Views Asked by At

In emacs 23 there was an option where we can select the word with mouse and using cntrl+s we can paste that word to search. Unfortunately this is not working in emacs 25. I didnt change the configuration file . I took the emacs code from the git hub and compiled. I am using Centos6.4 version

I have already tried this

(setq select-enable-clipboard t) and (x-get-selection-value)

But none of it helped me

2

There are 2 best solutions below

1
On

Add (setq x-select-enable-clipboard t) to your .emacs

0
On

You could simply (!) select the word with the mouse and type M-w C-s RET C-y RET C-s C-s

Here are the details:

  • select the word with the mouse
  • M-w (to copy to clipboard)
  • C-s RET (to start incremental search and switch to non-incremental search)
  • (or 'FIND' if you have this key on your keyboard)
  • C-y (to paste from clipboard)
  • RET (to start searching)
  • C-s C-s (to search other occurrences)