Shougo/vimfiler — Issue #10: 4 Issues: <CR> on .. , edit_split, open in current dir, and completion error
Author: zhaocai
Created: 2011-12-15 14:41:31+00:00
State: open

Got a few errors after I tried vimfiler yesterday and today. Take your time and I am grateful for your help.

split\_editing
================

[original vimfiler window](https://skitch.com/zhaowu/gtuqh/zhao-cais-macbook-pro.local-vimfiler-explorer-3-) does not stay left and redraw itself well after pressing E key to [split](https://skitch.com/zhaowu/gtuqk/zhao-cais-macbook-pro.local-downloads-workspace-whatareyou.tex). You can check the linked images. The expected behavior whould be staying left and spliting file buffer to the right.

Does not Open in Current Directory
================================
Is this by design? the Vimfiler does not open to the current buffer directory. Even if I use `VimFiler /path/to/somewher`, vimfiler window may still open some other directory and says "Current Directory: file:/path/to/somewhere" on the top.

I tried to map a key to `(vimfiler_cd_vim_current_dir)`. But it will/may cause the following error...

\ on ..
==========
Trying to \ parent directory and get the following error message. I think the error might relate to the previous issue.

Error detected while processing function 327_change_directory_file:
line 16:
E716: Key not present in Dictionary: action__path)
E116: Invalid arguments for function vimfiler#resolve( vimfiler#get_file(line('.')).action__path)
E15: Invalid expression: vimfiler#resolve( vimfiler#get_file(line('.')).action__path)

\ Completion Error
=======================

Error Message after `:VimFiler ~/Dow`

>:VimFiler ~/Dow...
Error detected while processing function vimfiler#complete:
line 1:
E121: Undefined variable: path
E116: Invalid arguments for function vimfiler#parse_path(path)
E15: Invalid expression: vimfiler#parse_path(path)
line 2:
E121: Undefined variable: ret
E15: Invalid expression: ret[0]
line 3:
E121: Undefined variable: ret
E15: Invalid expression: ret[1:]
line 12:
E121: Undefined variable: source_name
E116: Invalid arguments for function insert(source_name, source_args)], source_arg, a:cmdline, a:cursorpos)
E116: Invalid arguments for function unite#vimfiler_complete([insert(source_name, source_args)], source_arg, a:cmdl
ine, a:cursorpos)
E15: Invalid expression: unite#vimfiler_complete([insert(source_name, source_args)], source_arg, a:cmdline, a:curso
rpos)