krisajenkins / evil-tabs

Integrating Vim-style tabs for Evil mode users.
MIT License
66 stars 11 forks source link

Make `:q` and `:x` behave consistently with vim. Fixes #16. #20

Open karepker opened 8 years ago

karepker commented 8 years ago

Currently, quitting with :x or :q results in unexpected behavior: if there are two splits on a specific screen (tab) and there is more than one screen, :q: or :x will kill the whole screen. This is inconsistent with the way vim works.

This pull request fixes the behavior of both :q and :x. Previously, evil-tabs did not handle :x at all. This also changes evil-tab-sensitive-quit to evil-tabs-sensitive-quit (plural "tabs") for naming consistency with the rest of the file.

vendethiel commented 8 years ago

Nice ! I think wq also needs fixing. Maybe n and wn as well.

satyanash commented 4 years ago

@krisajenkins Please review?? 🙏