emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* CUA copy/paste within code block
@ 2014-04-18  9:32 Xavier Garrido
  2014-04-18 11:01 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Xavier Garrido @ 2014-04-18  9:32 UTC (permalink / raw)
  To: emacs-orgmode

Dear orgers,

I am a CUA mode user and when I want to copy/paste a line or block of 
code within a org-babel code block, I always get back to the beginning 
of the code block after pasting. For example, assume you have the 
following piece of code

echo "coucou"

for i in {0..10}
   echo $i

and you want to insert the 'echo "coucou"' line inside the for loop 
within the code block, by using the CTRL-C/CTRL-V combination keys, the 
cursor gets back to the beginning of the code block and does not stay 
where the paste is done. Here it is not a real problem since the code 
block is pretty small but when I have a long code block, the cursor is 
pretty far from where I have done the paste. Btw, selecting with the 
mouse and pasting with the middle click works just fine i.e. the cursor 
remains at the same position.

I do not know if it is a bug or a feature but is it possible to get rid 
of such behavior.

Thanks for your help/advice,

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-18 12:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-18  9:32 CUA copy/paste within code block Xavier Garrido
2014-04-18 11:01 ` Bastien
2014-04-18 12:16   ` Xavier Garrido

Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).