By default the terminal buffer scrollback size is set to 1024, but that is not enough for me and I would like to change it.
help terminal
does not explain how to configure this.
According to :help terminal-emulator-configuration
, the scrollback buffer size is controlled by the terminal_scrollback_buffer_size
variable.
For example, add the following to your config to set it globally to the maximum value, as defined in :help terminal-emulator-configuration
:
let g:terminal_scrollback_buffer_size = 100000
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With