bug.n/doc/Cheat_sheet/Default_hotkeys.md
joten 21906d3133 reformatted doc\Default_hotkeys.md ...
... and the following cheat sheet
2016-05-10 22:42:02 +02:00

206 lines
6.2 KiB
Markdown

## bug.n default hotkeys
### Window management
#### <kbd>Win</kbd><kbd>Down</kbd>
_Activate_ the _next_ window in the active view.
#### <kbd>Win</kbd><kbd>Up</kbd>
_Activate_ the _previous_ window in the active view.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>Down</kbd>
_Move_ the active window _to the next position_ in the window list of the view.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>Up</kbd>
_Move_ the active window _to the previous position_ in the window list of the
view.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>Enter</kbd>
_Move_ the active window _to the first position_ in the window list of the
view.
#### <kbd>Win</kbd><kbd>c</kbd>
_Close_ the active window.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>d</kbd>
_Show / Hide the title bar_ of the active window.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>f</kbd>
_Toggle_ the _floating status_ of the active window.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>m</kbd>
_Minimize_ the active window.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>m</kbd>
_Move_ the active window _by key_.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>s</kbd>
_Resize_ the active window _by key_.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>x</kbd>
_Move and resize_ the active window _to_ the size of the _work area_.
#### <kbd>Win</kbd><kbd>i</kbd>
Get information for the active window.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>i</kbd>
_Get a window list_ for the active view.
#### <kbd>Alt</kbd><kbd>Down</kbd>
Manually _move_ the active window _to the next area_ in the layout.
#### <kbd>Alt</kbd><kbd>Up</kbd>
Manually _move_ the active window _to the previous area_ in the layout.
#### <kbd>Alt</kbd><kbd>Shift</kbd><kbd>Enter</kbd>
_Move and resize_ the active window _to_ the size of the _work area_.
#### <kbd>Alt</kbd><kbd>&lt;n&gt;</kbd>
Manually _move_ the active window _to the n<sup><small>th</small></sup> area_
in the layout.
#### <kbd>Alt</kbd><kbd>BackSpace</kbd>
Toggle the stack area of the layout.
### Window debugging
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>i</kbd>
_Dump_ window information on the _windows of the active view_ to the log.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>i</kbd>
_Dump_ window information on the _managed windows_ to the log.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>h</kbd>
_Print column headings_ to the log.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>d</kbd>
Decrement the debug log level.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>d</kbd>
Increment the debug log level.
### Layout management
#### <kbd>Win</kbd><kbd>Tab</kbd>
Set the _previous_-ly set _layout_.
#### <kbd>Win</kbd><kbd>f</kbd>
Set the _floating layout_.
#### <kbd>Win</kbd><kbd>m</kbd>
Set the _monocle layout_.
#### <kbd>Win</kbd><kbd>t</kbd>
Set the _tile layout_.
#### <kbd>Win</kbd><kbd>Left</kbd>
_Reduce_ the size of _the master area_ in the active view.
#### <kbd>Win</kbd><kbd>Right</kbd>
_Enlarge_ the size of _the master area_ in the active view.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>t</kbd>
Rotate the layout axis.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Enter</kbd>
Mirror the layout axis.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Tab</kbd>
Rotate the master axis.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>Tab</kbd>
Rotate the stack axis.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Up</kbd>
Increase the master Y dimension.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Down</kbd>
Decrease the master Y dimension.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Right</kbd>
Increase the master X dimension.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Left</kbd>
Decrease the master X dimension.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>Left</kbd>
_Decrease the gap between windows_ in "monocle" and "tile" layout.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>Right</kbd>
_Increase the gap between windows_ in "monocle" and "tile" layout.
### View / Tag management
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>n</kbd>
Toggle the view margins.
#### <kbd>Win</kbd><kbd>BackSpace</kbd>
Activate the previously activated view.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>0</kbd>
Tag the active window with all tags.
#### <kbd>Win</kbd><kbd>&lt;n&gt;</kbd>
Activate the n<sup><small>th</small></sup> view.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>&lt;n&gt;</kbd>
Tag the active window with the n<sup><small>th</small></sup> tag.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>&lt;n&gt;</kbd>
Add / Remove the n<sup><small>th</small></sup> tag for the active window, if it
is not / is already set.
### Monitor management
#### <kbd>Win</kbd><kbd>.</kbd>
Activate the _next monitor_ in a multi-monitor environment.
#### <kbd>Win</kbd><kbd>,</kbd>
Activate the _previous monitor_ in a multi-monitor environment.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>.</kbd>
_Set_ the active window's view _to_ the active view on _the next monitor_ in a
multi-monitor environment.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>,</kbd>
_Set_ the active window's view _to_ the active view on _the previous monitor_
in a multi-monitor environment.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>.</kbd>
_Set all windows_ of the active view _on_ the active view of _the next monitor_
in a multi-monitor environment.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>,</kbd>
_Set all windows_ of the active view _on_ the active view of
_the previous monitor_ in a multi-monitor environment.
### GUI management
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>Space</kbd>
_Hide / Show the bar_ (bug.n status bar) on the active monitor.
#### <kbd>Win</kbd><kbd>Space</kbd>
Hide / Show the task bar.
#### <kbd>Win</kbd><kbd>y</kbd>
_Open the command GUI_ for executing programmes or bug.n functions.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>y</kbd>
Toggle the overflow window of the 'notify icons'.
#### <kbd>Alt</kbd><kbd>Shift</kbd><kbd>y</kbd>
Indicate the areas of the "tile" layout.
### Administration
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>e</kbd>
Open the configuration file in the standard text editor.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>s</kbd>
_Save the current state_ of monitors, views, layouts to the configuration file.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>r</kbd>
_Reload_ bug.n (i. e. the whole script).
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>q</kbd>
_Quit_ bug.n, restore the default Windows UI and show all windows.