Documented a rule for GNU Emacs
+ Moved 'Xmonad-hotkeys' to 'User-hotkeys'
This commit is contained in:
parent
ff3e5ead39
commit
9340cf52b6
4 changed files with 119 additions and 111 deletions
118
doc/CHANGES.md
118
doc/CHANGES.md
|
@ -25,65 +25,65 @@ called with the window ID as a paramater, when applying the rule.
|
|||
10. `~` Removed the function `Main_reload` and reassigned the hotkey.
|
||||
11. `+` Added the possibility to minimize windows, making them floating and thereby excluded from tiling.
|
||||
|
||||
| # | Configuration variables | `-` Hotkey functions | `+` Hotkey functions |
|
||||
| ---:| ------------------------- | --------------------------------------- | ----------------------------------------------------- |
|
||||
| 1. | | `#+d::Manager_toggleDecor()` | `#+d::Window_toggleDecor()` |
|
||||
| 2. | | `#+f::View_toggleFloating()` | `#+f::View_toggleFloatingWindow()` |
|
||||
| 3. | | `#Left::View_setMFactor(-0.05)` | `#Left::View_setLayoutProperty("MFactor", 0, -0.05)` |
|
||||
| | | `#Right::View_setMFactor(+0.05)` | `#Right::View_setLayoutProperty("MFactor", 0, +0.05)` |
|
||||
| | | `#^t::View_rotateLayoutAxis(1, +1)` | `#^t::View_setLayoutProperty("Axis", 0, +1, 1)` |
|
||||
| | | `#^Enter::View_rotateLayoutAxis(1, +2)` | `#^Enter::View_setLayoutProperty("Axis", 0, +2, 1)` |
|
||||
| | | `#^Tab::View_rotateLayoutAxis(2, +1)` | `#^Tab::View_setLayoutProperty("Axis", 0, +1, 2)` |
|
||||
| | | `#^+Tab::View_rotateLayoutAxis(3, +1)` | `#^+Tab::View_setLayoutProperty("Axis", 0, +1, 3)` |
|
||||
| | | `#^Up::View_setMY(+1)` | `#^Up::View_setLayoutProperty("MY", 0, +1)` |
|
||||
| | | `#^Down::View_setMY(-1)` | `#^Down::View_setLayoutProperty("MY", 0, -1)` |
|
||||
| | | `#^Right::View_setMX(+1)` | `#^Right::View_setLayoutProperty("MX", 0, +1)` |
|
||||
| | | `#^Left::View_setMX(-1)` | `#^Left::View_setLayoutProperty("MX", 0, -1)` |
|
||||
| | | `#+Left::View_setGapWidth(-2)` | `#+Left::View_setLayoutProperty("GapWidth", 0, -2)` |
|
||||
| | | `#+Right::View_setGapWidth(+2)` | `#+Right::View_setLayoutProperty("GapWidth", 0, +2)` |
|
||||
| 4. | | `#^d::Debug_setLogLevel(-1)` | `#^d::Debug_setLogLevel(0, -1)` |
|
||||
| | | `#^+d::Debug_setLogLevel(+1)` | `#^+d::Debug_setLogLevel(0, +1)` |
|
||||
| | | `#+Down::View_shuffleWindow(+1)` | `#+Down::View_shuffleWindow(0, +1)` |
|
||||
| | | `#+Up::View_shuffleWindow(-1)` | `#+Up::View_shuffleWindow(0, -1)` |
|
||||
| | | `#+Enter::View_shuffleWindow(0)` | `#+Enter::View_shuffleWindow(1)` |
|
||||
| | | `#+0::Monitor_setWindowTag(0)` | `#+0::Monitor_setWindowTag(10)` |
|
||||
| | | `#.::Manager_activateMonitor(+1)` | `#.::Manager_activateMonitor(0, +1)` |
|
||||
| | | `#,::Manager_activateMonitor(-1)` | `#,::Manager_activateMonitor(0, -1)` |
|
||||
| | | `#+.::Manager_setWindowMonitor(+1)` | `#+.::Manager_setWindowMonitor(0, +1)` |
|
||||
| | | `#+,::Manager_setWindowMonitor(-1)` | `#+,::Manager_setWindowMonitor(0, -1)` |
|
||||
| | | `#^+.::Manager_setViewMonitor(+1)` | `#^+.::Manager_setViewMonitor(0, +1)` |
|
||||
| | | `#^+,::Manager_setViewMonitor(-1)` | `#^+,::Manager_setViewMonitor(0, -1)` |
|
||||
| 5. | | `#Down::View_activateWindow(+1)` | `#Down::View_activateWindow(0, +1)` |
|
||||
| | | `#Up::View_activateWindow(-1)` | `#Up::View_activateWindow(0, -1)` |
|
||||
| 6. | `-` `Config_normBgColor` | | |
|
||||
| | `-` `Config_normFgColor` | | |
|
||||
| | `-` `Config_selBgColor` | | |
|
||||
| | `-` `Config_selFgColor` | | |
|
||||
| | `+` `Config_backColor_#1` | | |
|
||||
| | `+` `Config_backColor_#2` | | |
|
||||
| | `+` `Config_backColor_#3` | | |
|
||||
| | `+` `Config_foreColor_#1` | | |
|
||||
| | `+` `Config_foreColor_#2` | | |
|
||||
| | `+` `Config_foreColor_#3` | | |
|
||||
| | `+` `Config_fontColor_#1` | | |
|
||||
| | `+` `Config_fontColor_#2` | | |
|
||||
| | `+` `Config_fontColor_#3` | | |
|
||||
| 7. | `~` `Config_rule_#2` | | |
|
||||
| 8. | `~` `Config_rule_#3` | | |
|
||||
| | `~` `Config_rule_#4` | | |
|
||||
| | `~` `Config_rule_#7` | | |
|
||||
| | `~` `Config_rule_#9` | | |
|
||||
| | `~` `Config_rule_#10` | | |
|
||||
| | `~` `Config_rule_#11` | | |
|
||||
| | `~` `Config_rule_#12` | | |
|
||||
| | `+` `Config_rule_#13` | | |
|
||||
| | `+` `Config_rule_#14` | | |
|
||||
| | `+` `Config_rule_#15` | | |
|
||||
| | `+` `Config_rule_#16` | | |
|
||||
| | `+` `Config_rule_#17` | | |
|
||||
| 10. | | `#^r::Main_reload()` | |
|
||||
| | | `#^+r::Reload` | `#^r::Reload` |
|
||||
| 11. | | | `#^m::Manager_minimizeWindow()` |
|
||||
| # | `-` or `~` Configuration Variables or `-` Hotkey Functions | `+` Configuration Variables or `+` Hotkey Functions |
|
||||
| ---:| ---------------------------------------------------------- | ----------------------------------------------------- |
|
||||
| 1. | `#+d::Manager_toggleDecor()` | `#+d::Window_toggleDecor()` |
|
||||
| 2. | `#+f::View_toggleFloating()` | `#+f::View_toggleFloatingWindow()` |
|
||||
| 3. | `#Left::View_setMFactor(-0.05)` | `#Left::View_setLayoutProperty("MFactor", 0, -0.05)` |
|
||||
| | `#Right::View_setMFactor(+0.05)` | `#Right::View_setLayoutProperty("MFactor", 0, +0.05)` |
|
||||
| | `#^t::View_rotateLayoutAxis(1, +1)` | `#^t::View_setLayoutProperty("Axis", 0, +1, 1)` |
|
||||
| | `#^Enter::View_rotateLayoutAxis(1, +2)` | `#^Enter::View_setLayoutProperty("Axis", 0, +2, 1)` |
|
||||
| | `#^Tab::View_rotateLayoutAxis(2, +1)` | `#^Tab::View_setLayoutProperty("Axis", 0, +1, 2)` |
|
||||
| | `#^+Tab::View_rotateLayoutAxis(3, +1)` | `#^+Tab::View_setLayoutProperty("Axis", 0, +1, 3)` |
|
||||
| | `#^Up::View_setMY(+1)` | `#^Up::View_setLayoutProperty("MY", 0, +1)` |
|
||||
| | `#^Down::View_setMY(-1)` | `#^Down::View_setLayoutProperty("MY", 0, -1)` |
|
||||
| | `#^Right::View_setMX(+1)` | `#^Right::View_setLayoutProperty("MX", 0, +1)` |
|
||||
| | `#^Left::View_setMX(-1)` | `#^Left::View_setLayoutProperty("MX", 0, -1)` |
|
||||
| | `#+Left::View_setGapWidth(-2)` | `#+Left::View_setLayoutProperty("GapWidth", 0, -2)` |
|
||||
| | `#+Right::View_setGapWidth(+2)` | `#+Right::View_setLayoutProperty("GapWidth", 0, +2)` |
|
||||
| 4. | `#^d::Debug_setLogLevel(-1)` | `#^d::Debug_setLogLevel(0, -1)` |
|
||||
| | `#^+d::Debug_setLogLevel(+1)` | `#^+d::Debug_setLogLevel(0, +1)` |
|
||||
| | `#+Down::View_shuffleWindow(+1)` | `#+Down::View_shuffleWindow(0, +1)` |
|
||||
| | `#+Up::View_shuffleWindow(-1)` | `#+Up::View_shuffleWindow(0, -1)` |
|
||||
| | `#+Enter::View_shuffleWindow(0)` | `#+Enter::View_shuffleWindow(1)` |
|
||||
| | `#+0::Monitor_setWindowTag(0)` | `#+0::Monitor_setWindowTag(10)` |
|
||||
| | `#.::Manager_activateMonitor(+1)` | `#.::Manager_activateMonitor(0, +1)` |
|
||||
| | `#,::Manager_activateMonitor(-1)` | `#,::Manager_activateMonitor(0, -1)` |
|
||||
| | `#+.::Manager_setWindowMonitor(+1)` | `#+.::Manager_setWindowMonitor(0, +1)` |
|
||||
| | `#+,::Manager_setWindowMonitor(-1)` | `#+,::Manager_setWindowMonitor(0, -1)` |
|
||||
| | `#^+.::Manager_setViewMonitor(+1)` | `#^+.::Manager_setViewMonitor(0, +1)` |
|
||||
| | `#^+,::Manager_setViewMonitor(-1)` | `#^+,::Manager_setViewMonitor(0, -1)` |
|
||||
| 5. | `#Down::View_activateWindow(+1)` | `#Down::View_activateWindow(0, +1)` |
|
||||
| | `#Up::View_activateWindow(-1)` | `#Up::View_activateWindow(0, -1)` |
|
||||
| 6. | `Config_normBgColor` | |
|
||||
| | `Config_normFgColor` | |
|
||||
| | `Config_selBgColor` | |
|
||||
| | `Config_selFgColor` | |
|
||||
| | | `Config_backColor_#1` |
|
||||
| | | `Config_backColor_#2` |
|
||||
| | | `Config_backColor_#3` |
|
||||
| | | `Config_foreColor_#1` |
|
||||
| | | `Config_foreColor_#2` |
|
||||
| | | `Config_foreColor_#3` |
|
||||
| | | `Config_fontColor_#1` |
|
||||
| | | `Config_fontColor_#2` |
|
||||
| | | `Config_fontColor_#3` |
|
||||
| 7. | `Config_rule_#2` | |
|
||||
| 8. | `Config_rule_#3` | |
|
||||
| | `Config_rule_#4` | |
|
||||
| | `Config_rule_#7` | |
|
||||
| | `Config_rule_#9` | |
|
||||
| | `Config_rule_#10` | |
|
||||
| | `Config_rule_#11` | |
|
||||
| | `Config_rule_#12` | |
|
||||
| | | `Config_rule_#13` |
|
||||
| | | `Config_rule_#14` |
|
||||
| | | `Config_rule_#15` |
|
||||
| | | `Config_rule_#16` |
|
||||
| | | `Config_rule_#17` |
|
||||
| 10. | `#^r::Main_reload()` | |
|
||||
| | `#^+r::Reload` | `#^r::Reload` |
|
||||
| 11. | | `#^m::Manager_minimizeWindow()` |
|
||||
|
||||
### 8.4.0
|
||||
|
||||
|
|
|
@ -67,3 +67,10 @@ The following `Config.ini` line adds a rule, putting windows of 'Mozilla
|
|||
Thunderbird' on view 4, keeping the title bar visible and maximizing them.
|
||||
|
||||
`Config_rule=MozillaWindowClass;.*Mozilla Thunderbird;;1;0;8;0;1;0;maximize`
|
||||
|
||||
#### GNU Emacs
|
||||
|
||||
The following rule avoids the gaps, which would be the result of Emacs'
|
||||
line-oriented resizing of its own windows (frames).
|
||||
|
||||
`Config_rule=Emacs;.*;;1;0;0;0;0;0;maximize`
|
||||
|
|
|
@ -9,3 +9,56 @@
|
|||
| `#k` | `#Up` | window up |
|
||||
| `#t` | - | launch a terminal (`Run, C:\Program Files\mintty.exe -`) |
|
||||
| `#b` | - | launch terminal with an ssh connection (`Run, C:\Program Files\mintty.exe /bin/ssh user@hostname`) |
|
||||
|
||||
#### Xmonad hotkeys
|
||||
|
||||
Here follows an example for configuring hotkeys, which are similar to those of
|
||||
[xmonad](http://xmonad.org/); this example was submitted for bug.n version
|
||||
8.2.1.
|
||||
|
||||
Config_hotkey=#1::Monitor_activateView(1)
|
||||
Config_hotkey=#+1::Monitor_setWindowTag(1)
|
||||
Config_hotkey=#2::Monitor_activateView(2)
|
||||
Config_hotkey=#+2::Monitor_setWindowTag(2)
|
||||
Config_hotkey=#3::Monitor_activateView(3)
|
||||
Config_hotkey=#+3::Monitor_setWindowTag(3)
|
||||
Config_hotkey=#4::Monitor_activateView(4)
|
||||
Config_hotkey=#+4::Monitor_setWindowTag(4)
|
||||
Config_hotkey=#5::Monitor_activateView(5)
|
||||
Config_hotkey=#+5::Monitor_setWindowTag(5)
|
||||
Config_hotkey=#6::Monitor_activateView(6)
|
||||
Config_hotkey=#+6::Monitor_setWindowTag(6)
|
||||
Config_hotkey=#7::Monitor_activateView(7)
|
||||
Config_hotkey=#+7::Monitor_setWindowTag(7)
|
||||
Config_hotkey=#8::Monitor_activateView(8)
|
||||
Config_hotkey=#+8::Monitor_setWindowTag(8)
|
||||
Config_hotkey=#9::Monitor_activateView(9)
|
||||
Config_hotkey=#+9::Monitor_setWindowTag(9)
|
||||
Config_hotkey=#+0::Monitor_setWindowTag(0)
|
||||
Config_hotkey=#^1::Monitor_toggleWindowTag(1)
|
||||
Config_hotkey=#^2::Monitor_toggleWindowTag(2)
|
||||
Config_hotkey=#^3::Monitor_toggleWindowTag(3)
|
||||
Config_hotkey=#^4::Monitor_toggleWindowTag(4)
|
||||
Config_hotkey=#^5::Monitor_toggleWindowTag(5)
|
||||
Config_hotkey=#^6::Monitor_toggleWindowTag(6)
|
||||
Config_hotkey=#^7::Monitor_toggleWindowTag(7)
|
||||
Config_hotkey=#^8::Monitor_toggleWindowTag(8)
|
||||
Config_hotkey=#^9::Monitor_toggleWindowTag(9)
|
||||
Config_hotkey=#q::Reload
|
||||
Config_hotkey=#+q::ExitApp
|
||||
Config_hotkey=#w::Manager_activateMonitor(1)
|
||||
Config_hotkey=#+w::Manager_setWindowMonitor(1)
|
||||
Config_hotkey=#e::Manager_activateMonitor(2)
|
||||
Config_hotkey=#+e::Manager_setWindowMonitor(2)
|
||||
Config_hotkey=#t::View_toggleFloating()
|
||||
Config_hotkey=#h::View_setMFactor(-0.05)
|
||||
Config_hotkey=#j::View_activateWindow(+1)
|
||||
Config_hotkey=#+j::View_shuffleWindow(+1)
|
||||
Config_hotkey=#k::View_activateWindow(-1)
|
||||
Config_hotkey=#+k::View_shuffleWindow(-1)
|
||||
Config_hotkey=#l::View_setMFactor(+0.05)
|
||||
Config_hotkey=#Enter::View_shuffleWindow(0)
|
||||
Config_hotkey=#+c::Manager_closeWindow()
|
||||
Config_hotkey=#,::View_setMSplit(+1)
|
||||
Config_hotkey=#.::View_setMSplit(-1)
|
||||
Config_hotkey=#Space::View_setLayout(>)
|
||||
|
|
|
@ -1,52 +0,0 @@
|
|||
## Xmonad hotkeys
|
||||
|
||||
Here follows an example for configuring hotkeys, which are similar to those of
|
||||
[xmonad](http://xmonad.org/); this example was submitted for bug.n version
|
||||
8.2.1.
|
||||
|
||||
Config_hotkey=#1::Monitor_activateView(1)
|
||||
Config_hotkey=#+1::Monitor_setWindowTag(1)
|
||||
Config_hotkey=#2::Monitor_activateView(2)
|
||||
Config_hotkey=#+2::Monitor_setWindowTag(2)
|
||||
Config_hotkey=#3::Monitor_activateView(3)
|
||||
Config_hotkey=#+3::Monitor_setWindowTag(3)
|
||||
Config_hotkey=#4::Monitor_activateView(4)
|
||||
Config_hotkey=#+4::Monitor_setWindowTag(4)
|
||||
Config_hotkey=#5::Monitor_activateView(5)
|
||||
Config_hotkey=#+5::Monitor_setWindowTag(5)
|
||||
Config_hotkey=#6::Monitor_activateView(6)
|
||||
Config_hotkey=#+6::Monitor_setWindowTag(6)
|
||||
Config_hotkey=#7::Monitor_activateView(7)
|
||||
Config_hotkey=#+7::Monitor_setWindowTag(7)
|
||||
Config_hotkey=#8::Monitor_activateView(8)
|
||||
Config_hotkey=#+8::Monitor_setWindowTag(8)
|
||||
Config_hotkey=#9::Monitor_activateView(9)
|
||||
Config_hotkey=#+9::Monitor_setWindowTag(9)
|
||||
Config_hotkey=#+0::Monitor_setWindowTag(0)
|
||||
Config_hotkey=#^1::Monitor_toggleWindowTag(1)
|
||||
Config_hotkey=#^2::Monitor_toggleWindowTag(2)
|
||||
Config_hotkey=#^3::Monitor_toggleWindowTag(3)
|
||||
Config_hotkey=#^4::Monitor_toggleWindowTag(4)
|
||||
Config_hotkey=#^5::Monitor_toggleWindowTag(5)
|
||||
Config_hotkey=#^6::Monitor_toggleWindowTag(6)
|
||||
Config_hotkey=#^7::Monitor_toggleWindowTag(7)
|
||||
Config_hotkey=#^8::Monitor_toggleWindowTag(8)
|
||||
Config_hotkey=#^9::Monitor_toggleWindowTag(9)
|
||||
Config_hotkey=#q::Reload
|
||||
Config_hotkey=#+q::ExitApp
|
||||
Config_hotkey=#w::Manager_activateMonitor(1)
|
||||
Config_hotkey=#+w::Manager_setWindowMonitor(1)
|
||||
Config_hotkey=#e::Manager_activateMonitor(2)
|
||||
Config_hotkey=#+e::Manager_setWindowMonitor(2)
|
||||
Config_hotkey=#t::View_toggleFloating()
|
||||
Config_hotkey=#h::View_setMFactor(-0.05)
|
||||
Config_hotkey=#j::View_activateWindow(+1)
|
||||
Config_hotkey=#+j::View_shuffleWindow(+1)
|
||||
Config_hotkey=#k::View_activateWindow(-1)
|
||||
Config_hotkey=#+k::View_shuffleWindow(-1)
|
||||
Config_hotkey=#l::View_setMFactor(+0.05)
|
||||
Config_hotkey=#Enter::View_shuffleWindow(0)
|
||||
Config_hotkey=#+c::Manager_closeWindow()
|
||||
Config_hotkey=#,::View_setMSplit(+1)
|
||||
Config_hotkey=#.::View_setMSplit(-1)
|
||||
Config_hotkey=#Space::View_setLayout(>)
|
Loading…
Reference in a new issue