Labs/Bespin/UserGuide: Difference between revisions

m
Line 135: Line 135:
===Global Commands===
===Global Commands===


<i>alias</i> (<font style="color:#55F;">alias</font>) (<font style="color:#55F;">command</font>) - This creates an alias between a word you want with a command p.e.:
; alias [<font style="color:#88F;">command</font>] : Create an alias between a word and a command. For example:


   alias close closefile
   alias close closefile
Line 141: Line 141:
This creates an alias that closes without saving the file you are currently working.
This creates an alias that closes without saving the file you are currently working.


<i>set</i> (<font style="color:#55F;">variable</font>) (<font style="color:#55F;">value</font>) - This sets values to variables in the configuration. If parameter is not passed a list with the available variables will be displayed. See [[#Settings|settings]]
; set [<font style="color:#88F;">variable</font>] [<font style="color:#88F;">value</font>] : This sets values to variables in the configuration. If parameter is not passed a list with the available variables will be displayed. See [[#Settings|settings]]. For example:
 
For example:


   set theme white
   set theme white


<i>projects</i> - Show a list with your projects.
; projects : Show a list with your projects.


<i>help</i> - Displays a list with the available commands.
; help : Displays a list with the available commands.


===Dashboard Specific Commands===
===Dashboard Specific Commands===


<i>history</i> - Shows the command history.
; history : Show command history.


<i>version</i> - Shows Bespin version.
; version : Show Bespin version.


<i>files</i> (<font style="color:#55F;">project</font>) - Shows the files inside a given project.
; files [<font style="color:#88F;">project</font>] : Show the files inside a given project.


===Editor Specific Commands===
===Editor Specific Commands===
Line 163: Line 161:
<font style="color:red;">Some commands still missing</font>
<font style="color:red;">Some commands still missing</font>


<i>clear</i> - Clear the content of the file.
; clear : Clear the content of the file.


<i>closefile</i> (<font style="color:#55F;">file</font>) - If file parameter is passed, closes the specified file, if not, closes the current open file.
; closefile [<font style="color:#88F;">file</font>] : If file parameter is passed, closes the specified file, if not, closes the current open file.


<i>clipboard</i> - Saves the file contents into the clipboard.
; clipboard : Saves the file contents into the clipboard.


<i>dashboard</i> - Go back to the Dashboard
; dashboard : Go back to Dashboard.


<i>editconfig</i> - Open the configuration file for the editor.
; editconfig : Open the editor's configuration file.


<i>goto</i> (<font style="color:#55F;">line number</font>) - Moves cursor to the desired line number.
; logout : Logout the editor.


<i>load</i> (<font style="color:#55F;">filename</font>) - Loads the file specified in (<font style="color:#55F;">filename</font>)
; goto [<font style="color:#88F;">line number</font>] : Moves cursor to the desired line number.


<i>logout</i> - Logout the editor.
; load [<font style="color:#88F;">filename</font>] : Loads the file specified in [<font style="color:#88F;">filename</font>]


<i>newfile</i> (<font style="color:#55F;">filename</font>) - Creates a new file with the name specified in [filename]
; newfile [<font style="color:#88F;">filename</font>] : Creates a new file with the name specified in [<font style="color:#88F;">filename</font>]


<i>preview</i> (<font style="color:#55F;">filename</font>) - Preview the file in the web browser (does not work on Webkit)
; preview [<font style="color:#88F;">filename</font>] : Preview the file in the web browser (does not work on Webkit)


<i>project</i> (<font style="color:#55F;">name</font>) - Creates a project with the desired name
; project [<font style="color:#88F;">name</font>] : Creates a project with the desired name


=Keyboard Shortcuts=
=Keyboard Shortcuts=
81

edits