I want to copy some text from my browser and paste it into ansi-term. I am a vim user and I want to give spacemacs a try once again.
Naturally what I did was:
- Opening
ansi-term
by typingSPC SPC ansi-term
. - Switch to normal-state by pressing
ESC
. - Switch to my browser, copy some text
- Switch back to emacs, press
p
which seems to be right (the text was pasted)
So I try some alternatives
- Press
enter
, and surprised since thecommand
didn't executed - Press
i
to switch to insert mode, and do it again. Yet still didn't work. - Press
SPC SPC term-paste
, now it works
What I expect is, I can simply use evil binding to copy-pasting things in spacemacs and get it work.
Can anybody please show me what's wrong and how to do this correctly?
Thanks
EDIT:
I can get it works by switching to line mode
. So, after I start ansi-term
, I need to press Ctrl c Ctrl j
. Still looking for a better way if there is any.
EDIT AGAIN:
The official way to do this is <S-Insert>
(shift
+ insert
)
S-insert
by any chance?S-insert
isshift + insert