Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With autojump set, toggle does not return back to last window #336

Open
1 of 2 tasks
ajayvigneshk opened this issue Dec 25, 2021 · 0 comments
Open
1 of 2 tasks

With autojump set, toggle does not return back to last window #336

ajayvigneshk opened this issue Dec 25, 2021 · 0 comments
Labels

Comments

@ajayvigneshk
Copy link

ajayvigneshk commented Dec 25, 2021

Describe the bug
With autojump set, toggle does not return back to last window

To Reproduce
Steps to reproduce the behavior:

  1. Execute :let g:neoterm_autojump=1
  2. press <C-w>v to create a vertical split
  3. press <C-w>w to switch to the other window
  4. Execute :Ttoggle
  5. Execute :Ttoggle again
  6. 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]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant