Install my new Notebook or sync my setup between all of my computers. ":computer:"
git clone https://github.com/tinoschroeter/dotfiles.git \
&& cd dotfiles \
&& ./setup
gpg password.txt.gpg
source ~/.zshrc
nvm install 16 # install nodejs 16
~./secrets # stored in bitwarden
# This Setup is idempotent, you can run it as often you want.
./setup run
Plugin folder
~/.local/share/nvim
:X # encrypt files with a password
gg=G # formating code
:set nu! # hide line Number
:50 # go to line Number 50
/search # search type n for next
:%s/this/that/ # replace thist with that
:66,70s/^/# # comment line 66 - 70
:66,70s/^#/ # and reverse
[ctrl] +n or [ctrl] + p key # auto completion
:File | :File! # fuzzy search files
:Ag | :Ag! # fuzzy search code
"+y # Copy to Your System Clipboard
:tabe # open a new tab
gt # switch between tabs
1gt # switch to first tab (rotate)
4gt # seitch to fourth tab
d$ # delete to end of line
di{ # delete inside braces
cw # change word under the cursor
gx # Open file (for file under the cursor)
gf # Go to file (for file under the cursor)
gd # Go to definition (of the word under the cursor)
[Control][b] # Move back one full screen
[Control][f] # Move forward one full screen
[Control][d] # Move forward 1/2 screen
[Control][u] # Move back (up) 1/2 screen
[Control][w] + h || l # switch between split screen
# NerdTree
o # open in prev window
t # open in new tab
T # open in new tab silently
I # toggle hidden files
help() {
/usr/local/bin/cht.sh
}
spell() {
/usr/local/bin/spell.sh
}
reload() {
source ~/.zshrc
}
sync_history() {
/usr/local/bin/sync-zsh-history.js ~/Dropbox/zsh_history
}
.
├── ansible.cfg
├── inventory
├── roles
│ ├── dotfiles
│ │ └── tasks
│ │ └── main.yaml
│ ├── folder
│ │ └── tasks
│ │ └── main.yaml
│ ├── npm
│ │ └── tasks
│ │ └── main.yaml
│ ├── pip
│ │ └── tasks
│ │ └── main.yaml
│ ├── software
│ │ └── tasks
│ │ └── main.yaml
│ ├── system
│ │ └── tasks
│ │ └── main.yaml
│ ├── vim
│ │ └── tasks
│ │ └── main.yaml
│ ├── vm
│ │ └── tasks
│ │ └── main.yaml
│ └── zsh
│ └── tasks
│ └── main.yaml
└── site.yaml
folder
- Setup roles/folder/tasks/main.yaml
- create folder structure
software
- Setup roles/software/tasks/main.yaml
- install docker
- Install utility packages
- Install aws cli
- Install skaffold
- Install kubens
- Install Minikube
- Install kubectl
- Install terraform
- Install helm3
- Install velero
- Install argocd
- Install argo
- Install nvm (Node.js Version Manager)
- Install Slack
- Instal help cheat.sh script
system
- Setup roles/system/tasks/main.yaml
- Set timezone to Europe/Berlin
- Set login shell to zsh
zsh
- Setup roles/zsh/tasks/main.yaml
- Install zsh
- Install Oh My Zsh
- setup some plugins
vim
- Setup roles/vim/tasks/main.yaml
- Install vim
- Setup vim plugins
dotfiles
- Setup roles/dotfiles/tasks/main.yaml
- put .zshrc in place
- put .vimrc in place
npm
- Setup roles/npm/tasks/main.yaml
- install global npm packages
pip
- Setup roles/pip/tasks/main.yaml
- install pip packages
vm
- Setup roles/vm/tasks/main.yaml
- Install virtualbox
- Install vagrant