- PRE INSTALLATION
- TMUX
- NVIM
- CHEATSHEET
- BASH
$ git clone https://github.com/LucaKuechler/Dotfiles ~/.
- Install a awesome terminal font.
- Change the font inside your terminal to 'Hack Nerd Font Mono'.
$ wget https://github.com/pyrho/hack-font-ligature-nerd-font/blob/master/font/Hack%20Regular%20Nerd%20Font%20Complete%20Mono.ttf
- Some scripts require 'unzip' to work.
$ sudo apt install unzip -y
$ sudo pacman -S zip
- All dotfiles are managed with gnu stow.
$ sudo apt install stow -y
$ sudo pacman -S stow
- Rg is needed for telescope to work properly.
$ sudo apt install ripgrep -y
$ sudo pacman -S ripgrep
- If you don't have a tmux configuration file.
$ cd ~/Dotfiles/ && stow tmux
- If you already have a tmux configuration file.
$ mv ~/.tmux.conf ~/.tmux.conf.backup
$ cd ~/Dotfiles/ && stow tmux
- If you don't have a nvim configuration.
$ cd ~/Dotfiles/ && stow nvim
- If you already have a nvim configuration.
$ mv ~/.config/nvim/ ~/.config/nvim-backup
$ cd ~/Dotfiles/ && stow nvim
-
Install all neovim plugins using packer.
-
Open NVIM.
$ nvim
- Install the plugins.
:PackerInstall
- After reopening nvim the configuration should be loaded.
- Install Nodejs (12.x).
$ sudo apt update
$ sudo apt -y install curl dirmngr apt-transport-https lsb-release ca-certificates
$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
$ sudo apt -y install nodejs
- Install pyright.
$ npm i -g pyright
- Installation on OS Level.
$ sudo apt install black, pylint, mypy -y
- Installation trought pip.
$ pip install black, pylint, mypy
- Install cargo to install rust programs.
$ sudo apt install cargo
- Install the stylua formatter.
$ cargo install stylua
- Add the executable file to your path.
$ echo 'export PATH=$PATH:~/.cargo/bin' >> ~/.profile && source ~/.profile
- Install go debugger.
$ git clone https://github.com/go-delve/delve
$ cd delve
$ go install github.com/go-delve/delve/cmd/dlv
$ make build
$ chmod +x dlv
$ mkdir -p ~/.local/share/nvim/debugger/go/delve
$ mv dlv ~/.local/share/nvim/debugger/go/delve
- Install debugger adapter.
$ cd ~/.local/share/nvim/debugger/go/
$ git clone https://github.com/golang/vscode-go
$ cd vscode-go
$ npm install
$ npm run compile
$ chmod +x dist/debugAdapter.js