wok diff pekwm/stuff/etc/pekwm/keys @ rev 24920

updated mp (5.2.10 -> 5.58)
author Hans-G?nter Theisgen
date Sun Apr 10 07:48:27 2022 +0100 (2022-04-10)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pekwm/stuff/etc/pekwm/keys	Sun Apr 10 07:48:27 2022 +0100
     1.3 @@ -0,0 +1,345 @@
     1.4 +INCLUDE = "vars"
     1.5 +
     1.6 +Global {
     1.7 +# - - ----------------------------------------------- - -
     1.8 +# Simple bindings to most frequently used actions.
     1.9 +#
    1.10 +# Adding your own frequently used actions is easy -
    1.11 +# just copy it over from CHAINS and edit the keypress!
    1.12 +	####################################
    1.13 +	# custom slitaz shortcuts
    1.14 +	###################################
    1.15 +	
    1.16 +	# Menus
    1.17 +	KeyPress = "Mod4 R" { Actions = "ShowMenu Root" }
    1.18 +	KeyPress = "Mod4 space" { Actions = "ShowMenu Root" }
    1.19 +	
    1.20 +	# Switch Desktop
    1.21 +	KeyPress = "Mod4 1" { Actions = "GotoWorkspace 1" }
    1.22 +	KeyPress = "Mod4 2" { Actions = "GotoWorkspace 2" }
    1.23 +	KeyPress = "Mod4 3" { Actions = "GotoWorkspace 3" }
    1.24 +	KeyPress = "Mod4 4" { Actions = "GotoWorkspace 4" }
    1.25 +	
    1.26 +	# Simple Window Management
    1.27 +	KeyPress = "Mod4 M" { Actions = "Toggle Maximized True True" }
    1.28 +	KeyPress = "Mod4 F" { Actions = "Toggle FullScreen" }
    1.29 +	KeyPress = "Mod4 Return" { Actions = "MoveResize" }
    1.30 +	KeyPress = "Mod4 Q" { Actions = "Close" }
    1.31 +	KeyPress = "Mod4 S" { Actions = "Toggle Shaded" }
    1.32 +	KeyPress = "Mod4 I" { Actions = "Toggle Iconified" }
    1.33 +	
    1.34 +	# Alt+Tab 
    1.35 +	KeyPress = "Mod1 Tab" { Actions = "NextFrameMRU EndRaise" }
    1.36 +	KeyPress = "Mod1 Shift Tab" { Actions = "PrevFrameMRU EndRaise" }
    1.37 +	
    1.38 +	#Resize
    1.39 +	KeyPress = "Mod4 Return" { Actions = "MoveResize" }
    1.40 +	#KeyPress = "Mod4 F1" { Actions = "Resize" }
    1.41 +	#KeyPress = "Mod4 F2" { Actions = "Resize" }
    1.42 +	#KeyPress = "Mod4 F3" { Actions = "Resize" }
    1.43 +	
    1.44 +	# Pekwm control
    1.45 +	KeyPress = "Ctrl Mod1 Home" { Actions = "Exec subox tazctrlbox" }
    1.46 +	KeyPress = "Mod4 V" { Actions = "Exec xterm -e alsamixer" }
    1.47 +	
    1.48 +	# External Application Commands
    1.49 +	KeyPress = "Mod4 E" { Actions = "Exec $TERM" }
    1.50 +	KeyPress = "Mod4 D" { Actions = "ShowCmdDialog" }
    1.51 +	KeyPress = "Mod4 H" { Actions = "Toggle HarbourHidden" }
    1.52 +	
    1.53 +	
    1.54 +	
    1.55 +	####################################
    1.56 +	# Pekwm Default 
    1.57 +	####################################
    1.58 +	# Moving in frames
    1.59 +	KeyPress = "Mod1 Ctrl Tab" { Actions = "NextFrame EndRaise" }
    1.60 +	KeyPress = "Mod1 Ctrl Shift Tab" { Actions = "PrevFrame EndRaise" }
    1.61 +	KeyPress = "Mod4 Tab" { Actions = "ActivateClientRel 1" }
    1.62 +	KeyPress = "Mod4 Shift Tab" { Actions = "ActivateClientRel -1" }
    1.63 +	KeyPress = "Mod4 Ctrl Right" { Actions = "MoveClientRel 1" }
    1.64 +	KeyPress = "Mod4 Ctrl Left" { Actions = "MoveClientRel -1" }
    1.65 +	
    1.66 +	
    1.67 +	# Moving in workspaces
    1.68 +	KeyPress = "Mod4 5" { Actions = "GotoWorkspace 5" }
    1.69 +	KeyPress = "Mod4 6" { Actions = "GotoWorkspace 6" }
    1.70 +	KeyPress = "Mod4 7" { Actions = "GotoWorkspace 7" }
    1.71 +	KeyPress = "Mod4 8" { Actions = "GotoWorkspace 8" }
    1.72 +	KeyPress = "Mod4 9" { Actions = "GotoWorkspace 9" }
    1.73 +	
    1.74 +	#KeyPress = "Ctrl Mod1 Left" { Actions = "GotoWorkspace Left" }
    1.75 +	#KeyPress = "Ctrl Mod1 Right" { Actions = "GotoWorkspace Right" }
    1.76 +	KeyPress = "Ctrl Mod1 Left" { Actions = "HideAllMenus; GotoWorkspace Left" }
    1.77 +    KeyPress = "Ctrl Mod1 Right" { Actions = "HideAllMenus; GotoWorkspace Right" }
    1.78 +	KeyPress = "Ctrl Mod1 Up" { Actions = "SendToWorkspace Next; GoToWorkspace Next" }
    1.79 +	KeyPress = "Ctrl Mod1 Down" { Actions = "SendToWorkspace Prev; GoToWorkspace Prev" }
    1.80 +	
    1.81 +	KeyPress = "Mod4 F1" { Actions = "SendToWorkspace 1" }
    1.82 +	KeyPress = "Mod4 F2" { Actions = "SendToWorkspace 2" }
    1.83 +	KeyPress = "Mod4 F3" { Actions = "SendToWorkspace 3" }
    1.84 +	KeyPress = "Mod4 F4" { Actions = "SendToWorkspace 4" }
    1.85 +	KeyPress = "Mod4 F5" { Actions = "SendToWorkspace 5" }
    1.86 +	KeyPress = "Mod4 F6" { Actions = "SendToWorkspace 6" }
    1.87 +	KeyPress = "Mod4 F7" { Actions = "SendToWorkspace 7" }
    1.88 +	KeyPress = "Mod4 F8" { Actions = "SendToWorkspace 8" }
    1.89 +	KeyPress = "Mod4 F9" { Actions = "SendToWorkspace 9" }
    1.90 +	
    1.91 +	# More window management
    1.92 +	KeyPress = "Mod4 G" { Actions = "Maxfill True True" }
    1.93 +	
    1.94 +	# Marking
    1.95 +	KeyPress = "Mod4 Z" { Actions = "Toggle Marked" }
    1.96 +	KeyPress = "Mod4 A" { Actions = "AttachMarked" }
    1.97 +	# Tagging
    1.98 +	KeyPress = "Mod4 T" { Actions = "Toggle Tagged False" }
    1.99 +	# Menus
   1.100 +	KeyPress = "Mod4 W" { Actions = "ShowMenu Window" }
   1.101 +	KeyPress = "Mod4 L" { Actions = "ShowMenu Goto" }
   1.102 +	KeyPress = "Mod4 C" { Actions = "ShowMenu GotoClient" }
   1.103 +	KeyPress = "Mod4 Shift I" { Actions = "ShowMenu Icon" }
   1.104 +	KeyPress = "Mod4 X" { Actions = "HideAllMenus" }
   1.105 +	
   1.106 +
   1.107 +# - - ----------------------------------------------- - -
   1.108 +# CHAINS. These give you access to just about everything.
   1.109 +	# Move to Corner
   1.110 +	Chain = "Ctrl Mod1 C" {
   1.111 +		KeyPress = "Q" { Actions = "MoveToEdge TopLeft" }
   1.112 +		KeyPress = "Y" { Actions = "MoveToEdge TopCenterEdge" }
   1.113 +		KeyPress = "W" { Actions = "MoveToEdge TopCenterEdge" }
   1.114 +		KeyPress = "Shift Y" { Actions = "MoveToEdge TopEdge" }
   1.115 +		KeyPress = "Shift W" { Actions = "MoveToEdge TopEdge" }
   1.116 +		KeyPress = "P" { Actions = "MoveToEdge TopRight" }
   1.117 +		KeyPress = "E" { Actions = "MoveToEdge TopRight" }
   1.118 +		KeyPress = "A" { Actions = "MoveToEdge LeftCenterEdge" }
   1.119 +		KeyPress = "Shift A" { Actions = "MoveToEdge LeftEdge" }
   1.120 +		KeyPress = "L" { Actions = "MoveToEdge RightCenterEdge" }
   1.121 +		KeyPress = "D" { Actions = "MoveToEdge RightCenterEdge" }
   1.122 +		KeyPress = "Shift L" { Actions = "MoveToEdge RightEdge" }
   1.123 +		KeyPress = "Shift D" { Actions = "MoveToEdge RightEdge" }
   1.124 +		KeyPress = "Z" { Actions = "MoveToEdge BottomLeft" }
   1.125 +		KeyPress = "B" { Actions = "MoveToEdge BottomCenterEdge" }
   1.126 +		KeyPress = "X" { Actions = "MoveToEdge BottomCenterEdge" }
   1.127 +		KeyPress = "Shift B" { Actions = "MoveToEdge BottomEdge" }
   1.128 +		KeyPress = "Shift X" { Actions = "MoveToEdge BottomEdge" }
   1.129 +		KeyPress = "M" { Actions = "MoveToEdge BottomRight" }
   1.130 +		KeyPress = "C" { Actions = "MoveToEdge BottomRight" }
   1.131 +		KeyPress = "H" { Actions = "MoveToEdge Center" }
   1.132 +		KeyPress = "S" { Actions = "MoveToEdge Center" }
   1.133 +	}
   1.134 +	# Menus
   1.135 +	Chain = "Ctrl Mod1 M" {
   1.136 +		KeyPress = "R" { Actions = "ShowMenu Root" }
   1.137 +		KeyPress = "W" { Actions = "ShowMenu Window" }
   1.138 +		KeyPress = "I" { Actions = "ShowMenu Icon" }
   1.139 +		KeyPress = "G" { Actions = "ShowMenu Goto" }
   1.140 +		KeyPress = "C" { Actions = "ShowMenu GotoClient" }
   1.141 +		KeyPress = "D" { Actions = "ShowMenu Decor" }
   1.142 +		KeyPress = "A" { Actions = "ShowMenu AttachClientInFrame" }
   1.143 +		KeyPress = "F" { Actions = "ShowMenu AttachFrameInFrame" }
   1.144 +		Keypress = "Shift A" { Actions = "ShowMenu AttachClient" }
   1.145 +		Keypress = "Shift F" { Actions = "ShowMenu AttachFrame" }
   1.146 +		KeyPress = "X" { Actions = "HideAllMenus" }
   1.147 +	}
   1.148 +	# Grouping
   1.149 +	Chain = "Ctrl Mod1 T" {
   1.150 +		KeyPress = "T" { Actions = "Toggle Tagged False" }
   1.151 +		KeyPress = "B" { Actions = "Toggle Tagged True" }
   1.152 +		KeyPress = "C" { Actions = "Unset Tagged" }
   1.153 +		KeyPress = "G" { Actions = "Toggle GlobalGrouping" }
   1.154 +		KeyPress = "M" { Actions = "Toggle Marked" }
   1.155 +		KeyPress = "A" { Actions = "AttachMarked" }
   1.156 +		KeyPress = "D" { Actions = "Detach" }
   1.157 +		Keypress = "P" { Actions = "AttachClientInNextFrame" }
   1.158 +		KeyPress = "O" { Actions = "AttachClientInPrevFrame" }
   1.159 +		Keypress = "I" { Actions = "AttachFrameInNextFrame" }
   1.160 +		KeyPress = "U" { Actions = "AttachFrameInPrevFrame" }
   1.161 +	}
   1.162 +	# Decor Toggles
   1.163 +	Chain = "Ctrl Mod1 D" {
   1.164 +		KeyPress = "B" { Actions = "Toggle DecorBorder" }
   1.165 +		KeyPress = "T" { Actions = "Toggle DecorTitlebar" }
   1.166 +		KeyPress = "D" { Actions = "Toggle DecorBorder; Toggle DecorTitlebar" }
   1.167 +	}
   1.168 +	# Window Actions
   1.169 +	Chain = "Ctrl Mod1 A" {
   1.170 +		Chain = "G" {
   1.171 +			KeyPress = "G" { Actions = "MaxFill True True" }
   1.172 +			KeyPress = "V" { Actions = "MaxFill False True" }
   1.173 +			KeyPress = "H" { Actions = "MaxFill True False" }
   1.174 +		}
   1.175 +		Chain = "M" {
   1.176 +			KeyPress = "M" { Actions = "Toggle Maximized True True" }
   1.177 +			KeyPress = "V" { Actions = "Toggle Maximized False True" }
   1.178 +			KeyPress = "H" { Actions = "Toggle Maximized True False" }
   1.179 +		}
   1.180 +		Chain = "Q" {
   1.181 +			KeyPress = "Q" { Actions = "Close" }
   1.182 +			KeyPress = "F" { Actions = "CloseFrame" }
   1.183 +			KeyPress = "K" { Actions = "Kill" }
   1.184 +		}
   1.185 +		KeyPress = "S" { Actions = "Toggle Shaded" }
   1.186 +		KeyPress = "A" { Actions = "Toggle Sticky" }
   1.187 +		KeyPress = "O" { Actions = "Toggle AlwaysOnTop" }
   1.188 +		KeyPress = "B" { Actions = "Toggle AlwaysBelow" }
   1.189 +		KeyPress = "I" { Actions = "Set Iconified" }
   1.190 +		KeyPress = "R" { Actions = "Raise" }
   1.191 +		KeyPress = "Shift R" { Actions = "Raise True" }
   1.192 +		KeyPress = "L" { Actions = "Lower" }
   1.193 +		KeyPress = "Shift L" { Actions = "Lower True" }
   1.194 +		KeyPress = "X" { Actions = "ActivateOrRaise" }
   1.195 +		KeyPress = "Return" { Actions = "MoveResize" }
   1.196 +		KeyPress = "F" { Actions = "Toggle Fullscreen" }
   1.197 +		KeyPress = "Left" { Actions = "GrowDirection Left" }
   1.198 +		KeyPress = "Right" { Actions = "GrowDirection Right" }
   1.199 +		KeyPress = "Up" { Actions = "GrowDirection Up" }
   1.200 +		KeyPress = "Down" { Actions = "GrowDirection Down" }
   1.201 +	}
   1.202 +	# Moving in Frames
   1.203 +	Chain = "Ctrl Mod1 F" {
   1.204 +		KeyPress = "P" { Actions = "NextFrame AlwaysRaise" }
   1.205 +		KeyPress = "O" { Actions = "PrevFrame AlwaysRaise" }
   1.206 +		KeyPress = "Shift P" { Actions = "NextFrameMRU EndRaise" }
   1.207 +		KeyPress = "Shift O" { Actions = "PrevFrameMRU EndRaise" }
   1.208 +		KeyPress = "I" { Actions = "ActivateClientRel 1" }
   1.209 +		KeyPress = "U" { Actions = "ActivateClientRel -1" }
   1.210 +		KeyPress = "Shift I" { Actions = "MoveClientRel 1" }
   1.211 +		KeyPress = "Shift U" { Actions = "MoveClientRel -1" }
   1.212 +		KeyPress = "Up" { Actions = "FocusDirectional Up" }
   1.213 +		KeyPress = "Down" { Actions = "FocusDirectional Down" }
   1.214 +		KeyPress = "Left" { Actions = "FocusDirectional Left" }
   1.215 +		Keypress = "Right" { Actions = "FocusDirectional Right" }
   1.216 +		KeyPress = "1" { Actions = "ActivateClientNum 1" }
   1.217 +		KeyPress = "2" { Actions = "ActivateClientNum 2" }
   1.218 +		KeyPress = "3" { Actions = "ActivateClientNum 3" }
   1.219 +		KeyPress = "4" { Actions = "ActivateClientNum 4" }
   1.220 +		KeyPress = "5" { Actions = "ActivateClientNum 5" }
   1.221 +		KeyPress = "6" { Actions = "ActivateClientNum 6" }
   1.222 +		KeyPress = "7" { Actions = "ActivateClientNum 7" }
   1.223 +		KeyPress = "8" { Actions = "ActivateClientNum 8" }
   1.224 +		KeyPress = "9" { Actions = "ActivateClientNum 9" }
   1.225 +		KeyPress = "0" { Actions = "ActivateClientNum 10" }
   1.226 +		KeyPress = "C" { Actions = "ShowCmdDialog GotoClientID " }
   1.227 +	}
   1.228 +	# Workspaces
   1.229 +	Chain = "Ctrl Mod1 W" {
   1.230 +		KeyPress = "Right" { Actions = "GoToWorkspace Right" }
   1.231 +		KeyPress = "Left" { Actions = "GoToWorkspace Left" }
   1.232 +		KeyPress = "N" { Actions = "GoToWorkspace Next" }
   1.233 +		KeyPress = "P" { Actions = "GoToWorkspace Prev" }
   1.234 +		KeyPress = "1" { Actions = "GoToWorkspace 1" }
   1.235 +		KeyPress = "2" { Actions = "GoToWorkspace 2" }
   1.236 +		KeyPress = "3" { Actions = "GoToWorkspace 3" }
   1.237 +		KeyPress = "4" { Actions = "GoToWorkspace 4" }
   1.238 +		KeyPress = "5" { Actions = "GoToWorkspace 5" }
   1.239 +		KeyPress = "6" { Actions = "GoToWorkspace 6" }
   1.240 +		KeyPress = "7" { Actions = "GoToWorkspace 7" }
   1.241 +		KeyPress = "8" { Actions = "GoToWorkspace 8" }
   1.242 +		KeyPress = "9" { Actions = "GoToWorkspace 9" }
   1.243 +		KeyPress = "Up" { Actions = "SendToWorkspace Next; GoToWorkspace Next" }
   1.244 +		KeyPress = "Down" { Actions = "SendToWorkspace Prev; GoToWorkspace Prev" }
   1.245 +		KeyPress = "F1" { Actions = "SendToWorkspace 1" }
   1.246 +		KeyPress = "F2" { Actions = "SendToWorkspace 2" }
   1.247 +		KeyPress = "F3" { Actions = "SendToWorkspace 3" }
   1.248 +		KeyPress = "F4" { Actions = "SendToWorkspace 4" }
   1.249 +		KeyPress = "F5" { Actions = "SendToWorkspace 5" }
   1.250 +		KeyPress = "F6" { Actions = "SendToWorkspace 6" }
   1.251 +		KeyPress = "F7" { Actions = "SendToWorkspace 7" }
   1.252 +		KeyPress = "F8" { Actions = "SendToWorkspace 8" }
   1.253 +		KeyPress = "F9" { Actions = "SendToWorkspace 9" }
   1.254 +		
   1.255 +	}
   1.256 +	# External commands
   1.257 +	Chain = "Ctrl Mod1 E" {
   1.258 +		KeyPress = "E" { Actions = "Exec $TERM" }
   1.259 +		KeyPress = "L" { Actions = "Exec xlock -mode blank &" }
   1.260 +		KeyPress = "S" { Actions = "Exec scrot &" }
   1.261 +		KeyPress = "C" { Actions = "ShowCmdDialog" }
   1.262 +	}
   1.263 +	# Wm actions
   1.264 +	Chain = "Ctrl Mod1 P" {
   1.265 +		KeyPress = "Delete" { Actions = "Reload" }
   1.266 +		KeyPress = "Next" { Actions = "Restart" }
   1.267 +		KeyPress = "End" { Actions = "Exit" }
   1.268 +		KeyPress = "Prev" { Actions = "RestartOther twm" }
   1.269 +		KeyPress = "D" { Actions = "ShowCmdDialog" }
   1.270 +		KeyPress = "H" { Actions = "Toggle HarbourHidden" }
   1.271 +	}
   1.272 +	# Skipping
   1.273 +	Chain = "Ctrl Mod1 S" {
   1.274 +		Keypress = "M" { Actions = "Toggle Skip Menus" }
   1.275 +		Keypress = "F" { Actions = "Toggle Skip FocusToggle" }
   1.276 +		Keypress = "S" { Actions = "Toggle Skip Snap" }
   1.277 +	}
   1.278 +}
   1.279 +
   1.280 +# Keys when MoveResize is active
   1.281 +MoveResize {
   1.282 +	Keypress = "Left" { Actions = "ResizeHorizontal -10" }
   1.283 +	Keypress = "Right" { Actions = "ResizeHorizontal 10" }
   1.284 +	Keypress = "Up" { Actions = "ResizeVertical -10" }
   1.285 +	Keypress = "Down" { Actions = "ResizeVertical 10" }
   1.286 +	KeyPress = "Mod4 Left" { Actions = "MoveHorizontal -10" }
   1.287 +	KeyPress = "Mod4 Right" { Actions = "MoveHorizontal 10" }
   1.288 +	KeyPress = "Mod4 Up" { Actions = "MoveVertical -10" }
   1.289 +	KeyPress = "Mod4 Down" { Actions = "MoveVertical 10" }
   1.290 +	Keypress = "s" { Actions = "MoveSnap" }
   1.291 +	Keypress = "Escape" { Actions = "Cancel" }
   1.292 +	Keypress = "q" { Actions = "Cancel" }
   1.293 +	Keypress = "Return" { Actions = "End" }
   1.294 +	# Extra Pekwm default keys
   1.295 +	Keypress = "Mod1 Left" { Actions = "ResizeHorizontal -10" }
   1.296 +	Keypress = "Mod1 Right" { Actions = "ResizeHorizontal 10" }
   1.297 +	Keypress = "Mod1 Up" { Actions = "ResizeVertical -10" }
   1.298 +	Keypress = "Mod1 Down" { Actions = "ResizeVertical 10" }
   1.299 +	Keypress = "Shift Mod4 Left" { Actions = "ResizeHorizontal -1" }
   1.300 +	Keypress = "Shift Mod4 Right" { Actions = "ResizeHorizontal 1" }
   1.301 +	Keypress = "Shift Mod4 Up" { Actions = "ResizeVertical -1" }
   1.302 +	Keypress = "Shift Mod4 Down" { Actions = "ResizeVertical 1" }
   1.303 +	Keypress = "Shift Mod1 Left" { Actions = "ResizeHorizontal -1" }
   1.304 +	Keypress = "Shift Mod1 Right" { Actions = "ResizeHorizontal 1" }
   1.305 +	Keypress = "Shift Mod1 Up" { Actions = "ResizeVertical -1" }
   1.306 +	Keypress = "Shift Mod1 Down" { Actions = "ResizeVertical 1" }
   1.307 +	Keypress = "Shift Left" { Actions = "MoveHorizontal -1" }
   1.308 +	Keypress = "Shift Right" { Actions = "MoveHorizontal 1" }
   1.309 +	Keypress = "Shift Up" { Actions = "MoveVertical -1" }
   1.310 +	Keypress = "Shift Down" { Actions = "MoveVertical 1" }
   1.311 +	
   1.312 +}
   1.313 +
   1.314 +# Keys for CmdDialog editing
   1.315 +InputDialog {
   1.316 +	KeyPress = "Left" { Actions = "CursPrev" }
   1.317 +	KeyPress = "Right" { Actions = "CursNext" }
   1.318 +	KeyPress = "Ctrl A" { Actions = "CursBegin" }
   1.319 +	KeyPress = "Ctrl E" { Actions = "CursEnd" }
   1.320 +	KeyPress = "BackSpace" { Actions = "Erase;CompleteAbort" }
   1.321 +	KeyPress = "Ctrl K" { Actions = "ClearFromCursor" }
   1.322 +	KeyPress = "Ctrl C" { Actions = "Clear" }
   1.323 +	KeyPress = "Return" { Actions = "Exec" }
   1.324 +	KeyPress = "Escape" { Actions = "Close" }
   1.325 +	KeyPress = "Up" { Actions = "HistPrev" }
   1.326 +	KeyPress = "Down" { Actions = "HistNext" }
   1.327 +	KeyPress = "Ctrl P" { Actions = "HistPrev" }
   1.328 +	KeyPress = "Ctrl N" { Actions = "HistNext" }
   1.329 +        KeyPress = "Ctrl B" { Actions = "CursPrev" }
   1.330 +        KeyPress = "Ctrl F" { Actions = "CursNext" }
   1.331 +        KeyPress = "Tab" { Actions = "Complete" }
   1.332 +	KeyPress = "Any Any" { Actions = "Insert" }
   1.333 +}
   1.334 +
   1.335 +# Keys working in menus
   1.336 +Menu {
   1.337 +	KeyPress = "Down" { Actions = "NextItem" }
   1.338 +	KeyPress = "Up" { Actions = "PrevItem" }
   1.339 +	KeyPress = "Ctrl N" { Actions = "NextItem" }
   1.340 +	KeyPress = "Ctrl P" { Actions = "PrevItem" }
   1.341 +	KeyPress = "Left" { Actions = "LeaveSubmenu" }
   1.342 +	KeyPress = "Right" { Actions = "EnterSubmenu" }
   1.343 +	KeyPress = "Return" { Actions = "Select" }
   1.344 +	KeyPress = "space" { Actions = "Select" }
   1.345 +	KeyPress = "Escape" { Actions = "Close" }
   1.346 +	KeyPress = "Q" { Actions = "Close" }
   1.347 +}
   1.348 +