From 36e2f4e8da7dff996b0e4f526c4a89f32ff870f3 Mon Sep 17 00:00:00 2001 From: Jacob Bohanon Date: Thu, 15 Sep 2022 07:07:36 -0400 Subject: [PATCH] add tmux, oh-my-zsh --- .gitmodules | 3 +++ tmux/plugins/tpm | 1 + tmux/tmux.conf | 21 +++++++++++++++++++++ zsh/.oh-my-zsh | 1 + zsh/.zshrc | 1 + 5 files changed, 27 insertions(+) create mode 100644 .gitmodules create mode 160000 tmux/plugins/tpm create mode 100644 tmux/tmux.conf create mode 160000 zsh/.oh-my-zsh diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..65efe48 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "tmux/plugins/tpm"] + path = tmux/plugins/tpm + url = https://github.com/tmux-plugins/tpm diff --git a/tmux/plugins/tpm b/tmux/plugins/tpm new file mode 160000 index 0000000..b699a7e --- /dev/null +++ b/tmux/plugins/tpm @@ -0,0 +1 @@ +Subproject commit b699a7e01c253ffb7818b02d62bce24190ec1019 diff --git a/tmux/tmux.conf b/tmux/tmux.conf new file mode 100644 index 0000000..47890cd --- /dev/null +++ b/tmux/tmux.conf @@ -0,0 +1,21 @@ +# Set prefix to Ctrl-Space instead of Ctrl-b +unbind C-b +set-option -g prefix C-Space +bind-key C-Space send-prefix + +# Split windows using | and - +unbind '"' +unbind % +bind | split-window -h +bind - split-window -v + +# DON'T paste this line in, if you DON'T want vim keybindings +# Set tmux mode to vi (default is emac) +set-window-option -g mode-keys vi + +# List of plugins +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' + +# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) +run '~/.dotfiles/tmux/plugins/tpm/tpm' diff --git a/zsh/.oh-my-zsh b/zsh/.oh-my-zsh new file mode 160000 index 0000000..ed411d3 --- /dev/null +++ b/zsh/.oh-my-zsh @@ -0,0 +1 @@ +Subproject commit ed411d3ff196e32844409ebe0f8b3e21b0b1c9f6 diff --git a/zsh/.zshrc b/zsh/.zshrc index fb40d5a..1918a80 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -26,6 +26,7 @@ else fi alias pls='sudo' +alias sshdev='ssh jacob@192.168.10.70' alias cddf='cd $HOME/.dotfiles' alias nvdf='nvim $HOME/.dotfiles/README.md'