Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable non-breaking space with altgr+space

Tags:

linux

eclipse

I keep on accidentally typing altgr+space instead of space, which results in a non-blocking space and a compiler error. I have absolutely no need to use the said character in my code other than maybe in unicode notation, so what's the best way to turn this feature of in Eclipse? Alternatively, a system wide disable for it would be fine too.

I'm running Eclipse Mars & Linux Mint 17.1 Mate

like image 338
Seppo420 Avatar asked Jul 13 '15 12:07

Seppo420


People also ask

How do you know if a space is non-breaking?

The quickest way is to press Ctrl+Shift+Spacebar (or on a Mac, type Option+Spacebar). Alternatively, you can select 'Non-breaking Space' from the Insert>Special Characters menu. To work in more depth with non-breaking spaces, you need to be able to see them.

What is non-breaking space in Word?

A nonbreaking space is the same width as a word space, but it prevents the text from flowing to a new line or page. It's like invisible glue between the words on either side. Word.


1 Answers

this did the trick

setxkbmap -option "nbsp:none"
like image 94
Seppo420 Avatar answered Oct 04 '22 22:10

Seppo420