summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2016-02-29 20:17:14 -0500
committerThibaut Horel <thibaut.horel@gmail.com>2016-02-29 20:17:45 -0500
commit42a68b98bacc30428466fb3cc1ee8b3687a3f14b (patch)
tree65a6fde886cbb2342fa1841de728b2ae1683a9a3
parent6922101af031fff3ed464c1472936b8ab8ac0fbe (diff)
downloaddotfiles-42a68b98bacc30428466fb3cc1ee8b3687a3f14b.tar.gz
Go config
-rw-r--r--git/.gitconfig1
-rw-r--r--vim/.vimrc9
-rw-r--r--zsh/.zshrc9
3 files changed, 18 insertions, 1 deletions
diff --git a/git/.gitconfig b/git/.gitconfig
index 5f03756..eb93fc9 100644
--- a/git/.gitconfig
+++ b/git/.gitconfig
@@ -7,6 +7,7 @@
editor = vim
excludesfile = ~/.git_ignore
whitespace = cr-at-eol
+ quotepath = false
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
[push]
diff --git a/vim/.vimrc b/vim/.vimrc
index 11f9e42..a3cdf13 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -1,3 +1,4 @@
+"
" basic plugin/ syntax support
execute pathogen#infect()
filetype plugin indent on
@@ -121,3 +122,11 @@ let g:pymode_utils_whitespaces = 0
autocmd CursorMovedI * if pumvisible() == 0|silent! pclose|endif
autocmd InsertLeave * if pumvisible() == 0|silent! pclose|endif
autocmd FileType mail set fo+=aw spell
+
+let g:go_highlight_functions = 1
+let g:go_highlight_methods = 1
+let g:go_highlight_structs = 1
+let g:go_highlight_interfaces = 1
+let g:go_highlight_operators = 1
+let g:go_highlight_build_constraints = 1
+let g:go_fmt_command = "goimports"
diff --git a/zsh/.zshrc b/zsh/.zshrc
index a75baf7..18b7cbe 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -28,7 +28,7 @@ CASE_SENSITIVE="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
-plugins=(git archlinux python vi-mode)
+plugins=(git archlinux python vi-mode fasd)
source $ZSH/oh-my-zsh.sh
@@ -53,3 +53,10 @@ if [ -f "${HOME}/.gpg-agent-info" ]; then
fi
bindkey '^R' history-incremental-search-backward
+export TERMINAL=urxvtc
+export GOPATH=/home/thibaut/go
+export VISUAL=vim
+export PATH=/home/thibaut/go/bin:$PATH
+
+alias v='f -e gvim'
+alias o='a -e xdg-open'