Notepad3
Notepad3 copied to clipboard
Ctrl+Space keyboard shortcut selects word/line... allow this to be disabled/customized?
Hi. I use Ctrl+Space to change keyboard layouts. In Notepad3, this shortcut causes the current word to be selected if space is pressed once and the current line/paragraph to be selected if it's pressed twice. This behavior isn't present in Notepad or other applications. I'd like to disable it in Notepad3 but there doesn't seem to be a setting to do this. At least not without editing the source code and recompiling it. Could options that allow for customization/disabling of this shortcut be added? Thank you.
Unfortunately, there is no possibility to configure (remap, disable, etc.) the Accelerator-Keys in Notepad3. They are hard-coded, using the "table resource" method (https://docs.microsoft.com/en-us/windows/win32/menurc/using-keyboard-accelerators#using-an-accelerator-table-resource).
We are thinking about future versions to offer a configuration (https://docs.microsoft.com/en-us/windows/win32/menurc/using-keyboard-accelerators#using-an-accelerator-table-created-at-run-time).
I'm using Edit / Convert / File System Path to URL
and Edit / Convert / URL to File System Path
a lot.
Sadly they do not have shortcuts in Notepad3 (x64) v5.21.1129.1 (ba6de2c2)
Maybe in the future?
Hello @ThomasHeinrichSchmidt ,
Feel free to test the "BETA/RC PortableApps", version "Notepad3Portable_5.22.127.1_beta.paf" or newer, see 1st list in issue #1129.
"Notepad3Portable BETA/RC PortableApps" version can be used with or without ".7z" extension.
Also, feel free to test the "BETA/RC Setup", version "Notepad3_5.22.127.1_beta_Setup" or newer, see the 2nd list in issue #1129.
Comments and suggestions are welcome... 😃
Wow, that was quick. Yes 👍, the new accelerator keys for Edit / Convert / File System Path to URL
and Edit / Convert / URL to File System Path
(Ctrl/Alt+F10) work like a charm. Thanx! I'm happy ☀️
Please consider changing "Date/Time (Short Form)" to the general default of 'F5' common in most text editors, including Windows Notepad.
That shortcut is currently assigned to "Revert from File", a function that shouldn't be triggered by mistake IMHO as it happens a lot...
Here's my simple proposal to better avoid shortcut collisions:
Date/Time (Short Form): F5 Date/Time (Long Form): Shift+F5 Update Timestamps: Control+F5 Revert from File: (AltGr i.e.) Control+Alt+F5
TiA,
...changing "Date/Time (Short Form)" to the general default of 'F5...
But also very often under Windows, "F5" is used to "refresh" the screen or an application! 🤔
In Notepad3:
F5 = Reload file or Revert from file. Ctrl+F5 = Time/Date (Short Form). Ctrl+Shift+F5 = Time/Date (Long Form). Shift+F5 = Update Timestamps. Alt+F5 = File Change Notification...
In Minipath:
F5 = Update view of directory.
I've never used F5 in Notepad3 so far, neither for "Revert from file" nor for "Refresh", not even accidentally. It never occurred to me that I needed to "refresh" my file. I'm using Ctrl+F5 a lot for inserting my custom timestamp.
I'm not using Windows Notepad (any more).
In standard Atom ctrl-shift-f5
is window:reload
, besides that F5 is not used.
In Visual Studio Code F5 is used a lot in various keybindings mainly related to debugging. There is no "refresh" function or a method to insert timestamps.
@hpwamr:
But also very often under Windows, "F5" is used to "refresh" the screen or an application! 🤔
In Minipath:
F5 = Update view of directory.
True that, but usually only in non actively editing contexts. 😐
@ThomasHeinrichSchmidt:
I've never used F5 in Notepad3 so far
I'm not using Windows Notepad (any more).
Other text editors use this convention by default, too -- Notepad++ is just one such example.
In my Notepad++ F5 is used to Run
an external program, somewhat similar to what Visual Studio Code does.
As I don't use Notepad++ myself, I was probably mislead by https://superuser.com/questions/1278798/.
Windows Notepad does use F5 for date insertion (e.g., see https://www.experts-exchange.com/questions/20430625/).
This also works in Vim, EditPad and TedNotePad, to name a few editors I'm familiar with.
So, shall we change:
- F5 = Reload file or Revert from file.
- Ctrl+F5 = Time/Date (Short Form).
- Ctrl+Shift+F5 = Time/Date (Long Form).
- Shift+F5 = Update Timestamps.
- Alt+F5 = File Change Notification...
to:
- F5 = Date/Time (Short Form)
- Shift+F5 = Date/Time (Long Form)
- Ctrl+F5 = Update Timestamps
- Alt+F5 = File Change Notification...
- Control+Alt+F5 = Revert from File: (AltGr i.e.)
Please vote for 👍 or 👎
👎
https://github.com/rizonesoft/Notepad3/issues/3571#issuecomment-1322237160 Please vote for 👍 or 👎
👎
Seems the vocal majority is against this. Any chance of making it a user setting?
That would probably require making shortkeys generally configurable, a major endeavor.
Title restored, to ensure this issue has reasonable title on search.