Arsalan Mehmood
Arsalan Mehmood

Reputation: 1482

Android Studio : How to change default cursor style and behavior?

In Eclipse and many other editors we've same behavior for these Cursor styles:

Default Cursor in Eclipse Insert mode: The cursor inserts a character at its current position, forcing all characters past it one position further.

Insert Cursor in Eclipse Overtype mode : The cursor, when typing, overwrites any text that is present in the current location.

But In Android Studio, this cursor is behaving opposite

enter image description here

enter image description here

This is very annoying for me, Can anyone tell me how to fix this behavior ?

(As we know in windows, We can toggle cursor behavior & style by pressing Insert key )

Upvotes: 26

Views: 29402

Answers (6)

Daley Nyae
Daley Nyae

Reputation: 153

Restart Android studio it should work

1 >> File
2 >> Exit 
3 >> Launch Android studio

It should work

Upvotes: 0

Alex Vasin
Alex Vasin

Reputation: 11

If nothing helped, then you can try this scheme: Tools -> Vim Emulator (disable the check mark)

Upvotes: 1

Nav12
Nav12

Reputation: 151

Other than the answers there is another case which could lead to this situation. I accidently installed IdeaVIM plugin to my IDE, and that caused it to have cursor in overtype mode. Disabling that plugin solved my problem.

To disable a plugin go to File -> Settings -> Plugins -> Installed and then uncheck the plugin you want to disable.

Upvotes: 1

Javaid Iqbal
Javaid Iqbal

Reputation: 157

press the insert button once. It will be fine for every type of programming editors like Android Studio, Dev C++ etc.

Upvotes: 12

Othniel
Othniel

Reputation: 181

There are two ways to do this 1. The first is to go through the settings to change it That is, File >> Settings >> Editor >> Appearance >> Use block caret ( should be unchecked )

  1. On Windows press the fn + ins

Upvotes: 8

Arsalan Mehmood
Arsalan Mehmood

Reputation: 1482

At last I found solution of my problem :)

So, following is the fix for it:

File - > Settings -> Editor (IDE Settings) -> Appearance-> Then uncheck Use Block caret

Use block Caret

Upvotes: 24

Related Questions