Commits

Anonymous committed 4578b7e

Fixes issue #9.

Comments (0)

Files changed (1)

autoload/splicelib/util/windows.py

     vim.command('wincmd c')
 
 def close_all():
-    for winnr in range(len(vim.windows) - 1):
-        close(winnr)
+    focus(1)
+    vim.command('wincmd o')
 
 def split():
     vim.command('wincmd s')