about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2016-12-04T21·39-0500
committerWilliam Carroll <wpcarro@gmail.com>2016-12-04T21·39-0500
commitc4521f8def59bf25ea7de55c7c00bd117805f03b (patch)
tree46d1ebf8128acaa90a887de5203a0f64ebdccb8f
parent37dcbc595dc9f0cd809d2e401723900601b1aca7 (diff)
Extends vimrc and installs autojump
-rw-r--r--configs/.vimrc12
-rw-r--r--configs/.zsh_profile5
2 files changed, 13 insertions, 4 deletions
diff --git a/configs/.vimrc b/configs/.vimrc
index c65fcfaeecbb..cbb87f1134f3 100644
--- a/configs/.vimrc
+++ b/configs/.vimrc
@@ -298,12 +298,13 @@ let g:syntastic_javascript_checkers = ['gjslint']
 
 " Basic settings
 set number
+set wrap!
 set tabstop=2
 set expandtab
 set shiftwidth=2
+set background=dark
 
 syntax enable
-set background=dark
 colorscheme OceanicNext
 
 set history=1000
@@ -344,9 +345,12 @@ vnoremap <C-v> "+p
 
 
 " Manage 80 char line limits
-highlight OverLength ctermbg=White ctermfg=Black
-match OverLength /\%81v.\+/
-set wrap!
+highlight OverLength1 ctermbg=Magenta ctermfg=Black
+highlight OverLength2 ctermbg=LightMagenta ctermfg=Black
+highlight OverLength3 ctermbg=White ctermfg=Black
+" match OverLength3 /\%81v.\+/
+match OverLength2 /\%91v.\+/
+" match OverLength3 /\%101v.\+/
 
 
 " Toggle word-wrapping
diff --git a/configs/.zsh_profile b/configs/.zsh_profile
index f80664afcd88..72200b436491 100644
--- a/configs/.zsh_profile
+++ b/configs/.zsh_profile
@@ -43,3 +43,8 @@ source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
 # RE: http://superuser.com/questions/588846/cannot-get-vim-to-remap-ctrls-to-w
 stty -ixon
 
+
+# Run Autojump at shell startup
+[[ $(brew --prefix)/etc/profile.d/autojump.sh ]] && \
+. $(brew --prefix)/etc/profile.d/autojump.sh
+