From cbb0730a3872b721b2df6a7a60ec34dba03e4c7f Mon Sep 17 00:00:00 2001 From: Jordan Atwood Date: Thu, 12 May 2022 12:06:51 -0700 Subject: [PATCH] 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. --- .../client/plugins/chatcommands/ChatCommandsConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/chatcommands/ChatCommandsConfig.java b/runelite-client/src/main/java/net/runelite/client/plugins/chatcommands/ChatCommandsConfig.java index 859aa9f9d1..4ed53b575f 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/chatcommands/ChatCommandsConfig.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/chatcommands/ChatCommandsConfig.java @@ -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; } }