Skip to content

Commit

Permalink
Prevent vim from clobbering the scrollback buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
sobrinho committed Apr 23, 2012
1 parent d037811 commit 83a98ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vimrc
Expand Up @@ -32,6 +32,10 @@ set incsearch
set ignorecase
set smartcase

" Prevent Vim from clobbering the scrollback buffer. See
" http://www.shallowsky.com/linux/noaltscreen.html
set t_ti= t_te=

" This tip is an improved version of the example given for :help last-position-jump.
" It fixes a problem where the cursor position will not be restored if the file only has a single line.
"
Expand Down

0 comments on commit 83a98ae

Please sign in to comment.