Skip to content

Instantly share code, notes, and snippets.

@miica37
Created December 17, 2018 12:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miica37/514994883dd829340624e316bf1a9813 to your computer and use it in GitHub Desktop.
Save miica37/514994883dd829340624e316bf1a9813 to your computer and use it in GitHub Desktop.
;
; ------------------------------
; Nvil
; ------------------------------
#IfWinActive ahk_exe NVil 1.0.exe
end::Esc
AppsKey::ScrollLock
; Retopo
,::CapsLock ; for Draw Mesh
Enter:: Send {0}{Enter}
m:: Send {m}{ScrollLock}
RShift Up:: Send {RShift up}{2 up}
RCtrl Up:: Send {RCtrl Up}{RShift up}{1 up}
\ Up:: Send {\ Up}{RShift up}{3 up}
#IfWinActive
#If (WinActive("ahk_exe NVil 1.0.exe") and (not GetKeyState("ScrollLock", "T")))
RCtrl::RCtrl
RShift::RShift
\::\
#If
#If (WinActive("ahk_exe NVil 1.0.exe") and GetKeyState("ScrollLock", "T") and GetKeyState("RShift"))
RCtrl::RCtrl
#If
#If (WinActive("ahk_exe NVil 1.0.exe") and GetKeyState("ScrollLock", "T"))
RShift:: Send {RShift down}{2 down}
\::Send {RShift down}{3 down}
#If
#If (WinActive("ahk_exe NVil 1.0.exe") and GetKeyState("ScrollLock", "T") and (not GetKeyState("RShift")))
RCtrl:: Send {RShift down}{1 down}
#If
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment