2014-11-20 14:00:36 +00:00
|
|
|
Before (check :Startify):
|
2014-11-20 13:41:01 +00:00
|
|
|
Startify
|
|
|
|
|
2014-11-20 14:00:36 +00:00
|
|
|
Execute (check options):
|
2014-11-20 13:41:01 +00:00
|
|
|
AssertEqual 'startify', &filetype
|
|
|
|
AssertEqual 'wipe', &bufhidden
|
|
|
|
AssertEqual 'nofile', &buftype
|
|
|
|
AssertEqual 0, &buflisted
|
|
|
|
AssertEqual 0, &cursorcolumn
|
|
|
|
AssertEqual 0, &cursorline
|
|
|
|
AssertEqual 0, &list
|
|
|
|
AssertEqual 0, &number
|
|
|
|
AssertEqual 0, &swapfile
|
|
|
|
|
2014-11-20 14:00:36 +00:00
|
|
|
Do (open new buffer in insert mode via 'i'):
|
2014-11-20 13:41:01 +00:00
|
|
|
ifoo
|
|
|
|
Expect (only "foo"):
|
|
|
|
foo
|
|
|
|
|
2014-11-20 14:00:36 +00:00
|
|
|
Do (open new buffer in normal mode via 'e'):
|
2014-11-20 13:41:01 +00:00
|
|
|
eibar
|
|
|
|
Expect (only "bar"):
|
|
|
|
bar
|
2014-11-20 14:00:36 +00:00
|
|
|
|
|
|
|
Given:
|
|
|
|
quux
|
2014-11-20 15:50:38 +00:00
|
|
|
Do (quit startify buffer via 'q'):
|
2014-11-20 14:00:36 +00:00
|
|
|
q
|
|
|
|
Expect:
|
|
|
|
quux
|