sponsor Vim development Vim logo Vim Book Ad

undoquit.vim : Undo a :quit -- reopen the last window you closed

 script karma  Rating 1/1, Downloaded by 18  Comments, bugs, improvements  Vim wiki

created by
Andrew Radev
 
script type
utility
 
description
Github repo is at: https://github.com/AndrewRadev/undoquit.vim

Whenever you execute a `:quit` on a window, that window's position is stored in a stack. Pressing `<c-w>u` (or executing the `:Undoquit` command) is going to "undo" that quit, restoring the window to its original position.

Check the documentation for more details, corner cases, and settings.
 
install details
Download undoquit.zip.

If you're using pathogen (vimscript #2332), extract it to a directory in your bundles or just clone the git repository at https://github.com/AndrewRadev/undoquit.vim

Alternatively, extract it to your vimfiles root (~/.vim on *nix, ~/vimfiles on Windows).
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
undoquit.zip 0.1.0 2018-07-17 7.4 Andrew Radev Initial upload
ip used for rating: 54.226.36.60

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
OSDN.net Logo