-
Notifications
You must be signed in to change notification settings - Fork 47
Settings
The default TextPastry.sublime-settings can be found in the package directory:
Preferences -> Package Settings -> Text Pastry -> Settings - Default
Settings files use JSON as format, the default settings file looks like this:
{
"clipboard_strip_newline": true,
"repeat_words": false,
"repeat_clipboard": false,
"history_enabled": true,
"keep_selection": false
"history_max_entries": 100,
"repeat_preset": true
}
You can access your personal settings for Text Pastry here:
Preferences -> Package Settings -> Text Pastry -> Settings - User
Please place the key/value pairs you want to override into your personal settings, e.g.
{
"keep_selection": true
}
Removes whitespaces before insert, the default value is true
if list of words is smaller then the number of selections, Text Pastry repeats the words by doing this:
while (len(items) < len(sel)):
items.extend(items)
has the same effect as repeat_words
, but is only used when pasing clipboard data. This will not change the content of your clipboard data. The default value is false
Enable the history. We can access the History by calling the Text Pastry Menu:
Mac | Windows / Linux | |
Text Pastry Menu | CMD + ALT + T | CTRL + ALT + T |
Keep selection/cursor positions after a Text Pastry operation.
added in 1.3.5
Maximum History entries that will be kept. History entries are stored in Packages/User/TextPastryHistory.settings-sublime
, oldest entries will be purged if maximum was reached. You can clear the history by calling the Text Pastry Menu or by deleting the File. The default value is 100
.
added in 1.3.6
repeats the entries of a preset list if you have more selections then entries in the list. Default value is true
.