t9md / atom-vim-mode-plus

vim-mode improved
https://atom.io/packages/vim-mode-plus
MIT License
1.4k stars 111 forks source link

Moving focus from Project pane closes current tab when using keyboard #1127

Open jdswift opened 5 years ago

jdswift commented 5 years ago

Details: When navigating multiple windows via the keyboard in regular Vim one can move using ctl+w h (to move to left window) and ctl+w l (to move to right right window). However, if I move into the Project navigation pane and try to move back the currently open tab closes, likely because Atom's default close is ctl+w.

Steps to reproduce:

  1. Open a file and press ctl+w v to split the window vertically.
  2. Observe one can switch between panes by pressing ctl+w l or ctl+w h without issues.
  3. When in the left pane press ctl+w h to move into the project pane.
  4. Instead of selecting a file to open attempt to move back to edit the current file by pressing ctl+l. Observe the current tab closes instead.

Expected result: If pressing ctl+w l in the Project pane the curser moves back into the pane next to the project pane.

Execute Vim Mode Plus: Clip Debug Info(which write info to clipboard) then paste here.

Note: Sorry, I'm a veteran of vim but new to Atom so I don't know how to enter commands in Atom with atom-vim-mode-plus installed.