Add a bunch of stuff, change leader key
git-svn-id: http://photonzero.com/dotfiles/trunk@70 23f722f6-122a-0410-8cef-c75bd312dd78
This commit is contained in:
parent
410560d54e
commit
c47f86d55b
90 changed files with 9641 additions and 1653 deletions
0
.vim/bundle/lusty/tests/longest-common-prefix/abc
Normal file
0
.vim/bundle/lusty/tests/longest-common-prefix/abc
Normal file
1
.vim/bundle/lusty/tests/longest-common-prefix/dir/abc
Normal file
1
.vim/bundle/lusty/tests/longest-common-prefix/dir/abc
Normal file
|
|
@ -0,0 +1 @@
|
|||
switched
|
||||
1
.vim/bundle/lusty/tests/longest-common-prefix/dir/def
Normal file
1
.vim/bundle/lusty/tests/longest-common-prefix/dir/def
Normal file
|
|
@ -0,0 +1 @@
|
|||
content
|
||||
69
.vim/bundle/lusty/tests/longest-common-prefix/expect
Normal file
69
.vim/bundle/lusty/tests/longest-common-prefix/expect
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
spawn $env(VIM) -N --noplugin -u ../vimrc
|
||||
set timeout 3
|
||||
expect {
|
||||
timeout {exit 1}
|
||||
"VIM - Vi IMproved"
|
||||
}
|
||||
send ":e abc\r"
|
||||
send ":e dir/abc\r"
|
||||
send ":e dir/def\r"
|
||||
expect {
|
||||
"Press ENTER" {exit 1}
|
||||
"Error" {exit 1}
|
||||
"Warning" {exit 1}
|
||||
timeout {exit 1}
|
||||
"content" # Success
|
||||
}
|
||||
|
||||
send ":LustyBufferExplorer\r"
|
||||
expect {
|
||||
"Press ENTER" {exit 1}
|
||||
"Error" {exit 1}
|
||||
"Warning" {exit 1}
|
||||
timeout {exit 1}
|
||||
">>"
|
||||
}
|
||||
|
||||
send "dir/def\r"
|
||||
sleep 1
|
||||
expect {
|
||||
"Press ENTER" {exit 1}
|
||||
"Error" {exit 1}
|
||||
"Warning" {exit 1}
|
||||
timeout {exit 1}
|
||||
"NO MATCHES" # Success
|
||||
}
|
||||
|
||||
# ESC
|
||||
send \033
|
||||
|
||||
send ":LustyBufferExplorer\r"
|
||||
expect {
|
||||
"Press ENTER" {exit 1}
|
||||
"Error" {exit 1}
|
||||
"Warning" {exit 1}
|
||||
timeout {exit 1}
|
||||
">>"
|
||||
}
|
||||
|
||||
send "dir/abc\r"
|
||||
sleep 1
|
||||
expect {
|
||||
"Press ENTER" {exit 1}
|
||||
"Error" {exit 1}
|
||||
"Warning" {exit 1}
|
||||
"NO MATCHES" {exit 1}
|
||||
timeout {exit 1}
|
||||
"switched" # Success
|
||||
}
|
||||
|
||||
# ESC
|
||||
send \033
|
||||
|
||||
send ":qa!\r"
|
||||
expect {
|
||||
timeout {exit 1}
|
||||
eof
|
||||
}
|
||||
exit 0
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue