Guest User

Untitled

a guest
May 24th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. ; redirect nav keys to home row
  2. ; alt+arrows to jikl and some more
  3.  
  4. ; !r::Reload
  5.  
  6. ; redirect alt+keys saving other mods
  7. Redirect(key) {
  8. if GetKeyState("Shift", "D")
  9. if GetKeyState("Ctrl", "D")
  10. Send +^{%key%}
  11. else
  12. Send +{%key%}
  13. else if GetKeyState("Ctrl", "D")
  14. Send ^{%key%}
  15. else
  16. Send {%key%}
  17. return
  18. }
  19.  
  20. ; arrows
  21.  
  22. Alt & j::Redirect("Left")
  23. Alt & k::Redirect("Down")
  24. Alt & l::Redirect("Right")
  25. Alt & i::Redirect("Up")
  26.  
  27. ; home / end
  28.  
  29. Alt & u::Redirect("Home")
  30. Alt & m::Redirect("End")
  31.  
  32. ; del
  33.  
  34. Alt & n::Redirect("Delete")
Add Comment
Please, Sign In to add comment