Skip to content

Instantly share code, notes, and snippets.

View s-taylor's full-sized avatar

Simon Taylor s-taylor

View GitHub Profile
@s-taylor
s-taylor / compile-alacritty-windows.md
Created May 15, 2020 06:44
How to compile Alacritty from source in Windows
@s-taylor
s-taylor / au.lua
Created June 23, 2022 05:27 — forked from numToStr/au.lua
Neovim autocmd in lua
--
-- Move this file to your neovim lua runtime path ie. ~/.config/nvim/lua/au.lua
--
local cmd = vim.api.nvim_command
local function autocmd(this, event, spec)
local is_table = type(spec) == 'table'
local pattern = is_table and spec[1] or '*'
local action = is_table and spec[2] or spec
if type(action) == 'function' then