Skip to main content
  1. Lumesh Document/

Lumesh key bindings

363 words·2 mins

Default key bindings:

  • Ctrl+ J - Complete hint;
  • Alt + J - Accept one world of hint;
  • Ctrl+ O - Clear all input buffer;
  • Alt + S - insert sudo;

Additionally, custom bindings can be defined through the LUME_HOT_KEYS environment variable.

Function CategoryKeystrokeDescription
Cursor MovementHome, Ctrl + AMove cursor to the beginning of the line
End, Ctrl + EMove cursor to the end of the line
Left, Ctrl + BMove cursor one character left
Right, Ctrl + FMove cursor one character right
Ctrl + I, TabNext completion
Meta + B, Alt + LeftMove left to the previous word
Meta + F, Alt + RightMove right to the next word
Text EditingCtrl + CInterrupt the current command
Ctrl + D, DelDelete the character under the cursor (if line is not empty)
Ctrl + H, BackspaceDelete the character before the cursor
Ctrl + W, Meta + BackspaceDelete the word leading up to the cursor
Meta + DDelete the next word
Ctrl + UDelete from the start of the line to the cursor
Ctrl + KDelete from the cursor to the end of the line
Ctrl + Y, Meta + YPaste the previously deleted content
Command ControlCtrl + ZSuspend the current command
Ctrl + LClear the screen
Ctrl + RReverse search history commands
Ctrl + PPrevious command
Ctrl + NNext command
Ctrl + J, Ctrl + M, EnterFinish line entry
Meta + <Move to the first entry in history
Meta + >Move to the last entry in history
Undo and RedoCtrl + _Undo the last operation
Ctrl + X Ctrl + UUndo the last operation
Special FunctionsCtrl + VInsert any special character
Meta + CCapitalize the first letter of the current word
Meta + LLower-case the current word
Meta + UUpper-case the current word
Ctrl + TTranspose the two characters before and after the cursor
Meta + TTranspose the current word with the previous word
Meta + 0, 1, ..., -Specify the digit to the argument, -

Related