chat commands: Update clear word and clear line defaults

Ctrl + backspace is an overwhelmingly common keybind for clearing the
word before the cursor. Meanwhile, clearing the current line is not as
common a keybind, so having an unset default is more sensible here for
users to decide for themselves what keybind they would prefer.
This commit is contained in:
Jordan Atwood
2022-05-12 12:06:51 -07:00
committed by Adam
parent 1ed37f561d
commit cbb0730a38

View File

@@ -197,7 +197,7 @@ public interface ChatCommandsConfig extends Config
)
default Keybind clearSingleWord()
{
return new Keybind(KeyEvent.VK_W, InputEvent.CTRL_DOWN_MASK);
return new Keybind(KeyEvent.VK_BACK_SPACE, InputEvent.CTRL_DOWN_MASK);
}
@ConfigItem(
@@ -208,6 +208,6 @@ public interface ChatCommandsConfig extends Config
)
default Keybind clearChatBox()
{
return new Keybind(KeyEvent.VK_BACK_SPACE, InputEvent.CTRL_DOWN_MASK);
return Keybind.NOT_SET;
}
}