This is just a place where I put things that I often use for work and play.
just useful stuff to both, either append them or add them with source
|---|---|
Command | Description |
---|---|
PlugInstall | [name ...] [#threads ] Install plugins |
PlugUpdate | [name ...] [#threads] Install or update plugin |
PlugClean[!] | Remove unlisted plugins (bang version will clean without prompt) |
PlugUpgrade | Upgrade vim-plug itself |
PlugStatus | Check the status of plugins |
PlugDiff | Examine changes from the previous update and the pending changes |
PlugSnapshot[!] | [output path] Generate script for restoring the current snapshot of the plugins |
--- | --- |
in my current role I have to use windows so all my Linux magic happens on a VM, here's how I set everything up
- Install hyper-v if you don't already have it
- Download your prefered linux distro, I use Ubuntu server
- Setup your instance via hyper-v
- Hyper-v doesn't automatically give the IP of Linux instance because... reasons?
ยฏ\_(ใ)_/
Whatever the reason the instructions to see the IP are here- run this in the terminal
sudo apt-get install "linux-cloud-tools-$(uname -r)"
- you may have to play around with this a bit, install some other stuff and/or restart your machine
- Congratulations now you can get the IP and ssh in
- run this in the terminal
- Next you'll need to mount a shared directory (directory!!!! Not folder, we're engineers not users)
- this URL covers the windows side far better than I can
- https://linuxhint.com/shared_folders_hypver-v_ubuntu_guest/
- You can ignore the Linux step, that's in step 2
- add this to your bashrc
alias msha="sudo mount -t cifs //<computer name>/<path to shared directory> ~/shared -o user=$(whoami),uid=$UID,gid=$(getent group $(whoami) | cut -d ':' -f3)"
- restart your bash and msha should automatically mount the directory
- You'll probably notice that everything has execute, not sure why that is the case yet or how to fix it
- this URL covers the windows side far better than I can