Firefox has a builtin password manager that really is neccessary today.
You don't want to use the same password for all your communities. But
I haven't found a way to retreive those passwords from the command line.
As a substitue I have an encrypted file where I store account information.
Use vim's -x option for that. Have look at vim's manpage.