6 Commits

Author SHA1 Message Date
Ingo Karkat
ed53ce9b33 Cosmetics: Fix typo in revision history dates 2017-05-26 22:14:22 +02:00
Ingo Karkat
9cdc62e5ee FIX: Temporarily reset 'switchbuf' in ingo#buffer#visible#Execute(), to avoid that "usetab" switched to another tab page 2017-05-26 17:47:51 +02:00
Ingo Karkat
8640585a2a ingo#buffer#visible#Execute(): Restore the window layout when the buffer is visible but in a window with 0 height / width
And restore the previous window when the buffer isn't visible yet. Add a check that the command hasn't switched to another window (and go back if true) before closing the split window.
2017-05-26 17:47:44 +02:00
Ingo Karkat
2944addc49 2017-05-26 17:33:14 +02:00
Ingo Karkat
0b601c39d9 Use :close! in ingo#buffer#visible#Execute() to handle modified buffers when :set nohidden, too
ENH: Keep previous (last accessed) window on ingo#buffer#visible#Execute().
2017-05-26 17:33:08 +02:00
Ingo Karkat
118c07b929 file creation 2017-05-26 17:32:55 +02:00