From 863f4b8121a2a76b870ba5efbdaef0b96f3824af Mon Sep 17 00:00:00 2001 From: David Chen Date: Thu, 16 Jan 2020 22:15:11 +0000 Subject: [PATCH] tmux --- .gitignore | 13 ++++++++++--- tmux.conf | 11 +++++++++++ zsh/zshrc | 5 +++-- 3 files changed, 24 insertions(+), 5 deletions(-) create mode 100644 tmux.conf diff --git a/.gitignore b/.gitignore index 6410831..407fc30 100755 --- a/.gitignore +++ b/.gitignore @@ -6,9 +6,9 @@ !/i3/ !/polybar/ !/ranger/ -/ranger/plugins/__pycache__/* -/ranger/colorschemes/__pycache__/* -/ranger/folders.conf +ranger/plugins/__pycache__/* +ranger/colorschemes/__pycache__/* +ranger/folders.conf !/kitty/ !/alacritty/ !/fish/ @@ -30,3 +30,10 @@ !/jesseduffield/ /jesseduffield/lazygit/* !/jesseduffield/lazygit/config.yml +!/tmux.conf + +ranger/colorschemes/__init__.pyo +ranger/colorschemes/default.pyo +ranger/plugins/__init__.pyo +ranger/plugins/devicons.pyo +ranger/plugins/devicons_linemode.pyo \ No newline at end of file diff --git a/tmux.conf b/tmux.conf new file mode 100644 index 0000000..fb6b7bb --- /dev/null +++ b/tmux.conf @@ -0,0 +1,11 @@ +set -g default-terminal "screen-256color" +set -g escape-time 0 +set -g base-index 1 +set -g status-keys vi +setw -g mode-keys vi + +if-shell "test -f /usr/local/lib/python2.7/dist-packages/powerline/bindings/tmux/powerline.conf" \ + "source /usr/local/lib/python2.7/dist-packages/powerline/bindings/tmux/powerline.conf" +if-shell "test -f /usr/local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf" \ + "source /usr/local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf" + diff --git a/zsh/zshrc b/zsh/zshrc index 955eb81..a6d8e33 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -2,10 +2,11 @@ export GOPATH=$HOME/go export PATH=$PATH:$HOME/.gem/ruby/2.6.0 export PATH=$PATH:$HOME/go/bin export PATH=$PATH:/home/linuxbrew/.linuxbrew/bin -export TERM=xterm-256color +#export TERM=xterm-256color export TERM_ITALICS=true export RANGER_LOAD_DEFAULT_RC="false" -#export TERM=screen-256color +export TERM=screen-256color +export EDITOR=nvim #autoload edit-command-line; zle -N edit-command-line #bindkey '^v' edit-command-line