With autojump set, toggle does not return back to last window
ajayvigneshk opened this issue · 0 comments
ajayvigneshk commented
Describe the bug
With autojump set, toggle does not return back to last window
To Reproduce
Steps to reproduce the behavior:
- Execute
:let g:neoterm_autojump=1
- press
<C-w>v
to create a vertical split - press
<C-w>w
to switch to the other window - Execute
:Ttoggle
- Execute
:Ttoggle
again - Observe that the cursor has returned not to the last window, but the other one
Expected behavior
Cursor should return to the window from which neoterm toggle was executed
Versions (Issues without this information will take longer to be answered/solved):
- OS: macos
- neoterm commit master
- Add all the configuration you have for neoterm
(vim.api.nvim_set_var "neoterm_term_per_tab" 1)
(vim.api.nvim_set_var "neoterm_autoscroll" 1)
(vim.api.nvim_set_var "neoterm_autojump" 1)
(vim.api.nvim_set_var "neoterm_default_mod" :botright)
- Vim or Neovim
- vim
- neovim
- Version [vim --version]