From e3fccf5fb22151fe803d8b4d5ba52fb01885cccd Mon Sep 17 00:00:00 2001 From: Bill Niblock Date: Tue, 3 Nov 2015 20:38:01 -0500 Subject: [PATCH] Update configs --- install.conf.yaml | 2 +- tmux/tmux.conf | 45 +++++++++++++++++++++++++++++++++++++++++++-- vim/vimrc | 5 ++++- 3 files changed, 48 insertions(+), 4 deletions(-) diff --git a/install.conf.yaml b/install.conf.yaml index 196533c..4468cfc 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -4,7 +4,7 @@ ~/.dotfiles: '' ~/.vim: vim/vim/ ~/.vimrc: vim/vimrc - ~/.vimrc.bundle: vim/vimrc.bundle + ~/.vimrc.bundles: vim/vimrc.bundles ~/.gitconfig: git/gitconfig ~/.gitignore: git/gitignore ~/.tmux.conf: tmux/tmux.conf diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 9be5e35..de7ac42 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -6,15 +6,56 @@ #tmux display things in 256 colors set -g default-terminal "screen-256color" -set -g status-utf8 on #start window numbers at 1 to match keyboard order with tmux window order set -g base-index 1 -set-window-option -g pane-base-index 1 +setw -g pane-base-index 1 #renumber windows sequentially after closing any of them set -g renumber-windows on +#change default delay to be a bit more responsive +set -s escape-time 1 + +###### +# Colors +### + +## Status Bar and Related Items +# Bar itself +set -g status-fg white +set -g status-bg black + +# window list +setw -g window-status-fg cyan +setw -g window-status-bg default +setw -g window-status-attr dim + +setw -g window-status-current-fg white +setw -g window-status-current-bg red +setw -g window-status-current-attr bright + +## Pane Dividers +# set -g pane-border-fg color +# set -g pane-border-bg color +set -g pane-active-border-fg white +set -g pane-active-border-bg yellow + +## Command Line +set -g message-fg red +set -g message-bg black +set -g message-attr bright + +###### +# Status Line +### +set -g status-utf8 on +setw -g monitor-activity on +set -g visual-activity on + +# set -g status-left +# set -g status-right + ###### # Keybinds ### diff --git a/vim/vimrc b/vim/vimrc index b28fd39..46c7723 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -87,7 +87,7 @@ cmap w!! w !sudo tee > /dev/null % nnoremap n :set rnu! " Easy-toggle nohlsearch -nnoremap s :set nohlsearch! +nnoremap h :set nohlsearch! " Edit dotfiles with d " v is for vim @@ -101,3 +101,6 @@ nnoremap dd :tabnew ~/.dotfiles/install.conf.yaml " Remap ESC in insert mode inoremap jk + +" Toggle spell-check +nmap s :set spell!