Lines Matching refs:cmd

69                         cmd = '["ex",":"]wrong!["ex","smi"]'
70 print("sending: {0}".format(cmd))
71 self.request.sendall(cmd.encode('utf-8'))
77 cmd = '"unterminated string'
78 print("sending: {0}".format(cmd))
79 self.request.sendall(cmd.encode('utf-8'))
85 cmd = '["ex","missing ]"'
86 print("sending: {0}".format(cmd))
87 self.request.sendall(cmd.encode('utf-8'))
93 cmd = '["ex","let '
94 print("sending: {0}".format(cmd))
95 self.request.sendall(cmd.encode('utf-8'))
97 cmd = 'g:split = 123"]'
98 print("sending: {0}".format(cmd))
99 self.request.sendall(cmd.encode('utf-8'))
107 cmd = '["ex","call append(\\"$\\",\\"added1\\")"]'
108 cmd += '["ex","call append(\\"$\\",\\"added2\\")"]'
109 print("sending: {0}".format(cmd))
110 self.request.sendall(cmd.encode('utf-8'))
113 cmd = '["ex","echoerr \\\"this is an error\\\""]'
114 print("sending: {0}".format(cmd))
115 self.request.sendall(cmd.encode('utf-8'))
123 cmd = '["ex","foo bar"]'
124 print("sending: {0}".format(cmd))
125 self.request.sendall(cmd.encode('utf-8'))
129 cmd = '["normal","G$s more\u001b"]'
130 print("sending: {0}".format(cmd))
131 self.request.sendall(cmd.encode('utf-8'))
135 cmd = '["expr","\\"foo\\" . 123", -1]'
136 print("sending: {0}".format(cmd))
137 self.request.sendall(cmd.encode('utf-8'))
141 cmd = '["expr","\\"foo\x7f\x10\x01bar\\"", -2]'
142 print("sending: {0}".format(cmd))
143 self.request.sendall(cmd.encode('utf-8'))
147 cmd = '["expr","getline(3)", -3]'
148 print("sending: {0}".format(cmd))
149 self.request.sendall(cmd.encode('utf-8'))
153 cmd = '["expr","xxx", -4]'
154 print("sending: {0}".format(cmd))
155 self.request.sendall(cmd.encode('utf-8'))
160 cmd = '["expr","function(\\"tr\\")", -5]'
161 print("sending: {0}".format(cmd))
162 self.request.sendall(cmd.encode('utf-8'))
166 cmd = '["expr","xxx"]'
167 print("sending: {0}".format(cmd))
168 self.request.sendall(cmd.encode('utf-8'))
172 cmd = '["expr","setline(\\"$\\", [\\"one\\",\\"two\\",\\"three\\"])"]'
173 print("sending: {0}".format(cmd))
174 self.request.sendall(cmd.encode('utf-8'))
177 cmd = '["call","MyFunction",[1,2,3], 0]'
178 print("sending: {0}".format(cmd))
179 self.request.sendall(cmd.encode('utf-8'))
182 cmd = '["redraw",""]'
183 print("sending: {0}".format(cmd))
184 self.request.sendall(cmd.encode('utf-8'))
187 cmd = '["redraw","force"]'
188 print("sending: {0}".format(cmd))
189 self.request.sendall(cmd.encode('utf-8'))
192 cmd = '[]'
193 print("sending: {0}".format(cmd))
194 self.request.sendall(cmd.encode('utf-8'))
200 cmd = '[0,"we called you"]'
201 print("sending: {0}".format(cmd))
202 self.request.sendall(cmd.encode('utf-8'))
205 cmd = '[0,"we did call you"]'
206 print("sending: {0}".format(cmd))
207 self.request.sendall(cmd.encode('utf-8'))
210 cmd = '[0,"zero index"]'
211 print("sending: {0}".format(cmd))
212 self.request.sendall(cmd.encode('utf-8'))