-
Notifications
You must be signed in to change notification settings - Fork 66
Customize with Settings
Settings for this plugin are used to adjust some of the default behaviors. For historical reasons all the settings (and indeed, plugin commands) are prefixed with "sbp_", and the settings files for this plugin are "sublemacspro.sublime-settings".
Here are the settings you can override and what they are for:
-
sbp_kill_ring_size=64. This is the number of entries stored on the kill ring.
-
sbp_isearch_history_size=64. This is the number of isearch history items to save.
-
sbp_active_mark_mode=false. Active mark mode means that when you run a command to set the mark, the region is automatically highlighted. The default is false, in which case you can activate active mark mode by pressing ctrl+space twice in a row.
-
sbp_word_separators="./\()"'-_:,.;<>
!@#$%^&*|+=[]{}`?". This is a set of characters that are considered word separators. This list is consulted for the forward and backward word commands. -
sbp_sexpr_separators="./\()"'-:,.;<>
!@#$%^&*|+=[]{}`?". This is a set of characters that are considered s-expression separators. This list is consulted for the forward and backward s-expression commands. S-expression are a combination of balanced parens and programming language identifiers, and really these should be per-syntax values. But for now they are just shared and we've been happy with it somehow. -
sbp_cancel_mark_enabled=true. This means that if you type ctrl+g, you will be able to hide the mark completely. However, the mark is still there so I don't really understand why this is here.
-
sbp_use_alt_bindings=true. This lets you decide whether you want the alt key to be used as the emacs
meta
key or not. -
sbp_alt+digit_inserts=false. This lets you use alt bindings for most things, but disable it for the digit keys, which often insert special characters when the alt-key is pressed at the same time. When this is true, the default characters are inserted when you press alt+.
-
sbp_use_super_bindings=false. When true, the plugin uses the super key as the meta key. On Macs this is the CMD key and so many normal CMD shortcuts are impacted.
-
sbp_ensure_newline_at_eof_on_save=false.
-
sbp_trim_trailing_white_space_on_save=false. These two work together to fix a problem with sublime, where a blank but not empty last line would cause an extra line to be appended to the file. This ensures that the trailing white space is trimmed first, and then ensure newline is called.
-
sbp_use_internal_complete_all_buffers=false. This enables a built-in version of all auto-complete that fixes some bugs and improves performance. This version completes across all buffers, searching the buffers in the most recently accessed order, and doesn't limit itself to just 20 buffers.
-
sbp_pinned_tab_status_text="📌". This is the text to display in the status area for pinned tabs.