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
55
.vim/bundle/lusty/tests/single-quote/expect
Normal file
55
.vim/bundle/lusty/tests/single-quote/expect
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
spawn $env(VIM) -N --noplugin -u ../vimrc
|
||||
set timeout 3
|
||||
expect {
|
||||
timeout {exit 1}
|
||||
"VIM - Vi IMproved"
|
||||
}
|
||||
send ":LustyFilesystemExplorer\r"
|
||||
expect ">>"
|
||||
send "'"
|
||||
# Should not have caused a backtrace and "Press ENTER ..." message
|
||||
expect {
|
||||
"Press ENTER" {exit 1}
|
||||
timeout {exit 1}
|
||||
"foo'" # Success
|
||||
}
|
||||
|
||||
# ESC
|
||||
send \033
|
||||
|
||||
send ":LustyFilesystemExplorer\r"
|
||||
expect ">>"
|
||||
send "foo'\r"
|
||||
# Should not have caused a backtrace and "Press ENTER ..." message
|
||||
expect {
|
||||
"Error detected" {exit 1}
|
||||
"E116" {exit 1}
|
||||
"E15" {exit 1}
|
||||
"E32" {exit 1}
|
||||
"Press ENTER" {exit 1}
|
||||
timeout {exit 1}
|
||||
"opened!" # Success -- contents of file
|
||||
}
|
||||
|
||||
send ":LustyBufferExplorer\r"
|
||||
expect ">>"
|
||||
send "'\r"
|
||||
# Should not have caused a backtrace and "Press ENTER ..." message
|
||||
expect {
|
||||
"Error detected" {exit 1}
|
||||
"E116" {exit 1}
|
||||
"E15" {exit 1}
|
||||
"E32" {exit 1}
|
||||
"Press ENTER" {exit 1}
|
||||
timeout {exit 1}
|
||||
"'" # Success
|
||||
}
|
||||
|
||||
send \033
|
||||
send ":q\r"
|
||||
expect {
|
||||
timeout {exit 1}
|
||||
eof
|
||||
}
|
||||
exit 0
|
||||
|
||||
1
.vim/bundle/lusty/tests/single-quote/foo'
Normal file
1
.vim/bundle/lusty/tests/single-quote/foo'
Normal file
|
|
@ -0,0 +1 @@
|
|||
opened!
|
||||
Loading…
Add table
Add a link
Reference in a new issue