Update Vim configuration and use of wpa_passphrase

This commit is contained in:
adrien 2021-04-22 14:50:22 +02:00
parent 0847aaad42
commit efba522b56
2 changed files with 11 additions and 6 deletions

3
.vimrc
View File

@ -1,3 +0,0 @@
syntax on
colo desert
filetype plugin indent on

View File

@ -6,7 +6,6 @@ yay -S spectrwm fish openssh rofi xorg xorg-server scrot xorg-xinit alacritty ra
cp dotfiles/.xinitrc ~/
cp dotfiles/.fehbg ~/
cp dotfiles/.bash_profile ~/
cp dotfiles/.vimrc ~/
cp dotfiles/.tmux.conf ~/
cp dotfiles/.gemrc ~/
chmod +x ~/.fehbg
@ -104,13 +103,15 @@ Some useful links to learn more:
- https://wiki.archlinux.org/index.php/AMDGPU,
- https://wiki.archlinux.org/index.php/Bumblebee.
## Misc
## Miscellaneous
### Generate a WPA-PSK for `netctl` Wi-Fi config files
Copy the value of the `psk` key and paste it in the `netctl` config file and prefix it with `Key=\"`.
```
wpa_passphrase <ssid> <password>
wpa_passphrase <ssid>
# reading passphrase from stdin
<password>
```
### Configure git
@ -119,6 +120,13 @@ git config --global user.name <username>
git config --global user.email <e-mail>
```
### Configure vim
```
echo "syntax on" | sudo tee -a /etc/vimrc
echo "colo desert" | sudo tee -a /etc/vimrc
echo "filetype plugin indent on" | sudo tee -a /etc/vimrc
```
## Specific installations
### Docker