Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I set the terminal buffer scrollback size?

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.

like image 761
Floegipoky Avatar asked Nov 30 '15 22:11

Floegipoky


1 Answers

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
like image 60
Floegipoky Avatar answered Sep 30 '22 08:09

Floegipoky