Giter Club home page Giter Club logo

undoquit.vim's Issues

Split restores to wrong side

The plugin partially works for me, but windows are not getting restored to the same positions. This seems to be independent of the splitright setting.

STR

  1. Open a file nvim a.txt
  2. Split :vsp
  3. Open another file in the split :e b.txt
  4. Close the window :q
  5. Restore the window :Undoquit

Expected: window restores as it was

Actual: window restore, but swapped with the other split

I'm also seeing issues such as: :vsp, then :sp, if I close the original window (the one that wasn't split by :sp) and then restore, it re-splits horizontally instead of vertically.

In Terminal Vim, receiving error:

Error detected while processing /Users/myUsername/.vim/bundle/undoquit.vim/plugin/undoquit.vim:
line 13:
E216: No such group or event: QuitPre * call undoquit#SaveWindowQuitHistory()

Do you use MacVim/gvim? It works perfectly in MacVim for me, but not terminal vim.

Files in directories containing spaces cannot be re-opened.

The error message reads:

Only one file name allowed: leftabove vsplit /Path/to/directory with spaces/someFile.txt

Looks like it should be an easy fix.

Thank you for being so responsive on issues for undoquit and all your other plugins - they definitely help me to be more productive.

Restore cursor position

The position of the cursor could restored to the position before the buffer was closed. That would add an extra level of awesomeness to this script.

Thanks for making this btw. This should exist as a vim feature!

remap <c-w>p

How about overwriting optionally p to let it act correspondingly to <c-^> for buffers in case the previous window now happens to be closed?

Undo quit when restart vim

Good plugin!

I want this plugin could support a new feature:
Persist the opened files when :qa and restore all windows when restart vim and press c-w U

Thanks!

windows closed by commands such as `<c-w>c`

The undoclosewin.vim plugin also restores windows closed by commands such as <c-w>c or ZZ. Is it outside of the scope of undo_quit_.vim or is it impossible to implement this reliably ?

If not, how about allowing undoquit to undo closes of windows by such commands as well (perhaps by taking a look at undoclosewin.vim's implementation) ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.