You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By skimming though the code I've found that Vaffle is able to restore alternate buffer. So if I open file A then B, and then open Vaffle to file C, I could use <c-^> to jump to alternate file, in this case, I will be able to jump from file C to file B.
But the above behaviour doesn't work in the following cases:
Using command Vaffle % on file B and pressing enter in Vaffle buffer. This opens file B again which is expected, but removes file A (alternate file buffer).
Using q in Vaffle quits it but using <c-^> restores Vaffle window rather file A (which is the actual alternate file).
Details:
OS: Ubuntu 20.04 via WSL on Windows 10
Vim: NVIM v0.5.0-dev+1233-g82ac44d01
Minimal .vimrc:
letg:vaffle_show_hidden_files=1letg:vaffle_force_delete=1nnoremap-<cmd>execute "try \n Vaffle % \n catch \n Vaffle \n endtry"<cr>function!s:customize_vaffle_mappings() abort" go to project rootnmap<buffer>-<cmd>Vaffle<cr>nmap<buffer><tab><Plug>(vaffle-toggle-current)vmap<buffer><tab><Plug>(vaffle-toggle-current)endfunctionaugroupvimrc_vaffleautocmd!autocmdFileTypevafflecalls:customize_vaffle_mappings()
augroupEND
The text was updated successfully, but these errors were encountered:
By skimming though the code I've found that Vaffle is able to restore alternate buffer. So if I open file A then B, and then open Vaffle to file C, I could use
<c-^>
to jump to alternate file, in this case, I will be able to jump from file C to file B.But the above behaviour doesn't work in the following cases:
Vaffle %
on file B and pressing enter in Vaffle buffer. This opens file B again which is expected, but removes file A (alternate file buffer).q
in Vaffle quits it but using<c-^>
restores Vaffle window rather file A (which is the actual alternate file).Details:
The text was updated successfully, but these errors were encountered: