Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Use keybinding with alt and shift #2749

Open
GhostShadow0316 opened this issue Feb 13, 2023 · 4 comments
Open

Can't Use keybinding with alt and shift #2749

GhostShadow0316 opened this issue Feb 13, 2023 · 4 comments

Comments

@GhostShadow0316
Copy link

Description of the problem or steps to reproduce

I want to make a keybinding Shift-Alt-Down for DuplicateLine
it works fine when I use another keybinding...

Specifications

Commit hash: 225927b
OS: Window10
Terminal: Windows Terminal

@Gavin-Holt
Copy link

Hi

Windows terminal will not pass this key binding.

I use Autohotkey to translate key cords to something Micro will understand.

Zyedidia has kindly included F13-F64 as bindable keys, which I use for these translations. e.g.

#IfWinActive ahk_exe micro.exe
{
    ; Find current word
    ^8::Send {F15}{ENTER}

    ; Bookmarks
    ^`::Send {F16}
    ^+`::Send {F17}

    ; Shell commands: Ctrl+# Ctrl+Shift+#
    ^!SC02B:: Send {F20}


    ; CtrlSpace
    ^space:: Send {F21}
    ^+space:: Send {F22}

    ; CtrlEnter
    ^Enter:: Send {F25}
}

Kind Regards Gavin Holt

@GhostShadow0316
Copy link
Author

GhostShadow0316 commented Feb 14, 2023

thank you!
but I have another question now, can I enable the ahk script when I'm in micro or when I'm in wt, but disable it when Im not

btw I use micro to code autohotkey most of the time

@Gavin-Holt
Copy link

Gavin-Holt commented Feb 16, 2023

Hi
I have autohotkey running all the time. Within ahk script the following directive focuses hot key translations to micro:

#IfWinActive ahk_exe micro.exe
{

}

@Gavin-Holt
Copy link

Correction:

It seems the version of AutoHotkey I am using (1.1.33.00) will only support F1-F24 with modifiers.

Kind Regards Gavin Holt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants