about summary refs log tree commit diff
diff options
context:
space:
mode:
-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
+