Skip to content

Commit 98e15df

Browse files
authored
feat!: switch persist_mode to false (#410)
by default toggleterm will now remember what mode you were last in when leaving a terminal
1 parent 31d38d1 commit 98e15df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/toggleterm/config.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ local config = {
4545
terminal_mappings = true,
4646
start_in_insert = true,
4747
persist_size = true,
48-
persist_mode = false,
48+
persist_mode = true,
4949
close_on_exit = true,
5050
direction = "horizontal",
5151
shading_factor = constants.shading_amount,

0 commit comments

Comments
 (0)