Skip to content

Instantly share code, notes, and snippets.

View kynrai's full-sized avatar
:octocat:

Steven Lee kynrai

:octocat:
  • Atos UK&I
  • United Kingdom
  • 11:22 (UTC)
View GitHub Profile
@kynrai
kynrai / gist:390c18d5dd5c5f5cf9e2
Last active September 10, 2015 10:12 — forked from cridenour/gist:74e7635275331d5afa6b
Setting up Vim as your Go IDE

Setting up Vim as your Go IDE

The final IDE

Intro

I've been wanting to do a serious project in Go. One thing holding me back has been a my working environment. As a huge PyCharm user, I was hoping the Go IDE plugin for IntelliJ IDEA would fit my needs. However, it never felt quite right. After a previous experiment a few years ago using Vim, I knew how powerful it could be if I put in the time to make it so. Luckily there are plugins for almost anything you need to do with Go or what you would expect form and IDE. While this is no where near comprehensive, it will get you writing code, building and testing with the power you would expect from Vim.

Getting Started

I'm assuming you're coming with a clean slate. For me this was OSX so I used MacVim. There is nothing in my config files that assumes this is the case.

Keybase proof

I hereby claim:

  • I am kynrai on github.
  • I am kynrai (https://keybase.io/kynrai) on keybase.
  • I have a public key ASBER0o0mujpnmC5eXYqrq30fa0B0GTXyPJxF0b8ZkUvQQo

To claim this, I am signing this object:

@kynrai
kynrai / Arch-i3.md
Last active September 25, 2021 12:59
Custom Arch i3-gaps setup on RBS 2019

Arch (i3-gaps) on Rzer Blade 13 2019 MX 150

Prerequisites

  • Disbale secure boot (F12/Del on boot, BIOS)
  • Create UEFI boot disk

Boot from USB

  1. Set UK layout loadkeys uk
@kynrai
kynrai / xorg.log
Created April 22, 2019 21:46
xorg dump
[ 14.776] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[ 14.776]
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[ 14.776] Build Operating System: Linux Arch Linux
[ 14.777] Current Operating System: Linux razer 5.0.8-arch1-1-ARCH #1 SMP PREEMPT Wed Apr 17 14:56:15 UTC 2019 x86_64
[ 14.777] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a917e174-1201-4b02-aa96-cd0ba4e0cdd6 rw quiet
[ 14.777] Build Date: 27 February 2019 04:04:00PM
[ 14.777]
[ 14.777] Current version of pixman: 0.38.4
@kynrai
kynrai / Xorg.0.log
Created April 23, 2019 05:37
Xorg.0.log
[ 9.192] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[ 9.193]
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[ 9.193] Build Operating System: Linux Arch Linux
[ 9.193] Current Operating System: Linux razer 5.0.8-arch1-1-ARCH #1 SMP PREEMPT Wed Apr 17 14:56:15 UTC 2019 x86_64
[ 9.193] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a917e174-1201-4b02-aa96-cd0ba4e0cdd6 rw quiet
[ 9.193] Build Date: 27 February 2019 04:04:00PM
[ 9.193]
[ 9.193] Current version of pixman: 0.38.4