-
Notifications
You must be signed in to change notification settings - Fork 8
Getting Started
Alex Lementuev edited this page May 5, 2015
·
4 revisions
This is a quick overview of Lunar Plugin Terminal usage.
We're going to use >
to indicate a terminal prompt (actual command typing).
To open Lunar Terminal use Editor's menu: Window ▶ Lunar ▶ Terminal
Type command name with its options and arguments and then hit Enter
:
> commandName -shortOption --longOption arg "arg with white spaces" "arg with 'inner quotes'"
↵
- Hit
Tab
key twice to see all available commands or typecmdlist
and hitEnter
:
> cmdlist
alias cat cvar_restart log tag unalias
aliaslist clear cvarlist man test unbind
bind clearprefs echo menu throw_exception unbindall
bindlist cmdlist exec prefs timeScale writeconfig
break colors exit reset toggle
- Type partial command name and hit
Tab
key to autocomplete or hitTab
key twice for the list of all commands starting with the typed string:
> clear
clear clearprefs
Use man
command to see command's manual page:
> man cmdlist
Lists all available terminal commands.
usage: cmdlist [-a|--all] [<prefix>]
You can chain multiple command together using &&
syntax:
> command1 && command2 "some argument" && command3
↵
You can iterate through your commands's history with ↑
(up arrow) and ↓
(down arrow) keys.
-
Ctrl+A
- go to the beginning of the line -
Ctrl+E
- go to the end of the line -
Ctrl+C
- clear the line -
Alt+→
- jump one word right -
Alt+←
- jump one word left