70 lines
1.8 KiB
Markdown
70 lines
1.8 KiB
Markdown
#pgr-terminal-defaults
|
|
|
|
Run this in TMUX:
|
|
- Debian / Ubuntu
|
|
```bash
|
|
sudo apt install git curl tmux gcc g++ unzip -y
|
|
wget https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.deb
|
|
sudo dpkg -i nvim-linux64.deb
|
|
git clone https://gitlab.deniedgaming.de/-/ide/project/herz/pgr-linux-defaults.git .pgr-linux-defaults
|
|
cd .pgr-linux-defaults
|
|
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
|
|
~/.local/share/nvim/site/pack/packer/start/packer.nvim
|
|
|
|
|
|
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
|
ln ~/.pgr-linux-defaults/.tmux.conf ~/.tmux.conf
|
|
ln -s ~/.pgr-linux-defaults/.tmux ~/.tmux
|
|
tmux source ~/.tmux.conf
|
|
mkdir ~/.config
|
|
ln -s ~/.pgr-linux-defaults/nvim/ ~/.config/nvim
|
|
mkdir ~/.local/share/nvim
|
|
ln -s ~/.pgr-linux-defaults/nvim_plugins/ ~/.local/share/nvim/plugged
|
|
|
|
sudo wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64 -O /usr/local/bin/oh-my-posh
|
|
sudo chmod +x /usr/local/bin/oh-my-posh
|
|
mkdir ~/.poshthemes
|
|
wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/themes.zip -O ~/.poshthemes/themes.zip
|
|
unzip ~/.poshthemes/themes.zip -d ~/.poshthemes
|
|
chmod u+rw ~/.poshthemes/*.omp.*
|
|
rm ~/.poshthemes/themes.zip
|
|
|
|
echo $'eval \"$(oh-my-posh init bash) \"' >> ~/.bashrc
|
|
echo $'eval \"$( oh-my-posh init bash --config ~/.poshthemes/dracula.omp.json)\"' >> ~/.bashrc
|
|
exec bash
|
|
```
|
|
|
|
|
|
TMUX:
|
|
|
|
press prefix + I to install the Plugins
|
|
|
|
press prefix + U to upgrade the Plugins
|
|
|
|
|
|
NeoVIM:
|
|
|
|
:Packer Sync to install / update the Plugins
|
|
|
|
|
|
|
|
NVIM
|
|
leader = " "
|
|
filemanager = <leader> + pv
|
|
telescope = <leader> + pf
|
|
install lsp = :Mason -> select -> i
|
|
|
|
*Most LSPs need NPM installed. I reccomend installing via NVM*
|
|
|
|
|
|
|
|
|
|
|
|
WINDOWS:
|
|
|
|
Requirements:
|
|
|
|
Lua und gcc setup
|
|
copy nvim folder to
|
|
```C:\Users\<user>\AppData\Local\nvim```
|