Update files for Go development.
This commit is contained in:
parent
63528751f2
commit
a6c508fcd7
8
.bashrc
8
.bashrc
|
@ -1,7 +1,7 @@
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
# The best editor
|
# 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 .'
|
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
|
# 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
|
# want to connect from the list of the ones contained in ~/.ssh/known_hosts
|
||||||
|
|
3
.vimrc
3
.vimrc
|
@ -50,5 +50,6 @@ map <C-n> :NERDTreeToggle<CR>
|
||||||
" Autocomplete
|
" Autocomplete
|
||||||
let g:neocomplcache_enable_at_startup = 1
|
let g:neocomplcache_enable_at_startup = 1
|
||||||
|
|
||||||
" Use Markdown for .md files
|
" Set filetypes
|
||||||
au BufRead,BufNewFile *.md set filetype=markdown
|
au BufRead,BufNewFile *.md set filetype=markdown
|
||||||
|
au BufRead,BufNewFile *.go set filetype=go
|
||||||
|
|
Loading…
Reference in a new issue