Skip to content

Instantly share code, notes, and snippets.

@kconragan
kconragan / keyrepeat.shell
Last active October 16, 2025 10:31
Enable key repeat in Apple Lion for Sublime Text in Vim mode
# Mac OS X Lion introduced a new, iOS-like context menu when you press and hold a key
# that enables you to choose a character from a menu of options. If you are on Lion
# try it by pressing and holding down 'e' in any app that uses the default NSTextField
# for input.
#
# It's a nice feature and continues the blending of Mac OS X and iOS features. However,
# it's a nightmare to deal with in Sublime Text if you're running Vintage (Vim) mode,
# as it means you cannot press and hold h/j/k/l to move through your file. You have
# to repeatedly press the keys to navigate.
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active December 6, 2025 11:50
Conventional Commits Cheatsheet
@CFelipezapata
CFelipezapata / macos-same-app-window-cycle.ahk
Last active July 3, 2025 22:24
AHK V2 Script to switch between windows of the same app for autohotkey, like macOS
; ahk V2
; Source: https://gist.github.com/CFelipezapata/f7563d364197936a6673d28ad53b01dc
; Alt + ` : Cycle between windows of the same app (like macOS)
!`::{
activeProcess := WinGetProcessName("A")
winList := WinGetList("ahk_exe " activeProcess)
if winList.Length > 1 {
; Activate the last window in the stack (most recently used *other* one)