Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Backspace is not deleting selection but extending it to the left (IntelliJ on Linux)

I started using IntelliJ IDEA 14.01 on CentOS 6.2 (on a VirtualBox VM on a Windows 7 machine). While selecting code, the [backspace] key is not deleting the selected text. Instead [backspace] extends the highlighted (selected) area to the left exactly as the [arrow left] does it. How can I change this behavior?

like image 376
Ironori Avatar asked Nov 28 '14 18:11

Ironori


People also ask

How do I backspace in IntelliJ?

When you press TAB in IntelliJ's Java editor by default you get 4 spaces instead of a single TAB character. You can change this behavior through File>Settings>Code Style>Java>Tabs and Indents.

How do I delete not backspace?

Every keyboard has a delete/backspace key to delete backward, but if it doesn't have a “delete forward” key ⌦, simply hold the fn (function) key and press the delete key. If preferred, you can also use ⌃ control + D to delete forward.


2 Answers

Turn off Vim Emulation in the Tools menu

like image 127
a-ctor Avatar answered Sep 17 '22 20:09

a-ctor


You can toggle enabling and disabling of Vim Emulator by just pressing "Ctrl + Altr + V"

like image 30
Bhaskar Bhuyan Avatar answered Sep 21 '22 20:09

Bhaskar Bhuyan