Permalink
Browse files

GOING

  • Loading branch information...
1 parent ab13223 commit 680c2d5276d51c73fc86c9807a1b62a29d2f9087 @fuadsaud committed Nov 28, 2013
Showing with 5 additions and 0 deletions.
  1. +1 −0 vim/bundles.vim
  2. +3 −0 vim/rc.vim
  3. +1 −0 zsh/env.zsh
View
@@ -53,6 +53,7 @@ Bundle 'groenewege/vim-less'
Bundle 'jtratner/vim-flavored-markdown.git'
Bundle 'othree/html5.vim'
Bundle 'derekwyatt/vim-scala'
+Bundle 'jnwhiteh/vim-golang'
Bundle 'altercation/vim-colors-solarized'
Bundle 'vim-scripts/summerfruit256.vim'
View
@@ -75,6 +75,7 @@ if has("autocmd")
autocmd FileType java setlocal ts=4 sts=4 sw=4 expandtab
autocmd FileType cpp setlocal ts=4 sts=4 sw=4 expandtab
autocmd FileType c setlocal ts=4 sts=4 sw=4 expandtab
+ autocmd FileType go setlocal ts=4 sts=4 sw=4 noexpandtab
autocmd BufNewFile,BufRead *.rss setfiletype xml
@@ -92,6 +93,8 @@ if has("autocmd")
autocmd FileType ruby nmap <buffer> <Leader>S <Plug>(seeing_is_believing-run_-x)
autocmd FileType ruby xmap <buffer> <Leader>S <Plug>(seeing_is_believing-run_-x)
autocmd FileType ruby imap <buffer> <Leader>S <Plug>(seeing_is_believing-run_-x)
+
+ autocmd FileType go nmap <buffer> = <Esc>:Fmt<CR>
endif
" enable powerline for airline
View
@@ -77,4 +77,5 @@ fi
export HOMEBREW_CASK_OPTS='--appdir=/Applications'
export JAVA_HOME=`/usr/libexec/java_home -v 1.7`
+export GOPATH="$HOME/.go"

0 comments on commit 680c2d5

Please sign in to comment.