Mercurial > vim-lawrencium
changeset 100:596f94a7e0fd
Keep alternate buffer intact when opening the status window.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 29 Jul 2014 16:35:54 -0700 |
parents | 001b341ab8ad |
children | 2078a8b475c2 |
files | plugin/lawrencium.vim |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugin/lawrencium.vim Tue Jul 29 16:34:49 2014 -0700 +++ b/plugin/lawrencium.vim Tue Jul 29 16:35:54 2014 -0700 @@ -899,9 +899,9 @@ " Open the Lawrencium buffer in a new split window of the right size. if g:lawrencium_status_win_split_above - execute "leftabove split " . l:status_path + execute "keepalt leftabove split " . l:status_path else - execute "rightbelow split " . l:status_path + execute "keepalt rightbelow split " . l:status_path endif if (line('$') == 1 && getline(1) == '')