0

While using the swi code editor in Ubuntu I can't seem to find a paste keyboard short cut. In windows I can paste with ctrl+v. I read that sometimes it is ctrl+y, but that does not work.

Also can I turn off the auto copy when selected? I want to be able to select something to replace with paste.

I assume I need to edit the editor preferences, but I am unsure exactly how to change these? I have tried removing the leading exclamation marks.

! Skeleton preferences file for XPCE.  This file is loaded from       pce(Defaults).
!
! Format:
!
!   * Comment
!   Line-comment is started by the ! (exclamation mark)
!
!   * Default
!   <class>.<class-variable>: <value>
!
!   * Values
!   Values are in standard term-representation.  Chains may be written
!   as a Prolog list.  Values spanning multiple lines use \<NL> to continue
!   on the next line

! Basic style for keyboard accelerators.  On Windows the default is `cua'.
! (Common User Access), on Unix the default is `emacs'.  On Apple, the
! default is `apple', which is `emacs', but giving Command-v, Command-c
! and Command-s their usual meaning.  The Emacs equivalent can be accessed
! using ESC-v, etc.

 key_binding.style: cua
!key_binding.style: emacs
!key_binding.style: apple

! Creating a selection using  the  mouse   puts  the  selection into the
! copy/paste ! buffer by default.  This behaviour can be disabled with the
! preference below.

 editor.auto_copy:  @off
Jason Aller
  • 3,541
  • 28
  • 38
  • 38
user27815
  • 4,767
  • 14
  • 28

1 Answers1

0

Wrong:

 key_binding.style: cua
!key_binding.style: emacs
!key_binding.style: apple

Right:

!key_binding.style: cua
 key_binding.style: emacs
!key_binding.style: apple

Maybe your keyboard layout is not recognised properly in Ubuntu.

Stefan Sprenger
  • 1,050
  • 20
  • 42