How can I remove the Numpad Slash keyboard shortcut from MS Word 2013 Outline View - ms-word

I work a lot in Microsoft Word's Outline view, because I like being able to expand/collapse subtrees of a tree of bulleted lists, and quickly move bullets around with Ctrl-Alt-arrow keys.
I'm generally impressed with the customisability of MS Office's keyboard shortcuts. However, there are some keyboard shortcuts that apply to Outlining mode that don't appear to be modifiable in the usual way. In particular, the Numeric Keypad Slash key ( / ) is bound to the rather useless function "toggle formatting", which hides colouration of my text. MS ref, specific ref
I'd like to be able to enter numeric sequences on the numeric keypad that include slashes. In other words, I'd like to be able to remove this keybinding which is no use to me, and instead bind Numeric Keypad Slash to just enter a literal slash character.
But I can't find a way to do this. The normal Customise Keyboard Shortcuts view doesn't help: I can assign new keyboard shortcuts to the OutlineShowFormat effect, but it doesn't list Numeric Keypad Slash as an already-existing keyboard shortcut so I can't remove it.
Is there any way to remove this keyboard shortcut, or override it so that pressing the slash key on my keypad will just enter a slash?

Well, in the absence of any other answers (this question earned me the Tumbleweed badge!), I found a workaround: Hold Shift while typing Numpad Slash to get a literal slash in Outline View rather than toggling formatting. Not great, but it will probably be easier than moving my hand over to the main keyboard slash key.

Related

How can I fix this?? VS Code inserts keycode when moving lines with numeric keypad arrows

VS Code 1.75.1
When moving lines with ALT-UP/DOWN using the dedicated arrow keys, VS Code works as expected.
I have my numeric keypad locked to use the control function rather than as a numeric keypad.
When I move a like with ALT-UP/DOWN using the arrows on the numeric keypad, VS Code moves the line then inserts a character after I release the ALT key. If anything is selected, VS Code does the move then replaces the selected text with a character. I'm guessing the character is derived from the keycode of whatever arrow keys on the numeric keypad I pressed.
How can I have VS Code just do the move and not insert characters?
This is not VSCode problem, this is keyboard behavior, you can test it in any input field.
Seems the best way is to use some soft (like Autohotkey) to map numpad arrows to main arrows.

Re-enable right-Ctrl when using Canadian Multilingual Standard keyboard for my AutoHotkey function?

I have an Autohotkey function that lets me switch between tabs with "Control + left/right" as well as closing tabs (Ctrl-down) and going into the search bar (Ctrl-up). It helps me save clicks and use the mouse less.
However, I use the Canadian Multilingual Standard keyboard to type accents (éèçà) in French for some of my classes and this keyboard DISABLES the right control key (the one right beside my keyboard buttons) which is the most convenient to use with my right hand only.
Here is a source documenting this: http://archives.miloush.net/michkap/archive/2013/04/08/10409187.html
Is there any way I can override this? I very rarely use the letter œ for because I can just use ALT + 0156 instead.
Here is the very simple code for my hotkey!
^Left::SendInput, ^{PGUP}
^Right::SendInput, ^{PGDN}
^Up::SendInput, !d
^Down::SendInput, ^w
Using SciTE4AutoHotkey tool, on my UK hardware keyboard right ctrl is detected as expected (RControl)
When I switch to French (Canada) Canadian Multilingual keyboard,
the right ctrl key is not found, also Virtual Key is different: DF
(SC means scan code and VK means virtual key)
so if you remap, it should solve the problem
~SC11D::RControl
After remapping: not found is replaced by RControl with each keypress.
Even if above remapping does not work for your case, it is a matter of finding which key corresponds to relevant scan code and then you can remap it.
Double click on your ahk script on the taskbar, and then
View > Key history and script info (Ctrl + K) by pressing key and refresh(F5) you can see respective keyboard scan codes.

After VS Code auto closes a quote, parentheses, or bracket, what key do i hit to move to the next position after that closing mark?

Sorry for roughly worded question.
I'll start typing something in VS Code like class="bob", and as soon as I type the opening " mark, VS Code will auto populate the closing " mark as well. Very helpful! BUT, once I'm done entering my string of information, I find myself having to adjust my keys on my keyboard to arrow right past the character that was automatically added, then hit a space, and continue on my coding way.
However this can interrupt my typing flow, as it would be just as easy if not easier for me to type the closing " mark myself without adjusting my hand from the default keyboard position.
This happens with other characters, too, not just quotes. Parentheses, brackets, single quotes, and similar items that show up in pairs.
When I watch videos of some people coding, they seem to gracefully whiz by those auto-added closing punctuation marks, so it makes me think there is something I'm missing in how I accept that automated input. Some way that is more zen like than using a right arrow.
Any guidance is much appreciated.
This worked for me;
Go to VS Code settings
Search "autoclose"
Disable "Auto Closing Tags"
Change "Auto Closing Quotes" from 'always' to 'never'
Change "Auto Closing Brackets" from 'always' to 'never'
You have several options:
Type the character that added automatically. For example, if you type { and automatically VS Code added } you can also type } to continue typing whatever you want. VS Code is smart to not doubling the automatically added character
Use End key
Use arrow right key
I think the VS Code team didn't find it needed to add some special key for this need, since all these options are also one key each.

Trying to recognize Fn + V on my keyboard

I hate that when I'm using my laptop on its own I often type FN+v when I mean to paste. So I decided to solve my problem with AHK. I installed a keyboard hook in my main script,and used that to extract the fn keys value, 163. My initial test worked, but adding the & to make it a modifier does not. What am I overlooking?
So this doesn't work
SC163 & v::
MsgBox, %A_ThisHotkey% was pressed.
return
but this did work
SC163::
MsgBox, %A_ThisHotkey% was pressed.
return
When you hit the FN key, it might be remapping the "v" to something else (like "Media_Play_Pause" button) in the keyboard driver. Therefore the key code wouldn't be SC163 & v but something like SC159.
The Special Keys section for mentions a method to get the Scan code:
Ensure that at least one script is running that is using the keyboard hook. You can tell if a script has the keyboard hook by opening its main window and selecting "View->Key history" from the menu bar.
Double-click that script's tray icon to open its main window.
Press one of the "mystery keys" on your keyboard.
Select the menu item "View->Key history"
Scroll down to the bottom of the page. Somewhere near the bottom are the key-down and key-up events for your key. NOTE: Some keys do not generate events and thus will not be visible here. If this is the case, you cannot directly make that particular key a hotkey because your keyboard driver or hardware handles it at a level too low for AutoHotkey to access. For possible solutions, see Special Keys.
If your key is detectable, make a note of the 3-digit hexadecimal value in the second column of the list (e.g. 159).

Select text from keyboard in matlab

In emacs, it's possible to set a mark with c-space. The mark marks one end of a selection then when you move the cursor the other end of the selection moves with it.
For example, c-a, c-space, c-n, c-n selects two lines of text.
Matlab doesn't seem to have the concept of placing a mark. Is there any way to select text from the keyboard?
I'd like to do things like whack/yank a few words or comment out multiple lines without using the mouse.
I found this old question while trying to figure out the same problem. If anyone out there is still looking for how to do this, Matlab (as of version 2016a) supports keyboard selection shortcuts in the keyboard binding preferences (Preferences --> Keyboard --> Shortcuts). By default the text select functions are using the Home/End and Ctr/Shift + arrow keys to do this. I don't think the Emacs marking concept works but you could define a shortcut to your liking.
Matlab Emacs Keyboard Binding Defaults
At least you don't have to use the mouse :-)