Skip to content

Commit

Permalink
- Added Insert on RAlt-Enter #371 #348, fixed cmd-tab during term usa…
Browse files Browse the repository at this point in the history
…ge (linux)
  • Loading branch information
rbreaves committed Jan 10, 2021
1 parent 015faa4 commit 43b4ae3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
12 changes: 10 additions & 2 deletions linux/kinto.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,9 @@
# K("M-Grave") : K("C-Shift-Tab"), # Chromebook/IBM - In-App Tab switching
K("Super-Tab"): K("LC-Tab"), # Default not-chromebook
K("Super-Shift-Tab"): K("LC-Shift-Tab"), # Default not-chromebook

# Fn to Alt style remaps
K("RM-Enter"): K("insert"), # Insert

# emacs style
K("Super-a"): K("Home"), # Beginning of Line
Expand Down Expand Up @@ -454,9 +457,14 @@
K("LC-Tab") : K("LC-PAGE_DOWN"),
K("LC-Shift-Tab") : K("LC-PAGE_UP"),
K("LC-Grave") : K("LC-PAGE_UP"),
# K("M-Tab"): pass_through_key, # Default not-xfce4 - Cmd Tab - App Switching Default
# K("RC-Tab"): K("M-Tab"), # Default not-xfce4 - Cmd Tab - App Switching Default
# K("RC-Shift-Tab"): K("M-Shift-Tab"), # Default not-xfce4 - Cmd Tab - App Switching Default
# Cmd Tab - App Switching Default
# K("RC-Tab"): K("RC-backslash"), # xfce4
# K("RC-Shift-Tab"): K("RC-Shift-backslash"), # xfce4
# K("RC-Grave"): K("RC-Shift-backslash"), # xfce4
# Converts Cmd to use Ctrl-Shift
K("RC-Tab"): K("RC-F13"),
K("RC-Shift-Tab"): K("RC-Shift-F13"),
K("RC-V"): K("C-Shift-V"),
K("RC-MINUS"): K("C-Shift-MINUS"),
K("RC-EQUAL"): K("C-Shift-EQUAL"),
Expand Down
11 changes: 11 additions & 0 deletions windows/kinto.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,17 @@ GroupAdd, intellij, ahk_exe idea64.exe
; $LWin up::Send {LWin up}{LAlt up}{LCtrl up} ; MacModifiers
; $LAlt up::Send {LWin up}{CapsLock up}{LAlt up}{LCtrl up} ; CB/IBM

!Enter::
{
if (GetKeyState("RAlt", "P")) {
Send {Insert}
}
else{
Send {Alt down}{Enter}{Alt up}
}
Return
}

; Remap Alt+Esc to Break/Pause
!Esc::SendInput, {Pause}

Expand Down

0 comments on commit 43b4ae3

Please sign in to comment.