epanda wrote:
I have not set any option in my _vimrc.

I have seen why. Can I remap left curso in order it does not open but
just browse like enter key ?



Second question :

I want to use this functions that login me on my ftp:
function! s:login()

        echo "login to ftp website is done"
        call NetUserPass("myftplogin","mypass")
endfunc


It seems it log me but when I call it throught a mapping it does not
open my directory directly. I have to log again :
amenu&Web.Explorer\ Distant.\ Explore.\ Photos             :call
<SID>login()<CR>:tabnew ftp://[email protected]/imgs/<CR>


NetUserPass is intended to let one change the userid and password (for example, if one has two accounts on an ftp server). So it isn't intended to actually open/browse a remote directory.

You can call netrw#NetRead(2,'ftp://host/path') to browse a remote directory.

By "left curso" do you mean the left arrow on your keyboard?  I suppose

 map <left> <return>

would do that.

Regards,
Chip Campbell

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to