Extends vimrc and installs autojump
This commit is contained in:
parent
37dcbc595d
commit
c4521f8def
2 changed files with 13 additions and 4 deletions
|
@ -298,12 +298,13 @@ let g:syntastic_javascript_checkers = ['gjslint']
|
||||||
|
|
||||||
" Basic settings
|
" Basic settings
|
||||||
set number
|
set number
|
||||||
|
set wrap!
|
||||||
set tabstop=2
|
set tabstop=2
|
||||||
set expandtab
|
set expandtab
|
||||||
set shiftwidth=2
|
set shiftwidth=2
|
||||||
|
set background=dark
|
||||||
|
|
||||||
syntax enable
|
syntax enable
|
||||||
set background=dark
|
|
||||||
colorscheme OceanicNext
|
colorscheme OceanicNext
|
||||||
|
|
||||||
set history=1000
|
set history=1000
|
||||||
|
@ -344,9 +345,12 @@ vnoremap <C-v> "+p
|
||||||
|
|
||||||
|
|
||||||
" Manage 80 char line limits
|
" Manage 80 char line limits
|
||||||
highlight OverLength ctermbg=White ctermfg=Black
|
highlight OverLength1 ctermbg=Magenta ctermfg=Black
|
||||||
match OverLength /\%81v.\+/
|
highlight OverLength2 ctermbg=LightMagenta ctermfg=Black
|
||||||
set wrap!
|
highlight OverLength3 ctermbg=White ctermfg=Black
|
||||||
|
" match OverLength3 /\%81v.\+/
|
||||||
|
match OverLength2 /\%91v.\+/
|
||||||
|
" match OverLength3 /\%101v.\+/
|
||||||
|
|
||||||
|
|
||||||
" Toggle word-wrapping
|
" Toggle word-wrapping
|
||||||
|
|
|
@ -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
|
# RE: http://superuser.com/questions/588846/cannot-get-vim-to-remap-ctrls-to-w
|
||||||
stty -ixon
|
stty -ixon
|
||||||
|
|
||||||
|
|
||||||
|
# Run Autojump at shell startup
|
||||||
|
[[ $(brew --prefix)/etc/profile.d/autojump.sh ]] && \
|
||||||
|
. $(brew --prefix)/etc/profile.d/autojump.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue