From c4521f8def59bf25ea7de55c7c00bd117805f03b Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sun, 4 Dec 2016 16:39:59 -0500 Subject: [PATCH] Extends vimrc and installs autojump --- configs/.vimrc | 12 ++++++++---- configs/.zsh_profile | 5 +++++ 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/configs/.vimrc b/configs/.vimrc index c65fcfaee..cbb87f113 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 "+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 f80664afc..72200b436 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 +