From 42a68b98bacc30428466fb3cc1ee8b3687a3f14b Mon Sep 17 00:00:00 2001 From: Thibaut Horel Date: Mon, 29 Feb 2016 20:17:14 -0500 Subject: Go config --- git/.gitconfig | 1 + vim/.vimrc | 9 +++++++++ zsh/.zshrc | 9 ++++++++- 3 files changed, 18 insertions(+), 1 deletion(-) 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' -- cgit v1.2.3-70-g09d2