# Begin ~/.fvwm/fvwm2rc.keys2nd # Frank Gruellich # # WARNING: don't source this file directly. It is parsed by a function but uses # normal fvwm key binding syntax. #### Keyboard Commands ### Move Window Key h TFISW N Current AnimatedMove 0p w0 Warp ## Moves current window left with cursor Key j TFISW N Current AnimatedMove w0 -0p Warp ## Moves current window down with cursor Key k TFISW N Current AnimatedMove w0 0p Warp ## Moves current window up with cursor Key l TFISW N Current AnimatedMove -0p w0 Warp ## Moves current window right with cursor ### Focus Windows Key h A M Direction West (!Iconic AcceptsFocus CirculateHit) WarpToWindow 50 50 ## focuses window to the left Key j A M Direction South (!Iconic AcceptsFocus CirculateHit) WarpToWindow 50 50 ## focuses window to the bottom Key k A M Direction North (!Iconic AcceptsFocus CirculateHit) WarpToWindow 50 50 ## focuses window to the top Key l A M Direction East (!Iconic AcceptsFocus CirculateHit) WarpToWindow 50 50 ## focuses window to the right ### Shade Windows (again to unshade) Key h TFISW CS ToggleShade Left ## Shades current window to the left Key j TFISW CS ToggleShade Bottom ## Shades current window down Key k TFISW CS ToggleShade Top ## Shades current window up Key l TFISW CS ToggleShade Right ## Shades current window to the right ### Page Movement Key h A C GotoPage -1p 0p ## go to left page Key j A C GotoPage 0p 1p ## go to lower page Key k A C GotoPage 0p -1p ## go to upper page Key l A C GotoPage 1p 0p ## go to right page Key m A C GotoPage prev ## go to previous page ### Window-to-page Key h TFISW S Current MoveToPage -1p 0p ## moves current window to left page Key j TFISW S Current MoveToPage 0p 1p ## moves current window lower page Key k TFISW S Current MoveToPage 0p -1p ## moves current window upper page Key l TFISW S Current MoveToPage 1p 0p ## moves current window to right page ### Desktop Movement (direct) Key 0 A N GotoDesk 0 0 ## go to desktop 0 Key 1 A N GotoDesk 0 1 ## go to desktop 1 Key 2 A N GotoDesk 0 2 ## go to desktop 2 Key 3 A N GotoDesk 0 3 ## go to desktop 3 Key 4 A N GotoDesk 0 4 ## go to desktop 4 Key 5 A N GotoDesk 0 5 ## go to desktop 5 ### Desktop Movement (relative) Key N A C GotoDesk 1 0 0 5 ## go to next desktop Key P A C GotoDesk -1 0 0 5 ## go to previous desktop #Key N A C Exec 3ddesk --view=goleft ## go to next desktop #Key P A C Exec 3ddesk --view=goright ## go to previous desktop ### Window-to-desktop-Movement (direct) Key 0 A S MoveToDesk 0 0 ## move window to desktop 0 Key 1 A S MoveToDesk 0 1 ## move window to desktop 1 Key 2 A S MoveToDesk 0 2 ## move window to desktop 2 Key 3 A S MoveToDesk 0 3 ## move window to desktop 3 Key 4 A S MoveToDesk 0 4 ## move window to desktop 4 Key 5 A S MoveToDesk 0 5 ## move window to desktop 5 ### Window-to-desktop-Movement (relative) Key N A S MoveToDesk 1 0 0 5 ## move window to next desktop Key P A S MoveToDesk -1 0 0 ## move window to previous desktop ### Other Functions Key Space TFISW C Current RaiseLower ## raise current window Key m TFISW N Menu MenuWindowNormal Window c 0 ## show window menu Key Space TFISW N Move Current ## free movement of window with arrow keys or hjkl Key Return A N Menu MenuFvwmRoot Root 0 0 ## open root menu # windowlist #Key N A C WindowList CurrentAtEnd IconifiedAtEnd # change window ### Applications With Keys Key s A N Exec xterm +sb -g 128x48-0+0 -e /usr/bin/screen -x ## attache screen #### Mouse Buttons Mouse 1 TFISW N Move Current ## move window Mouse 2 TFISW N ThumbnailIconify ## iconify window Mouse 3 TFISW N Resize Current ## resize window Mouse 4 TFISW N ToggleShade Top ## shade window to north (unshade if shaded) Mouse 5 TFISW N ToggleShade Bottom ## shade window to south (unshade if shaded) # vim:ft=fvwm # End ~/.fvwm/fvwm2rc.keys2nd