diff --git a/docs/config/lua/config/automatically_reload_config.md b/docs/config/lua/config/automatically_reload_config.md new file mode 100644 index 000000000..6aa9f1e2a --- /dev/null +++ b/docs/config/lua/config/automatically_reload_config.md @@ -0,0 +1,16 @@ +# `automatically_reload_config` + +*Since: 20201031-154415-9614e117* + +When true (the default), watch the config file and reload it +automatically when it is detected as changing. +When false, you will need to manually trigger a config reload +with a key bound to the action [ReloadConfiguration](../keyassignment/ReloadConfiguration.md). + +For example, to disable auto config reload: + +```lua +return { + automatically_reload_config = false +} +``` diff --git a/docs/config/lua/config/scroll_to_bottom_on_input.md b/docs/config/lua/config/scroll_to_bottom_on_input.md new file mode 100644 index 000000000..52cdce463 --- /dev/null +++ b/docs/config/lua/config/scroll_to_bottom_on_input.md @@ -0,0 +1,3 @@ +# `scroll_to_bottom_on_input` + +When true (the default) scrolls to the bottom of the scrollback on input. diff --git a/docs/config/lua/config/selection_word_boundary.md b/docs/config/lua/config/selection_word_boundary.md new file mode 100644 index 000000000..982a15382 --- /dev/null +++ b/docs/config/lua/config/selection_word_boundary.md @@ -0,0 +1,16 @@ +# `selection_word_boundary` + +*Since: 20210203-095643-70a364eb* + +Configures the boudaries of a word, thus what is selected when doing +a word selection with the mouse. +(See mouse actions [SelectTextAtMouseCursor](../keyassignment/SelectTextAtMouseCursor.md) & [ExtendSelectionToMouseCursor](../keyassignment/ExtendSelectionToMouseCursor.md) with the mode argument set to `Word`) + +Defaults to ``" \t\n{}[]()\"'`"``. + +For example, to always include spaces and newline when selecting a word, but stop on punctuations: +```lua +return { + selection_word_boundary = "{}[]()\"'`.,;:" +} +``` diff --git a/docs/config/misc.md b/docs/config/misc.md index fd4594de2..b6a271b16 100644 --- a/docs/config/misc.md +++ b/docs/config/misc.md @@ -66,11 +66,6 @@ return { -- windows every time window_close_confirmation = "AlwaysPrompt", - -- When true (the default), watch the config file and reload it - -- automatically when it is detected as changing. - -- When false, you will need to manually trigger a config reload. - automatically_reload_config = true, - -- The github releases section is checked regularly for updated stable -- releases and show a simple UI to let you know about the update, -- with links to download/install it. It doesn't automatically download @@ -83,14 +78,5 @@ return { check_for_updates = true, check_for_updates_interval_seconds = 86400, show_update_window = true, - - -- When true (the default) scrolls to the bottom of the scrollback - -- on input. - scroll_to_bottom_on_input = true, - - -- (available starting in version 20210203-095643-70a364eb) - -- Configures the boudaries of a word, thus what is selected when doing - -- a word selection with the mouse. - selection_word_boundary = " \t\n{}[]()\"'`", } ```