Fix :x closing Atom instead of the current pane
`x` was being matched with `xall` instead of `xit`, so add an alias.
This commit is contained in:
parent
e2c42a6eeb
commit
ccf6aa22f8
2 changed files with 8 additions and 0 deletions
|
|
@ -485,6 +485,13 @@ describe "the commands", ->
|
|||
submitNormalModeInputText('xit')
|
||||
expect(Ex.wq).toHaveBeenCalled()
|
||||
|
||||
describe ":x", ->
|
||||
it "acts as an alias to :xit", ->
|
||||
spyOn(Ex, 'xit')
|
||||
openEx()
|
||||
submitNormalModeInputText('x')
|
||||
expect(Ex.xit).toHaveBeenCalled()
|
||||
|
||||
describe ":wqall", ->
|
||||
it "calls :wall, then :quitall", ->
|
||||
spyOn(Ex, 'wall')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue