XVimProject / XVim2

Vim key-bindings for Xcode 9
MIT License
2.31k stars 182 forks source link

Is there a dotfiles-automable way to install XVim? #320

Closed danielfalbo closed 3 years ago

danielfalbo commented 3 years ago

I currently use dotbot to bootstrap my dotfiles and the XVim installation is one of the few things I still do manually

jokahata commented 3 years ago

From what I can tell it should be automatable. The one portion that isn't immediately obvious is generating the certificate which I think could be handled with:

https://ss64.com/osx/security-internet.html

danielfalbo commented 3 years ago

Thank you! Yeah, looks like security add-certificate /path/to/certificate is the command line equivalent way. Unfortunately I know nothing about security and how to create the certificate in first place, after a quick look on the internet looks like the certificate could be created in the terminal via openssl. Anyway I'm not going to dive deeper for now, maybe I'll invest more time in this later.

kkharji commented 3 years ago

Thank you! Yeah, looks like security add-certificate /path/to/certificate is the command line equivalent way. Unfortunately I know nothing about security and how to create the certificate in first place, after a quick look on the internet looks like the certificate could be created in the terminal via openssl. Anyway I'm not going to dive deeper for now, maybe I'll invest more time in this later.

Did you figure it out, are you still using the extension :)

danielfalbo commented 3 years ago

Did you figure it out, are you still using the extension :)

I'm still using the extension but I still install it manually every time I reinstall macOS 😅

r-plus commented 3 years ago

I recently add script for CI. https://github.com/XVimProject/XVim2/blob/master/Tools/create_cert.sh

danielfalbo commented 3 years ago

Just reinstalled macOS and tested the script, works like a charm, thank you 😄!