whenever I press number key it act as as a function key corsair keyboard - keyboard

I need some help. I have a corsair k70 rgb mk.2 and whenever I press number key it act as as a function key. How do I disable it?
It's pressing 2 keys together, there isn't any assigned key in the application.

Related

Specific key on my keyboard highlights text

I'm having a weird issue with my keys configuration on Windows 10.
Yesterday, I was typing in notepad, and then my 'w' key started to highlight everything, so whenever I press it, I have text highlighted instead of writing 'w'.
I might have pressed multiple keys, which resulted to change 'w' action.
Anyways, I don't find any resource online for this, and it's pretty much annoying to use the clipboard for a character.
Thanks in advance.
It might be WASD keys are changed with Arrows Keys
WASD keys for Arrows Keys
W for ⬆
A for ⬅
S for ⬇
D for ➡
There are shortcut keys to enable and disable WASD keys.
Fn + W
Fn + E (for 5 secs)
Fn + Esc
Fn + Left Key ⬅
Note: Fn is the function key

Remapping Alt+` to ESC

My Esc key is broken on my keyboard, and I would like to remap it to Alt+` (that's Alt and ` grave accent, same button as the ~ tilde). However:
!`::Esc
will trigger Alt+Esc when pressed (!Esc) because the Alt key is held down. How do I remap Alt+` so that, when pressed, it will trigger Esc rather than Alt+Esc?
EDIT: I am not opposed to using an entirely different program to remap my keys. I just want to remap ALT+` to
the Esc key in all of my Windows.
Use SendPlay:
!`::sendplay {Esc}
SendPlay [...] buffers any physical keyboard or mouse activity during the send, which prevents the user's keystrokes from being interspersed with those being sent.
I found two possible ways to achieve this.
Use BlockInput
Disables or enables the user's ability to interact with the computer via keyboard and mouse.
!p::
BlockInput On
send {Esc}
BlockInput, Off
return
You might need to run the script as administrator and the alt and/or p may get stuck down, which led me to the second solution.
Use KeyWait
Waits for a key or mouse/joystick button to be released or pressed down.
!p::
KeyWait, Alt
send {Esc}
return
This should work:
!`::
SendInput, {Alt Up}{Esc}
Return

How to map continuous key press to mean multiple key strokes of same key in sublime text 3?

We can map key bindings to actions in Preferences --> Key Bindings - User. There is one type that I couldn't figure out how to map. I use unix style key bindings to navigate the file and would like to map continuous press of j to indicate that it should keep going down until I release the key press. How can I do that? I understand that I can use ctrl+f to go forward one page or go to specific line number with ctrl+g, but I specifically want to know how to map a continuous key press to a repetitive action. Is it possible and if so, how? Thanks.

How to map reparted sequence in VIM?

I want to map 'space+u' as 'Ctrl+u', I have this at my config:
nnoremap <space>u <C-u>
But it isn't work as Ctrl+u. When I press 'space+u', firstly it works fine, but when I press 'u' second time - it works an 'undo' (I'm holding 'space' since first time). I want to make it works as , when I press 'Ctrl', hold it and can hit 'u' any times I want.
What can I do?
The mapping you made means "space first, then u in succession". Not simultaneous action there, which explains the behavior for subsequent calls.
Vim listens to key press events; the system reports it that this-and-that key was typed, with that-and-that modifier (ctrl, super). Few applications would understand to check arbitrary combinations of keys being held (outside of games).
For this sort of hacks there is an established project for Linux systems called https://github.com/alols/xcape. In combination of xcape and xmodmap you can basically map <space> as a modifier key like less used Hyper key (this is the part for xmodmap). Then you would use xcape to make sure that pressing space in isolation would result in a space character. People have used xcape to map return as a right Ctrl key (while Caps Lock would act as the left Ctrl).

Show pressed keys in VIM normal mode statusline

I use VIM, the Colemak keyboard layout, and a Microsoft Natural 4000 keyboard. Since the Natural 4000 has differently-shaped keys, I could not change the keycaps. This means each key is labeled with an "incorrect" key -- I press the key that says "O" and it types "Y".
That's fine in normal use, because I touch-type smoothly with Colemak and don't make many typos. But with VIM it presents a bit of a problem, because I often need to hit a key "out of sequence" -- i.e, just suddenly hit "g" without any context. For some reason that's harder to do, and I keep hitting the wrong keys.
I'd like to be able to hit a prefix key (say, the leader key twice -- \) and then have any further keys I hit within 1-2 seconds shown on the status line.
This way, I could quickly hit \ and then tap a key or two, and see what key it "really" is.
Any ideas how I could make that happen?
Try set this
:set showcmd
It displays your keystrokes in statusline as you enter them, without any need for a prefix key.
you can also turn it off by using below command in normal mode of vim (pressing Esc key).
:set noshowcmd

Resources