Update files for Go development.

This commit is contained in:
Scott Wallace 2014-11-15 17:05:36 +00:00
parent 63528751f2
commit a6c508fcd7
2 changed files with 9 additions and 2 deletions

View file

@ -1,7 +1,7 @@
#--------------------------------------------------------------------------------
# The best editor
#--------------------------------------------------------------------------------
export EDITOR=vi
export EDITOR=vim
#--------------------------------------------------------------------------------
#--------------------------------------------------------------------------------
@ -46,6 +46,12 @@ alias githistory='git log --oneline --abbrev-commit --all --graph --decorate'
alias gitx='open -a GitX .'
#--------------------------------------------------------------------------------
#--------------------------------------------------------------------------------
# Set up GOPATH for Go development
#--------------------------------------------------------------------------------
export GOPATH=${HOME}/src/go
#--------------------------------------------------------------------------------
#--------------------------------------------------------------------------------
# Add bash completion for ssh: it tries to complete the host to which you
# want to connect from the list of the ones contained in ~/.ssh/known_hosts

3
.vimrc
View file

@ -50,5 +50,6 @@ map <C-n> :NERDTreeToggle<CR>
" Autocomplete
let g:neocomplcache_enable_at_startup = 1
" Use Markdown for .md files
" Set filetypes
au BufRead,BufNewFile *.md set filetype=markdown
au BufRead,BufNewFile *.go set filetype=go