Skip to content

Commit

Permalink
Merge pull request #7 from simonkaspersen/feature/simonkaspersen-navi…
Browse files Browse the repository at this point in the history
…gation

Feature/simonkaspersen navigation
  • Loading branch information
andmos committed Oct 11, 2016
2 parents 1fb1474 + ed5f08c commit 373a0b6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
6 changes: 6 additions & 0 deletions MacKeyBoardNorwegianWithMediaKeys.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -228,4 +228,10 @@ Shift & '::SendInput {NumpadMult}
;#l::SendInput ^{l}


;MOUSE-TWEAKS

;Use a standarized way to go backward and forward with mouse button 4 and 5
XButton1::Send, {BROWSER_FORWARD}
XButton2::Send, {BROWSER_BACK}

#IfWinActive
13 changes: 9 additions & 4 deletions MacKeyboardNorwegian.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
SetTitleMatchMode 2
SendMode Input

;Use a standarized way to go backward and forward with mouse button 4 and 5
XButton1::Send, {BROWSER_FORWARD}
XButton2::Send, {BROWSER_BACK}

; --------------------------------------------------------------
; media/function keys all mapped to the right option key
Expand Down Expand Up @@ -227,8 +230,10 @@ Shift & '::SendInput {NumpadMult}
;^l::return
;#l::SendInput ^{l}

; Visual Studio
; Mouse button 4/5 Navigate forward/backward
#IfWinActive ahk_exe devenv.exe
#XButton1::SendInput, {Ctrl Down}{-}{Ctrl Up}
;MOUSE-TWEAKS

;Use a standarized way to go backward and forward with mouse button 4 and 5
XButton1::Send, {BROWSER_FORWARD}
XButton2::Send, {BROWSER_BACK}


0 comments on commit 373a0b6

Please sign in to comment.