From 784cdc4b06f9ae103778ad2e32b92c6de63bc9a1 Mon Sep 17 00:00:00 2001 From: pg Date: Thu, 15 Dec 2022 12:57:48 +0100 Subject: [PATCH] init --- .tmux.conf | 17 +++++++++++++++++ .tmux/plugins/tmux | 1 + .tmux/plugins/tpm | 1 + README.md | 14 ++++++++++++++ nvim/init.vim | 28 ++++++++++++++++++++++++++++ 5 files changed, 61 insertions(+) create mode 100644 .tmux.conf create mode 160000 .tmux/plugins/tmux create mode 160000 .tmux/plugins/tpm create mode 100644 README.md create mode 100644 nvim/init.vim diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..5568b15 --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,17 @@ +bind -r h resize-pane -L 2 +bind -r j resize-pane -D 2 +bind -r k resize-pane -U 2 +bind -r l resize-pane -R 2 + +#Tmux Plugins +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'dracula/tmux' +set -g @dracula-plugins "cpu-usage ram-usage git time" +set -g @dracula-day-month true +set -g @dracula-show-fahrenheit false +set -g @dracula-day-month true + + + +# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) +run '~/.tmux/plugins/tpm/tpm' diff --git a/.tmux/plugins/tmux b/.tmux/plugins/tmux new file mode 160000 index 0000000..ffc6ef8 --- /dev/null +++ b/.tmux/plugins/tmux @@ -0,0 +1 @@ +Subproject commit ffc6ef8efbe556fa908aee6615f0781348337faa diff --git a/.tmux/plugins/tpm b/.tmux/plugins/tpm new file mode 160000 index 0000000..420656d --- /dev/null +++ b/.tmux/plugins/tpm @@ -0,0 +1 @@ +Subproject commit 420656d265a92365d1a3828dd632f3be114092ad diff --git a/README.md b/README.md new file mode 100644 index 0000000..f2b291c --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +#pgr-terminal-defaults + +Run this in TMUX: +- Debian / Ubuntu +```bash +sudo apt install tmux neovim -y +sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' +git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm +ln .tmux.conf ~/.tmux.conf +tmux source ~/.tmux.conf +ln -s nvim/ ~/.config/nvim +``` + +Then press prefix + I to Install the Tmux Plugins diff --git a/nvim/init.vim b/nvim/init.vim new file mode 100644 index 0000000..025ff5b --- /dev/null +++ b/nvim/init.vim @@ -0,0 +1,28 @@ + +"Plugins +call plug#begin() +"LSP + +"YAML +Plug 'someone-stole-my-name/yaml-companion.nvim' + +"Treesitter +Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} + +"Color +Plug 'NvChad/nvim-colorizer.lua' +Plug 'Mofiqul/dracula.nvim' + +"Jinja2 +Plug 'https://github.com/lepture/vim-jinja' + +call plug#end() + + + +"Jinja2 Settings +au BufNewFile,BufRead *.jn2 set ft=jinja + + +"Make alt work +