I created a new repository in Github to share my vimfiles.
But there's some problems. In the vimrc file, I put some secret informations there to use some plugins.
For example, to use TwitVim( a Twitter client for Vim ), I should add the following codes.
let twitvim_login = "user:pass"
So every time I want to push my vimrc to Github, I have to delete them, and then add them again.
How could I avoid this. Is there any good solution to make this easier?
Create a file called .secretpass
and add
let twitvim_login = "user:pass"
in that file, in your .vimrc
do;
source .secretpass
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With