I have just entered the Spacemacs ecosystem with no prior Emacs experience.
I want to copy paste a link with my mouse from my X clipboard using middle-click in Spacemacs Org mode.
I have selected the link in my browser with double-clicking (or with C-c
).
In Spacemacs, editing emacs-notes.org
, I type C-c l
and the following appears:
I can type the http://.../ with the yellow-filled-box cursor (), but I cannot use the mouse middle-click (or
C-v
) to paste it from my X clipboard and save me from all the typing.
~/.spacemacs
contains:
(defun dotspacemacs/user-config ()
(xterm-mouse-mode -1)) ;; copy paste with mouse middle button from X
Nevertheless, when I middle-click, the system pastes the link elsewhere (e.g. in the emacs-notes.org
buffer).
I have also tried disabling the mouse but this doesn't work either.
How can I paste a link from the X clipboard in the yellow-filled-boxed using the mouse (or a keyboard shortcut)?
If there are other ways to do this, I'd like to learn them.
xterm-mouse-mode
only affects the behavior of Emacs when running inside a terminal emulator, not in GUI frames (like the one that appears in the image above).