diff --git a/bugn.exe b/bugn.exe new file mode 100644 index 0000000..31c64f0 Binary files /dev/null and b/bugn.exe differ diff --git a/doc/Cheat_sheet/cheat_sheet.html b/doc/Cheat_sheet/cheat_sheet.html new file mode 100644 index 0000000..7db07da --- /dev/null +++ b/doc/Cheat_sheet/cheat_sheet.html @@ -0,0 +1,282 @@ + + + + + + + + + + + + +
+

bug.n 9.0.1 default hotkeys

+
+

Window management

+
+

WinDown

+

Activate the next window in the active view.

+
+
+

WinUp

+

Activate the previous window in the active view.

+
+
+

WinShiftDown

+

Move the active window to the next position in the window list of the view.

+
+
+

WinShiftUp

+

Move the active window to the previous position in the window list of the view.

+
+
+

WinShiftEnter

+

Move the active window to the first position in the window list of the view.

+
+
+

Winc

+

Close the active window.

+
+
+

WinShiftd

+

Show / Hide the title bar of the active window.

+
+
+

WinShiftf

+

Toggle the floating status of the active window.

+
+
+

WinCtrlm

+

Minimize the active window.

+
+
+

WinShiftm

+

Move the active window by key.

+
+
+

WinShifts

+

Resize the active window by key.

+
+
+

WinShiftx

+

Move and resize the active window to the size of the work area.

+
+
+

Wini

+

Get information for the active window.

+
+
+

WinShifti

+

Get a window list for the active view.

+
+
+

AltDown

+

Manually move the active window to the next area in the layout.

+
+
+

AltUp

+

Manually move the active window to the previous area in the layout.

+
+
+

AltShiftEnter

+

Move and resize the active window to the size of the work area.

+
+
+

Alt<n>

+

Manually move the active window to the nth area in the layout.

+
+
+

AltBackSpace

+

Toggle the stack area of the layout.

+
+
+
+

Window debugging

+
+

WinCtrli

+

Dump window information on the windows of the active view to the log.

+
+
+

WinCtrlShifti

+

Dump window information on the managed windows to the log.

+
+
+

WinCtrlh

+

Print column headings to the log.

+
+
+

WinCtrld

+

Decrement the debug log level.

+
+
+

WinCtrlShiftd

+

Increment the debug log level.

+
+
+
+

Layout management

+
+

WinTab

+

Set the previous-ly set layout.

+
+
+

Winf

+

Set the floating layout.

+
+
+

Winm

+

Set the monocle layout.

+
+
+

Wint

+

Set the tile layout.

+
+
+

WinLeft

+

Reduce the size of the master area in the active view.

+
+
+

WinRight

+

Enlarge the size of the master area in the active view.

+
+
+

WinCtrlt

+

Rotate the layout axis.

+
+
+

WinCtrlEnter

+

Mirror the layout axis.

+
+
+

WinCtrlTab

+

Rotate the master axis.

+
+
+

WinCtrlShiftTab

+

Rotate the stack axis.

+
+
+

WinCtrlUp

+

Increase the master Y dimension.

+
+
+

WinCtrlDown

+

Decrease the master Y dimension.

+
+
+

WinCtrlRight

+

Increase the master X dimension.

+
+
+

WinCtrlLeft

+

Decrease the master X dimension.

+
+
+

WinShiftLeft

+

Decrease the gap between windows in “monocle” and “tile” layout.

+
+
+

WinShiftRight

+

Increase the gap between windows in “monocle” and “tile” layout.

+
+
+
+

View / Tag management

+
+

WinShiftn

+

Toggle the view margins.

+
+
+

WinBackSpace

+

Activate the previously activated view.

+
+
+

WinShift0

+

Tag the active window with all tags.

+
+
+

Win<n>

+

Activate the nth view.

+
+
+

WinShift<n>

+

Tag the active window with the nth tag.

+
+
+

WinCtrl<n>

+

Add / Remove the nth tag for the active window, if it is not / is already set.

+
+
+
+

Monitor management

+
+

Win.

+

Activate the next monitor in a multi-monitor environment.

+
+
+

Win,

+

Activate the previous monitor in a multi-monitor environment.

+
+
+

WinShift.

+

Set the active window’s view to the active view on the next monitor in a multi-monitor environment.

+
+
+

WinShift,

+

Set the active window’s view to the active view on the previous monitor in a multi-monitor environment.

+
+
+

WinCtrlShift.

+

Set all windows of the active view on the active view of the next monitor in a multi-monitor environment.

+
+
+

WinCtrlShift,

+

Set all windows of the active view on the active view of the previous monitor in a multi-monitor environment.

+
+
+
+

GUI management

+
+

WinShiftSpace

+

Hide / Show the bar (bug.n status bar) on the active monitor.

+
+
+

WinSpace

+

Hide / Show the task bar.

+
+
+

Winy

+

Open the command GUI for executing programmes or bug.n functions.

+
+
+

WinShifty

+

Toggle the overflow window of the ‘notify icons’.

+
+
+

AltShifty

+

Indicate the areas of the “tile” layout.

+
+
+
+

Administration

+
+

WinCtrle

+

Open the configuration file in the standard text editor.

+
+
+

WinCtrls

+

Save the current state of monitors, views, layouts to the configuration file.

+
+
+

WinCtrlr

+

Reload bug.n (i.e. the whole script).

+
+
+

WinCtrlq

+

Quit bug.n, restore the default Windows UI and show all windows.

+
+
+
+ + diff --git a/doc/Overview.md b/doc/Overview.md index 86757c5..49ae5ed 100644 --- a/doc/Overview.md +++ b/doc/Overview.md @@ -75,6 +75,9 @@ for non-bug.n hotkeys or to reassign bug.n functions. > Some configuration examples given as a `Config.ini` and shown by a screenshot. +#### [Default hotkeys cheat sheet](https://github.com/fuhsjr00/bug.n/wiki/Default-hotkeys_cheat-sheet.pdf) +> A cheat sheet giving an overview of the default hotkeys on one page (PDF). + #### [Documentation](https://github.com/fuhsjr00/bug.n/wiki/Documentation) > The documentation in the `doc` directory of the repository, which is also linked above. diff --git a/tools/build.ahk b/tools/build.ahk index 07fb1f5..e997178 100644 --- a/tools/build.ahk +++ b/tools/build.ahk @@ -22,6 +22,7 @@ SetWorkingDir %A_ScriptDir% ;; Ensures a consistent starting directory. ;; pseudo main function M_NAME := "bug.n" + M_VERSION := "9.0.1" Progress,,,, Building %M_NAME% M_logLevel := 5 ;; higher values mean more logging, type = int, choices = [0, 1, 2, 3, 4, 5, 6], default = 5 @@ -93,7 +94,7 @@ compile(source, destination, customIcon, compiler := "C:\Program Files\AutoHotke } createCheatSheet(source, destDir, filename := "cheat_sheet", converter := "C:\Users\joten\AppData\Local\Pandoc\pandoc.exe") { - Global _log + Global _log, M_NAME, M_VERSION _log.message("**createCheatSheet**: Variable set, source -> ``" . source . "``, the file does " . (FileExist(source) ? "" : "**not** ") . "exist.", 5) _log.message("**createCheatSheet**: Variable set, destDir -> ``" . destDir . "``, the file does " . (FileExist(destDir) ? "" : "**not** ") . "exist.", 5) @@ -101,7 +102,7 @@ createCheatSheet(source, destDir, filename := "cheat_sheet", converter := "C:\Us If (FileExist(source) && FileExist(destDir) && FileExist(converter)) { FileRead, md, %source% If (ErrorLevel = 0) { - md := RegExReplace(md, "s)^## Default hotkeys\R\R.+\R\### Window management", "## bug.n default hotkeys`r`n`r`n### Window management") + md := RegExReplace(md, "s)^## Default hotkeys\R\R.+\R\### Window management", "## " . M_NAME . " " . M_VERSION . " default hotkeys`r`n`r`n### Window management") md := StrReplace(md, "`r`n-------------------------------------------------------------------------------`r`n", "`r`n") md := RegExReplace(md, "s)\R>.+?\R\R", "`r`n") md := RegExReplace(md, "s)\R>.+?\R\R", "`r`n")