expose word_chars option

This commit is contained in:
Daniel Micay 2012-07-27 04:58:50 -04:00
parent affac554fe
commit 8b97b04cd1
2 changed files with 9 additions and 0 deletions

View File

@ -588,6 +588,11 @@ static void load_config(GtkWindow *window, VteTerminal *vte, config_info *info,
g_free(cfgstr);
}
if (get_config_string(config, "options", "word_chars", &cfgstr)) {
vte_terminal_set_word_chars(vte, cfgstr);
g_free(cfgstr);
}
if (get_config_integer(config, "options", "scrollback_lines", &cfgint)) {
vte_terminal_set_scrollback_lines(vte, cfgint);
}

View File

@ -29,6 +29,10 @@ cursor_shape = block
# termite has the correct terminfo, but some applications hardcode TERM checks
#term = termite
# word characters used for word selection
# (default if unset: all graphic non-punctuation/space characters)
#word_chars = -A-Za-z0-9,./?%&#:_=+@~
[colors]
foreground = #dcdccc
foreground_bold = #ffffff