Labs/Bespin/Settings

From MozillaWiki
< Labs‎ | Bespin
Revision as of 15:55, 11 March 2009 by Dalmaer (talk | contribs)
Jump to navigation Jump to search

There are many user settings that you can tweak, to change the experience of using Bespin. Plugins and you yourself in your config.js can add new ones, but here is a list of some of the most used (please feel free to add more!):

(NOTE: Labs/Bespin/DesignDocs/ConfigIntegration Check out info on configuration integration here)

autocomplete

Autocomplete is a weird experiment where the command line automatically completes the command as soon as it is worked out. This may go away soon.

autoconfig

If you turn autoconfig on, when the editor loads it will look up BespinSettings/config.js and will load it up.

autoindent

With autoindent turned on, when you hit RETURN you will placed at the same level of indentation. If it is off, it will put you at the first column on the next line.

collaborate

This is a setting that turns on collaboration mode, and will start sending back events to the server.

fontsize

What fontsize do you fancy? default is 10. We need to add the name of font too.

keybindings

There are keybinding modes. Right now you can just say "set keybindings emacs" to give you those key bindings. In the future we can have vi mode etc.

syntax

Usage: set syntax auto | [language]

By default the syntax setting is set to "auto". With this on, when you load a file, the extension will be checked and syntax highlighting will be used based on that extension (e.g loading foo.html will turn on the highlighting registered to the HTML syntax highlighter).

To turn off syntax highlighting, "set syntax off".

To force a particular setting, manually do something like "set syntax js". You shouldn't have to do this really.

strictlines

With strictlines mode on, when you click on a line that is past the end of the current line, the cursor sticks to the last character. If you arrow right, it will go to the first character on the next line. If you then arrow left, it will take you back to the last line.

With strictlines mode off, you can click anywhere, and can't move up and down lines that way. Ben prefers off, Dion prefers on :)

tabsize

How many spaces do you want for your tabs? Default is 4. Dion prefers less :)

tabmode

Do you want to use real tabs, or would you prefer to use spaces (tied to tabsize above). To use tabs, "set tabmode tabs".