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