expose word_chars option
This commit is contained in:
parent
affac554fe
commit
8b97b04cd1
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue