Hello again,

I really like vimb so far but one of the things I miss of dwb is its pwdhash 
plugin.

So I am trying to have vimb hash passwords with pwdhash.rb. I do not know if 
vimb makes it possible to inject a string in a field but I am ok with pasting 
for now. In the future maybe I will try to understand how the formfiller works 
and autopaste. So I have tried:

imap @@ :shellcmd urxvt -e 'pwdhash $VIMB_URI | xsel -b'<CR>

This incurs in two problems. First, vimb does not like the pipe for some reason 
and greets me wit an "Unknown command: xsel" at startup. This is annoying but a 
small script packaging the two commands does the job. This leaves me with:

imap @@ :shellcmd urxvt -e pwd2xsel.sh $VIMB_URI<CR>

The second problem is that I do not understand how imap works. Is the {lhs} 
(i.e. "@@" ) supposed to go in the text area? Because this does nothing. If I 
turn it into a nmap, it works, but annoyingly enough, I have to go from input 
to normal mode and then switch back again to input mode to paste the password.

So here are my questions:

1) Why does vimb not allow pipes with :shellcmd?
2) How to trigger an imap action?

Thanks all,

R.

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
vimb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vimb-users

Reply via email to