Skip to content

Instantly share code, notes, and snippets.

View c-my's full-sized avatar
🏠
Working from school

Cai.MY c-my

🏠
Working from school
View GitHub Profile
@c-my
c-my / AutoHotKeyScript.ahk
Last active January 8, 2023 06:30
use blind mode
;============================================================================o
; AHK Script |
; CapsLock Enhancement |
;----------------------------------------------------------------------------o
; |
; Summary: |
;o----------------------o----------------------------------------------------o
;|CaspLock + ` | {CapsLock}CapsLock Switcher as a Substituent |
;|CapsLock + hjkl wb ud | Vim-Style Cursor Mover |
;|CaspLock + io | Convient Home/End |
@c-my
c-my / autoload.lua
Last active January 6, 2020 03:45
mpv-settings
-- This script automatically loads playlist entries before and after the
-- the currently played file. It does so by scanning the directory a file is
-- located in when starting playback. It sorts the directory entries
-- alphabetically, and adds entries before and after the current file to
-- the internal playlist. (It stops if the it would add an already existing
-- playlist entry at the same position - this makes it "stable".)
-- Add at most 5000 * 2 files when starting a file (before + after).
--[[
To configure this script use file autoload.conf in director script-opts (the "script-opts"