Skip to content

Commit

Permalink
refactor: m for menu, o for on/off
Browse files Browse the repository at this point in the history
IMPORTANT change bind keys n,m to m,o
Before: n for (next) menu, m for on/off
After: m for menu, o for on/off
n,m keys are too close, avoid accidentally touching
  • Loading branch information
maoxuner committed Sep 13, 2023
1 parent 02736e0 commit 7dd9112
Show file tree
Hide file tree
Showing 17 changed files with 26 additions and 26 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
| `ctrl`+`h` | 速飞开关 |
| `ctrl`+`x` | 切分身时自动切锤开关 |
| `t` | 分身同步 |
| `n` | 技能菜单(逐个显示) |
| `m` | 开关当前菜单显示的技能 |
| `m` | 技能菜单(逐个显示) |
| `o` | 开关当前菜单显示的技能 |

## 参考

Expand Down Expand Up @@ -100,8 +100,8 @@ If there is a `settings_ddnet.cfg` file, backup it, keep it safe.
| `ctrl`+`h` | Deep fly on/off |
| `ctrl`+`x` | Hammer take on/off |
| `t` | Dummy copy moves |
| `n` | Menu(walk through skills) |
| `m` | Turn on/off the skill in current menu |
| `m` | Menu(walk through skills) |
| `o` | Turn on/off the skill in current menu |

## References

Expand Down
4 changes: 2 additions & 2 deletions skills/binds/install.cfg
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
unbind n
unbind m
unbind o
unbind ctrl+h
unbind ctrl+x

bind n exec configs/skills/binds/n/0.cfg
bind m exec configs/skills/binds/m/0.cfg

bind ctrl+h "exec configs/skills/DeepFlyOn.cfg"
bind ctrl+x "exec configs/skills/HammerTakeOn.cfg"
4 changes: 3 additions & 1 deletion skills/binds/m/0.cfg
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
bind m "exec configs/skills/ZenMode.cfg; echo Zen Mode Enabled; bind m \"exec configs/skills/ZenMode.cfg; echo Zen Mode Disabled; exec configs/skills/binds/m/0.cfg\""
echo ZenMode
exec configs/skills/binds/o/0.cfg
bind m exec configs/skills/binds/m/1.cfg
4 changes: 3 additions & 1 deletion skills/binds/m/1.cfg
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
bind m "exec configs/skills/HammerTakeOn.cfg; bind m \"exec configs/skills/HammerTakeOff.cfg; exec configs/skills/binds/m/1.cfg\""
echo HammerTake
exec configs/skills/binds/o/1.cfg
bind m exec configs/skills/binds/m/2.cfg
4 changes: 3 additions & 1 deletion skills/binds/m/2.cfg
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
bind m "exec configs/skills/DeepFlyOn.cfg; bind m \"exec configs/skills/DeepFlyOff.cfg; exec configs/skills/binds/m/2.cfg\""
echo DeepFly
exec configs/skills/binds/o/2.cfg
bind m exec configs/skills/binds/m/3.cfg
4 changes: 3 additions & 1 deletion skills/binds/m/3.cfg
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
bind m "exec configs/skills/HammerThrowDummy/DummyMoverOn.cfg; bind m \"exec configs/skills/HammerThrowDummy/DummyMoverOff.cfg; exec configs/skills/binds/m/3.cfg\""
echo HammerThrowDummy
exec configs/skills/binds/o/3.cfg
bind m exec configs/skills/binds/m/4.cfg
4 changes: 3 additions & 1 deletion skills/binds/m/4.cfg
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
bind m "exec configs/skills/EdgeJumpOn.cfg; bind m \"exec configs/skills/EdgeJumpOff.cfg; exec configs/skills/binds/m/4.cfg\""
echo EdgeJump
exec configs/skills/binds/o/4.cfg
bind m exec configs/skills/binds/m/0.cfg
3 changes: 0 additions & 3 deletions skills/binds/n/0.cfg

This file was deleted.

3 changes: 0 additions & 3 deletions skills/binds/n/1.cfg

This file was deleted.

3 changes: 0 additions & 3 deletions skills/binds/n/2.cfg

This file was deleted.

3 changes: 0 additions & 3 deletions skills/binds/n/3.cfg

This file was deleted.

3 changes: 0 additions & 3 deletions skills/binds/n/4.cfg

This file was deleted.

1 change: 1 addition & 0 deletions skills/binds/o/0.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bind o "exec configs/skills/ZenMode.cfg; echo Zen Mode Enabled; bind o \"exec configs/skills/ZenMode.cfg; echo Zen Mode Disabled; exec configs/skills/binds/o/0.cfg\""
1 change: 1 addition & 0 deletions skills/binds/o/1.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bind o "exec configs/skills/HammerTakeOn.cfg; bind o \"exec configs/skills/HammerTakeOff.cfg; exec configs/skills/binds/o/1.cfg\""
1 change: 1 addition & 0 deletions skills/binds/o/2.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bind o "exec configs/skills/DeepFlyOn.cfg; bind o \"exec configs/skills/DeepFlyOff.cfg; exec configs/skills/binds/o/2.cfg\""
1 change: 1 addition & 0 deletions skills/binds/o/3.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bind o "exec configs/skills/HammerThrowDummy/DummyMoverOn.cfg; bind o \"exec configs/skills/HammerThrowDummy/DummyMoverOff.cfg; exec configs/skills/binds/o/3.cfg\""
1 change: 1 addition & 0 deletions skills/binds/o/4.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bind o "exec configs/skills/EdgeJumpOn.cfg; bind o \"exec configs/skills/EdgeJumpOff.cfg; exec configs/skills/binds/o/4.cfg\""

0 comments on commit 7dd9112

Please sign in to comment.