Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

GOING

  • Loading branch information...
commit 680c2d5276d51c73fc86c9807a1b62a29d2f9087 1 parent ab13223
Fuad Saud authored
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
1  vim/bundles.vim
@@ -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
3  vim/rc.vim
@@ -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
1  zsh/env.zsh
@@ -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"
Please sign in to comment.
Something went wrong with that request. Please try again.