Hotkeys and commands

Hotkeys are keys or key combinations for use within a match which, when pressed, provide quick access to certain aspects of the game. Commands can be typed into the chat console either within a match, or in other PVP.net chat windows, though some (such as champion laughter, jokes, and dances) will only have the specified effect within a match.

Hotkeys
Note: The Hotkeys listed here bound on their standard keys on the QWERTY keyboard. For other keyboards, default hotkeys are bound to the keys which are in the positions occupied by the following keys on the QWERTY keyboard (e.g., ' is bound to a champion's 1st ability on the Dvorak keyboard).


 * Many more hotkeys were listed by Rioter "HoHums" here, although many are for internal use only: http://na.leagueoflegends.com/board/showthread.php?p=15644321#15644321

Commands
League of Legends in-game chat gives the possibility to perform some actions during the game:

PvP.net provides players with the ability to chat with friends who are currently in an active session of League of Legends. For players in the AIR client, this process is as simple as opening a chat window through your buddy list. Players in-game will be able to send messages to players in the PvP.net client, or even in other games of League of Legends by making use of the following chat commands, followed by a message:

PvP.net provides players with the ability to block unwanted messages from other players through the use of the following commands:

File Location for Keybindings
The file that holds the keybindings can be found here: *\League of Legends\Config\input.ini

Some people have trouble changing the keybindings through the in-game interface. Editing this file is an alternate way of changing your keybindings. In particular, the game UI forbids assigning Shift modified key-bindings to the basic champion abilities, so editing the file is the only way to achieve this. If the file does not exist it means that you have not changed your keybindings yet. If so, you can make a new file in the aforementioned folder and name it "input.ini", although it is recommended that you go into a practice game and modify some keybinds instead so you can be sure you're editing the correct file.

Another thing to note is that it's wise to test your keychanges in a tutorial game and if it does not work, go to the in-game menu for keybindings and press the "reset to default" button, or end the tutorial game and delete the "input.ini" file.

Below is a list of the items that can be changed. '''Be aware that the header shown in bold MUST be present. '''Also, it is not necessary to include all items, just the ones you want to change. So for example if you want to switch around the smartcast and normal cast keybindings, you just use the evtCastSpell1 through evtCastAvatarSpell2 section and the evtSmartCastSpell1 through the evtSmartCastAvatarSpell2 section. Any items not explicitly mentioned use the default values listed above. [GameEvents] evtCastSpell1=[q] evtCastSpell2=[w] evtCastSpell3=[e] evtCastSpell4=[r] evtCastAvatarSpell1=[d] evtCastAvatarSpell2=[f] evtLevelSpell1=[Ctrl][q] evtLevelSpell2=[Ctrl][w] evtLevelSpell3=[Ctrl][e] evtLevelSpell4=[Ctrl][r] evtSelfCastSpell1=[Alt][q] evtSelfCastSpell2=[Alt][w] evtSelfCastSpell3=[Alt][e] evtSelfCastSpell4=[Alt][r] evtSelfCastAvatarSpell1=[Alt][d] evtSelfCastAvatarSpell2=[Alt][f] evtSmartCastSpell1=[Shift][q] evtSmartCastSpell2=[Shift][w] evtSmartCastSpell3=[Shift][e] evtSmartCastSpell4=[Shift][r] evtSmartCastAvatarSpell1=[Shift][d] evtSmartCastAvatarSpell2=[Shift][f] evtUseItem1=[1] evtUseItem2=[2] evtUseItem3=[3] evtUseItem4=[4] evtUseItem5=[5] evtUseItem6=[6] evtUseItem7=[7] evtSmartCastItem1=[Shift][1] evtSmartCastItem2=[Shift][2] evtSmartCastItem3=[Shift][3] evtSmartCastItem4=[Shift][4] evtSmartCastItem5=[Shift][5] evtSmartCastItem6=[Shift][6] evtShowCharacterMenu=[c] evtShowScoreBoard=[o] evtOpenShop=[p] evtShowConsole = [Return],[NumEnter] evtShowAllConsole = [Shift] [Return], [Shift] [NumEnter] evtChatHistory=[z] evtCameraLockToggle=[y] evtCameraSnap=[Space] evtSelectSelf=[F1] evtSelectAlly1=[F2] evtSelectAlly2=[F3] evtSelectAlly3=[F4] evtSelectAlly4=[F5] evntPlayerPingCursor=[g] evntPlayerPing=[alt][Button 1] evntPlayerPingCursorDanger=[v] evntPlayerPingDanger=[ctrl][Button 1] evtPlayerAttackMoveClick=[Shift] [Button 2] evtPlayerAttackMove=[a],[x] evtPlayerHoldPosition=[h] evtPlayerStopPosition=[s] evtPetMoveClick = [Alt] [Button 2] evtPetReturn = [Alt] [Button 1] evtPlayerMoveClick=[Button 2] evtOnUIMouse4Pan=[Button 3] evtEmoteJoke=[Ctrl] [1] evtEmoteTaunt=[Ctrl] [2] evtEmoteDance=[Ctrl] [3] evtEmoteLaugh=[Ctrl] [4] evtShowHealthBars=[Shift] [l] evtToggleMinionHealthBars=[Ctrl] [l] evtShowSummonerNames=[Shift] [k] evtDrawHud=[F5] evtScrollUp=[Up Arrow] evtScrollDown=[Down Arrow] evtScrollLeft=[Left Arrow] evtScrollRight=[Right Arrow]

[MouseSettings] PointerSpeed = 2 RollerButtonSpeed = 1 [HUDEvents] evtToggleFPSAndLatency=[Ctrl] [f] Below is an example file that only switches the smartcast and normal cast keys. [GameEvents] evtSmartCastSpell1 = [q] evtSmartCastSpell2 = [w] evtSmartCastSpell3 = [e] evtSmartCastSpell4 = [r] evtSmartCastAvatarSpell1 = [d] evtSmartCastAvatarSpell2 = [f] evtSmartCastItem1=[1] evtSmartCastItem2=[2] evtSmartCastItem3=[3] evtSmartCastItem4=[4] evtSmartCastItem5=[5] evtSmartCastItem6=[6] evtCastSpell4 = [Shift][r] evtCastSpell3 = [Shift][e] evtCastSpell2 = [Shift][w] evtCastSpell1 = [Shift][q] evtCastAvatarSpell1 = [Shift][d] evtCastAvatarSpell2 = [Shift][f] evtUseItem1 = [Shift][1] evtUseItem2 = [Shift][2] evtUseItem3 =[Shift][3] evtUseItem4 = [Shift][4] evtUseItem5 = [Shift][5] evtUseItem6 = [Shift][6] As of the Skarner patch (V1.0.0.123), there is now a new keybinding available: Smart + Self Cast. This new setup is nearly identical to the old smartcast except in one regard: spells that you can target on yourself you can now cast to yourself by pressing the key with the mouse over any invalid target. For example, with this setup you can apply Morgana's Black Shield to yourself by pressing the self + smartcast key and having your mouse over anything that is not an allied champion. For those of you who want to edit the input.ini file, here is an example of self + smartcast applied to the standard keys: [GameEvents] evtSmartPlusSelfCastSpell4 = [r] evtSmartPlusSelfCastSpell3 = [e] evtSmartPlusSelfCastSpell2 = [w] evtSmartPlusSelfCastSpell1 = [q] evtSmartPlusSelfCastAvatarSpell1 = [d] evtSmartPlusSelfCastAvatarSpell2 = [f] evtCastSpell4 = [r][Shift] evtCastSpell3 = [e][Shift] evtCastSpell2 = [w][Shift] evtCastSpell1 = [q][Shift] evtCastAvatarSpell1 = [d][Shift] evtCastAvatarSpell2 = [f][Shift]

Switching primary and secondary mouse buttons
LoL does not support the setting within operating systems that switch primary and secondary buttons, nor does it allow the changing of these within the in-game client. To switch these buttons you must use the following input.ini (which includes settings omitted from the previous example).

[GameEvents] evtPlayerSelectClick = [Button 2] evtPlayerMoveClick = [Button 1] evtPlayerAttackMoveClick = [Shift] [Button 1] evtPetMoveClick = [Alt] [Button 1] evtPetReturn = [Alt] [Button 2] [HUDEvents] evtOnUIMouse1 = [Button 2] evtOnUIMouse2 = [Button 1] evtOnUIMouse3 = [Button 3] evntHudMoveableSelect = [Button 2] evtOrbitCamera = [Ctrl][Button 2]

Patch History
Schnelltasten und Befehle Hotkeys and commands 快捷键与命令