I seem to have accidentally hit a couple hot-keys and my Notepad is now showing text from Right-to-Left.
What was the hot-key combo and what can I do to reverse it back to Left-to-Right?
I seem to have accidentally hit a couple hot-keys and my Notepad is now showing text from Right-to-Left.
What was the hot-key combo and what can I do to reverse it back to Left-to-Right?
Right click anywhere in notepad and uncheck right-to-left reading
Hotkey combo:
Or simply open Notepad again.
^RShift::return
. This will completely disable the hotkey in all programs including Notepad.
Commented
Jun 4, 2015 at 19:30
RShift::LShift
Try the following shortcuts:
Ctrl+Alt+R
Ctrl+Alt+L
As some may have been confused by the "specificity" of the Answer regarding the French version of Windows, and in keeping with the OP's actual question (and circumstance) the answer is as follows:
"Accidentally" 'hitting a couple of Hot Keys' causing the text to be Right Justified in Windows 7 Notepad was accomplished not by a "Hot Key" combination, (as some had suggested as CTRL-RShift or CTRL-Alt-R) but instead by using the Keyboard EQUIVALENT of [Right Click] & [Check]ing "Right to left Reading order".
This "accidental" keyboard sequence was [Menu Key] then [R].
To set things aright (using the keyboard, for the old-school typists), the sequence must repeated, i.e. [Menu Key] then [R].
To put out any "flames", let me reiterate; These steps are identical to the "Mouse-Centric" answer above, but in keeping with the OP's stated cause & problem.
To toggle between right and left text :
strike the "menu" key (beside the space bar) - so you can see many options, with shortcuts underlined, like "Lecture de droite à gauche" in French
strike the "L" key - in french version of Notepad - or an other letter if you have english or other language version
I think I found what the hotkey is to change the alignment on Notepad, and it's quite weird. I am on Windows 11 with default Notepad, UK keyboard.
CTRL + LSHIFT (i.e. either left or right control key and Left Shift) causes alignment left-to-right
CTRL + RSHIFT (i.e. either left or right control key and Right Shift) causes alignment right-to-left
Instead of using hotkeys, you can also just simply right click in Notepad and toggle Right-to-Left reading order
As another user suggested, you can use AHK to disable this annoying shortcut. Alternatively, Windows PowerToys also has a feature now to map hotkeys but might not be as good.
To prevent this from ever happening again: Install PowerToys then configure the Keyboard Manager remapping the RShift to the LShift.