Skip to content

Instantly share code, notes, and snippets.

@sigwyg
Created July 1, 2011 11:39
Show Gist options
  • Save sigwyg/1058365 to your computer and use it in GitHub Desktop.
Save sigwyg/1058365 to your computer and use it in GitHub Desktop.
VimShell-sshでリモート接続中、vimでファイルを開くと出現するerror文。Enter押すと何も起こらず、ローカル側のvimshellにカーソルが戻っている。リモートのシェル画面は健在で、カーソルを戻すと操作可能。
[1]vimshell [utf-8][unix] 23,1-37 All iexe-ssh@6 [utf-8][unix] 5,21 All
Error detected while processing function vimshell#execute_current_line..vimshell#int_mappings#execute_line..<SNR>131_execute_history..vimshell#inter
active#execute_pty_inout..vimshell#hook#call_filter..vimshell_ssh#pre:
line 12:
E684: list index out of range: 1
E15: Invalid expression: split(chunk, "\n")[1]
line 13:
E121: Undefined variable: dir
E116: Invalid arguments for function substitute(dir, "\r", '', '')
E15: Invalid expression: substitute(dir, "\r", '', '')
line 16:
E121: Undefined variable: dir
E116: Invalid arguments for function printf('new scp://%s//%s/%s', s:args2hostname(b:interactive.args), dir, file)
E15: Invalid expression: printf('new scp://%s//%s/%s', s:args2hostname(b:interactive.args), dir, file)
Error detected while processing function vimshell#execute_current_line..vimshell#int_mappings#execute_line..<SNR>131_execute_history..vimshell#inter
active#execute_pty_inout..vimshell#interactive#exit:
line 1:
E716: Key not present in Dictionary: is_valid
E15: Invalid expression: !b:interactive.process.is_valid
Press ENTER or type command to continue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment