👨‍💻 about me home CV/Resume News 🖊️ Contact Github LinkedIn I’m a Haskeller 🏆 Best of LuaX pub bang ypp panda lsvg Fizzbuzz Calculadoira TPG todo pwd rrpi

PassWord plugin for Vim

PassWord plugin for Vim

This Vim plugin helps managing password lists within Vim in a very basic but efficient way.

The latest version of pwd can be found here: https://github.com/CDSoft/pwd

It's based on:

Installation

pwd is distributed as a Vimball archive.

Usage

File type

Files named *.pwd are open with the pwd plugin.

Syntax

Shortcuts


Keyboard Mouse Description


F5 Creates a new entry


F8 generates a password with letters and digits (1)


Alt-F8 generates a password with letters, digits and special characters (2)


F7 Double click copies the word under the cursor to the clipboard and starts the browser if a URL is found


Encryption

It may be wise to encrypt your password file. Vim can do it with the '-x' option.

« gvim -x file.pwd » decrypts file.pwd when it is open and encrypts it when it is saved.

Or save your file into an encrypted container.

Warning: no encryption is available on NeoVim.

Example

A password file may look like this:

Home {{{
    ISP {{{
        user my_user_name
        pass oeToob7J (fake password generated with <F8> ;-)
    }}}
    Bank {{{
        account 123456789
        pass 123456789
    }}}
}}}
Work {{{
    ...
}}}

License

Copyright © 2013, 2016, 2017, 2019, 2020, 2024 Christophe Delord (cdelord.fr)

This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.


  1. The password generator uses pwgen (« apt-get install pwgen » on debian or « dnf install pwgen » on fedora). If pwgen is not found, an internal generator written in Vim script is used (may not be as strong as pwgen).↩︎

  2. The password generator uses pwgen (« apt-get install pwgen » on debian or « dnf install pwgen » on fedora). If pwgen is not found, an internal generator written in Vim script is used (may not be as strong as pwgen).↩︎