Skip to content

tinoschroeter/dotfiles

Repository files navigation

dotfile

Install my new Notebook or sync my setup between all of my computers. ":computer:"

Ansible GitHub Super-Linter last-commit

  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

neovim

Plugin folder

~/.local/share/nvim

vim

: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

helper scripts

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 Tree

.
├── 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

Roles

folder
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
zsh
vim
dotfiles
npm
pip
vm