Skip to content

Instantly share code, notes, and snippets.

View carlca's full-sized avatar

Carl Caulkett carlca

  • London, England
View GitHub Profile
@carlca
carlca / .vimrc.bundles
Last active September 11, 2018 21:13
Tweak to .vimrc.bundles from spf13-vim to allow the use of shougo/deoplete.nvim
" Modeline and Notes {
" vim: set sw=4 ts=4 sts=4 et tw=78 foldmarker={,} foldlevel=0 foldmethod=marker spell:
"
" __ _ _____ _
" ___ _ __ / _/ |___ / __ __(_)_ __ ___
" / __| '_ \| |_| | |_ \ _____\ \ / /| | '_ ` _ \
" \__ \ |_) | _| |___) |_____|\ V / | | | | | | |
" |___/ .__/|_| |_|____/ \_/ |_|_| |_| |_|
" |_|
"
@carlca
carlca / gog.sh
Last active September 4, 2018 21:53
Attempt to provide a one click way of simulating "go get" in Go 1.11
#!/usr/bin/env bash
#
# At the moment this script still uses $GOPATH even though Go Modules removes the need to use $GOPATH.
# I will try to sort this, or anyone else is welcome to change it. Can you alter someone else's gist?
# Who knows!
#
# This script is best run from an alias which can be defined as...
# alias gog='. gog.sh'
# The use of the leading . ensures that the cd command in line 31 will leave the pwd permanently as $clone_folder,
# after the script has finished running.