added gocode, boot2docker to path and edited vimrc filetype
parent
cc68469f17
commit
0c6e0c9a83
|
|
@ -15,6 +15,14 @@ else
|
|||
export WINDOWS="FALSE"
|
||||
fi
|
||||
|
||||
if [-d "/c/Windows" ]; then
|
||||
export BOOT2DOCKER=/usr/local/Cellar/boot2docker/1.6.0/bin
|
||||
else
|
||||
export BOOT2DOCKER=/c/Program\ Files/Boot2Docker\ for\ WIndows/
|
||||
fi
|
||||
|
||||
PATH=${PATH}:${BOOT2DOCKER}
|
||||
|
||||
# if there is a C:/Projects folder on this box then I'm obviously using my work computer
|
||||
if [ -d "/c/Projects" ]; then
|
||||
export WORK="TRUE"
|
||||
|
|
|
|||
13
.vimrc
13
.vimrc
|
|
@ -2,9 +2,13 @@
|
|||
set runtimepath=,$VIMRUNTIME,$VIM/vimfiles,~/Tools/vim
|
||||
let g:ruby_path = ':C:\ruby193\bin'
|
||||
|
||||
|
||||
call pathogen#infect()
|
||||
call pathogen#helptags()
|
||||
|
||||
|
||||
set omnifunc=syntaxcomplete#Complete
|
||||
|
||||
"we don't want vi compatibility AKA Make Vim more useful
|
||||
set nocompatible
|
||||
|
||||
|
|
@ -219,10 +223,13 @@ let g:airline#extensions#branch#empty_message = 'No Branch'
|
|||
let g:airline#extensions#branch#displayed_head_limit = 15
|
||||
" enable/disable fugitive/lawrencium integration >
|
||||
let g:airline#extensions#branch#enabled = 1
|
||||
|
||||
" Enable file type detection
|
||||
filetype plugin on
|
||||
filetype on
|
||||
|
||||
" Automatic commands
|
||||
if has("autocmd")
|
||||
" Enable file type detection
|
||||
filetype on
|
||||
" Treat .json files as .js
|
||||
autocmd BufNewFile,BufRead *.json setfiletype json syntax=javascript
|
||||
" Treat .md files as Markdown
|
||||
|
|
@ -237,8 +244,6 @@ if has("autocmd")
|
|||
autocmd BufRead,BufNewFile *.go setfiletype golang syntax=go
|
||||
endif
|
||||
|
||||
filetype on
|
||||
filetype plugin on
|
||||
|
||||
au GUIEnter * set vb t_vb=
|
||||
|
||||
|
|
|
|||
|
|
@ -36,3 +36,4 @@ git://github.com/groenewege/vim-less.git
|
|||
git://github.com/cakebaker/scss-syntax.vim.git
|
||||
git://github.com/scrooloose/syntastic.git
|
||||
git://github.com/fatih/vim-go.git
|
||||
git://github.com/Blackrush/vim-gocode.git
|
||||
|
|
|
|||
Loading…
Reference in New Issue