Skip to content

Instantly share code, notes, and snippets.

View my_configs.vim
let g:NERDTreeNodeDelimiter = "\u00a0"
nnoremap \ ,
View config.lua
-- private/config.lua
-- Specify Spoons which will be loaded
hspoon_list = {
-- "AClock",
-- "BingDaily",
-- "Calendar",
-- "CircleClock",
-- "ClipShow",
"CountDown",
-- "FnMate",
View karabiner-for-emacs.json
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
View getsheets.py
# -*- coding: utf-8 -*-
import click
import os
import pandas as pd
def file_split(file):
s = file.split('.')
name = '.'.join(s[:-1]) # get directory name
View init.lua
local cmdalt = {"cmd", "alt"}
local capslock = {'cmd', "alt", "shift", "ctrl"}
-- Set grid size.
hs.grid.GRIDWIDTH = 4
hs.grid.GRIDHEIGHT = 6
hs.grid.MARGINX = 0
hs.grid.MARGINY = 0
hs.window.animationDuration = 0
@scottming
scottming / capslock.ahk
Last active Jun 1, 2020
; Autohotkey Capslock Remapping Script
View capslock.ahk
; Autohotkey Capslock Remapping Script
; - Deactivates capslock for normal (accidental) use.
; - Hold Capslock and drag anywhere in a window to move it (not just the title bar).
; - Access the following functions when pressing Capslock:
;Cursor keys - h, j, k, l
;Home,End - N, ;
;Page up,down - - =
;Esc - CapsLock only
;CapsLock - Space