# HG changeset patch # User Ludovic Chabant # Date 1406676954 25200 # Node ID 596f94a7e0fd92d64ce38dc297469a1ff6299807 # Parent 001b341ab8adb3b7cfa05d4812f842591dad10d5 Keep alternate buffer intact when opening the status window. diff -r 001b341ab8ad -r 596f94a7e0fd plugin/lawrencium.vim --- 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) == '')