Giter Site home page Giter Site logo

Comments (10)

n0v1c3 avatar n0v1c3 commented on May 29, 2024 2

I think that is the proper Vim solution.

from vira.

mikeboiko avatar mikeboiko commented on May 29, 2024 1

Nice, that looks good!

from vira.

n0v1c3 avatar n0v1c3 commented on May 29, 2024

I completely agree. I also use external password managers and it should be done this way.

from vira.

n0v1c3 avatar n0v1c3 commented on May 29, 2024

I think this will mostly be up to proper config but I like the way that you make it easy for the user to understand. I just wrote the vimscript to do the same thing for my password.

from vira.

n0v1c3 avatar n0v1c3 commented on May 29, 2024

This can also be done using the system function

from vira.

n0v1c3 avatar n0v1c3 commented on May 29, 2024

let g:vira_pass = system("lpass show --password boiko.online") should work

from vira.

mikeboiko avatar mikeboiko commented on May 29, 2024

Oh nice, I like that solution!
I tested it with lastpass and the only extra thing I had to do was strip the '\n' character that lpass was outputting.
let g:vira_user = system('lpass show --username boiko.online')[:-2]

We could probably put an example like this in readme.md. Would you agree?

from vira.

n0v1c3 avatar n0v1c3 commented on May 29, 2024

I have updated the readme.md file and it looks much better now. I completely removed the mention of putting your ASCII password into your files and you just need to know what you are doing if you want to do that.

from vira.

n0v1c3 avatar n0v1c3 commented on May 29, 2024

The code should be usable on both branches right now. If you still cannot get a report when you have a chance make an issue and I will figure it out.

from vira.

n0v1c3 avatar n0v1c3 commented on May 29, 2024

I also added a timeout so it will not completely destroy your vim if the connection goes bad. The captcha is the only thing I can think about but you would need to complete that regardless.

I think I will switch to a new tab with tiny font and use imagemagick to turn the captcha into ASCII art but that will be version 2 of the official release I am sure.

from vira.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.